Jump to content

[SOLVED] Float


unidox

Recommended Posts

I am trying to make my website css and divs only. The problem is, my floats are messed up.

 

I have 5 columns,

 

left | spacer1 | content | spacer2 | right

 

left, spacer1, content, spacer2 all have float: left, and right has float: right.

 

This is my html:

 

<div id="left"></div>
<div id="sep_left"></div>
<div id="center"></div>
<div id="sep_right"></div>
<div id="right"></div>

 

When I view the site, it shows like this:

 

left | content | spacer1 | spacer2 | right

 

Whats wrong? Thanks

Link to comment
https://forums.phpfreaks.com/topic/116786-solved-float/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.