![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
"Bergamot" <bergamot (AT) visi (DOT) com> wrote in message news:5peu3iFqre6aU1 (AT) mid (DOT) individual.net... yawnmoth wrote: http://www.frostjedi.com/terra/scrip...oat-width.html There is no reason to float both divs. Assuming you want the 2 divs together to take up 100% of the viewport width, don't float the second div and it will take whatever horizontal space is left. No it wont. It's *content* will though. |
#12
| |||
| |||
|
|
rf wrote: "Bergamot" <bergamot (AT) visi (DOT) com> wrote in message don't float the second div and it will take whatever horizontal space is left. No it wont. It's *content* will though. Yes you are correct. It is what I meant, though. |
#13
| |||
| |||
|
|
On 2007-11-07, rf <rf (AT) invalid (DOT) com> wrote: "Bergamot" <bergamot (AT) visi (DOT) com> wrote in message news:5peu3iFqre6aU1 (AT) mid (DOT) individual.net... yawnmoth wrote: http://www.frostjedi.com/terra/scrip...oat-width.html There is no reason to float both divs. Assuming you want the 2 divs together to take up 100% of the viewport width, don't float the second div and it will take whatever horizontal space is left. No it wont. It's *content* will though. No it won't. Its *inline content* will though. |
|
Just give it a left margin to leave room for the float (unless it only has inline content and it doesn't matter). |
![]() |
| Thread Tools | |
| Display Modes | |
| |