•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Site Layout and Usability section within the Web Development category of DaniWeb, a massive community of 361,628 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,190 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Site Layout and Usability advertiser:
Views: 815 | Replies: 4
![]() |
•
•
Join Date: Dec 2007
Posts: 9
Reputation:
Rep Power: 0
Solved Threads: 0
smpl.JPG
I am a beginner with asp.net. I want to make a menu towards the left with content area towards the right. Just simple clicking link in the left frame and displaying data in the right frame.. only that I don't want to use frames and I'd like the menu to not to scroll up with the content on the right. Also, I can't use ajax controls, don't want to use flash and don't know java too well...
In the website I wanted to put link buttons/image buttons in the menu to display data in a gridview.
Any type of approach to do the above is welcome.. css/css2,tables,master pages, little bit of this n that, etc...
Thanks in advance
I am a beginner with asp.net. I want to make a menu towards the left with content area towards the right. Just simple clicking link in the left frame and displaying data in the right frame.. only that I don't want to use frames and I'd like the menu to not to scroll up with the content on the right. Also, I can't use ajax controls, don't want to use flash and don't know java too well...
In the website I wanted to put link buttons/image buttons in the menu to display data in a gridview.
Any type of approach to do the above is welcome.. css/css2,tables,master pages, little bit of this n that, etc...
Thanks in advance
"If it involves programing, it's possible."
Very easy way is use <div id> tags and extern style.css file.
e.g. this code in HTML file:
In header:
Body:
and CSS:
I hope, that I understand right, what you want.
e.g. this code in HTML file:
In header:
<link rel="stylesheet" type="text/css" href="style.css" />
Body:
<body> <div id="container"> <div id="menu"> blah blah </div> <div id="content"> blah blah </div> </div> </body>
and CSS:
#container {
width: 500px;
margin: 0 auto;
}
#menu {
width: 200px;
height: 600px;
float: left;
background-color: #c6d9f0;
}
#content {
width: 300px;
height: 600px;
float: left;
background-color: #ffffff;
}I hope, that I understand right, what you want.
Jabber: lio04(at)jabbim(dot)sk
P.S. Sorry for my English, I am autodidact :)) In school I have only German.
P.S. Sorry for my English, I am autodidact :)) In school I have only German.
e.g. with PHP function inserted in content:
In menu can be
if is file named _articles.php .
php Syntax (Toggle Plain Text)
<?php $menu = $_GET['menu']; if ($menu=="") $menu=index; $filename="_".$menu.".php"; include "$filename"; ?>
In menu can be
<a href="index.php?menu=articles">Articles</a><br>if is file named _articles.php .
Last edited by peter_budo : Mar 24th, 2008 at 3:22 pm. Reason: Keep It Organized - please use [code] tags
Jabber: lio04(at)jabbim(dot)sk
P.S. Sorry for my English, I am autodidact :)) In school I have only German.
P.S. Sorry for my English, I am autodidact :)) In school I have only German.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Site Layout and Usability Marketplace
Similar Threads
- Text Repeating in IE in 2-Col Layout (HTML and CSS)
- special keys as inputs (Game Development)
Other Threads in the Site Layout and Usability Forum
- Previous Thread: drop down menu problem in IE
- Next Thread: Dreamweaver CS3 Layout Issues


Linear Mode