I did some funky float stuff here:
http://my.spamtrap.net.au/join/howitworks/
content is floated to the right and has a fixed width. Inside content is another right floated box with a quote in it.
Because of content's fixed width, navigation moves up as its width is less than container width minus content width.
If I wanted to put content on the left and nav on the right, I could float : left; on content, float : right; on nav.
Cheers James
russ weakley wrote:
Imagine floats as being similar to the old align="right".*****************************************************
For example, you have a block of content and an image. If you want the image to align right beside the content it must be before the content.
Floats work in exactly the same way. To quote: "Block level elements above a floated element will not be affected by it. However, elements below will wrap around the floated element" http://css.maxdesign.com.au/floatutorial/introduction.htm
Block level element above a floated element ignore the floated element: http://css.maxdesign.com.au/floatutorial/introduction16.htm
Block level element below a floated element is affected by the floated element: http://css.maxdesign.com.au/floatutorial/introduction17.htm
Makes sense? Russ
The discussion list for http://webstandardsgroup.org/
*****************************************************
