Posted by Jonathan N. Little on 07/04/06 12:16
Ian Shortman wrote:
> Yes - but when I do that the sidebar ends up below the content:
>
> Header - FooBar
> Content
> Foo
> Bar
> Baz
> Sidebar
> All the
> way
> down
> here
>
Well A URL would certainly be preferable that playing 20 question, but I
bet you problem beside not understanding how foal work is that your
floated element is too far down within the markup. It needs to be before
the content block
<div>Header</div>
<div style="float: left; width: 20%">Side Bar</div>
<div>Content...Lorem ipsum dolor sit amet...</div>
<div style="clear: left">Footer</div>
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|