Posted by vito on 05/05/06 17:59
>> p1 text p2 text
>> p1 text p2 text
>> p1 text
>> p1 text p3 text
>> p1 text p3 text
>>
> Search for "two column layout css".
After adopting the following style, i somehow achieve the effect of
separating left & right blocks. however, i find when a browser window is
rescaled to a smaller size, the right one will shift towards the bottom of
the left part. is that the keyword "float" producing the result? how can i
"fix" the right block? thanks.
#nav{
float:left;
width:240px;
}
#main {
float:right;
width:500px;
}
[Back to original message]
|