How can I arrange contorls on my webpage
I need to arrange my web page controls in the following arrangment:
header
leftcontent-content-righ开发者_如何学PythontContent
footer
is there any control that helps me do that? not a table because it's not resizable?
You need to implement div based
design and handle through CSS
Have a look at this http://www.winstonprakash.com/articles/netbeans/FixedPageLayout.html
http://www.colorplexstudios.com/articles/div_web_design_tutorial/
This can be accomplished by using div tags and css. No special controls are required.
Here are some examples that are easy to adapt and learn from. http://www.code-sucks.com/css%20layouts/
Hope it helps!
I think you need a simple web layout control that can help you accomplish what you're designing easily without worrying about size of each panel, it helps you do that, exactly the way you want, here's the link:
http://www.zettacube.com/Products/ZeeWebLayout.aspx
and you can see online demo here:
http://demo.zettacube.com/Products/ZeeControls2/
and you can have a free license for WebLayoutLite.
You should use div tag to part your web page into intended sections and design these divs in css file. Following example is for you. in your page under the body tag write these divs--
enter code here
<body>
<div id="leftContent">
</div>
<div id="mainContent">
</div>
<div id="rightContent">
</div>
</body>
Then go to your css file (I assume you know about css file and its link to the html file) #leftcontent { background color:#fff; float:left; width:200px; height:800px; } #mainContent { background color:#fff; width:800px; height:800px; } #rightContent { background color:#fff; float:right; width:200px; height:800px; }
精彩评论