Previous Message
Next Message

Re: [css-d] left-floating side by side elements etc

Sent by Gerhard Schoening on 17 July 2002 20:08


Hello Tom,

On Thursday, July 18, 2002 at 00:31 you wrote:

> I've been trying to come up with a CSS design that has 2 div's side
> by side, by left floating them and setting width percentages

Don't know if that will be of any help for you (my test page
has content on the left and navigation / links on the right)
but I solved my problems by assigning the two DIVs a total
width < 100%:

[excerpt]

#content { float : left; width : 66%; ...}

#rightcolumn { float : left; width : 32%; ...}

to avoid potential rounding errors (?!).


http://www.schoening-online.de/test/lorem_ipsum4.html

http://www.schoening-online.de/test/lo_ip4.css


-- 
Regards,

Gerhard

~.~.~.~.~.~.~.~.~
Gerhard Schoening
Community & Portal Websites in PHP & MySQL
http://www.cp-web.com
Bilingual Web Design and Programming
http://www.schoening-online.com
Previous Message
Next Message

Message thread: