On 17'' and 19'' screen it looks nice. How I could catch the bug?
Please help.
+2
A:
I'm assuming you don't want the content area to be as wide as the whole maximized browser window?
you need to give your #wrapper div a set width, then all the other divs can assume a width of 100% from it.
For example,
#wrapper
{
margin-left: auto;
margin-right:auto;
width:960px;
}
TheGeekYouNeed
2010-05-18 07:13:10
+1 as looking at the example this seems to be what the question is about.
Sohnee
2010-05-18 07:17:54
You also need to apply a clearfix to your wrapper div.
TheGeekYouNeed
2010-05-18 07:37:24
I (customer) want it to be max width. left part fixed, right part the rest of screen
Describer
2010-05-18 09:27:59
A:
Try something like this:
<html>
<body style="margin:0px;">
<div style="padding-left:50px;text-align:left;">
<div style="border:solid 1px red;width:100%;">content here</div>
</div>
</body>
</html>
Zsolti
2010-05-18 10:28:41