Divs - I am one

Soldato
Joined
24 Nov 2002
Posts
16,379
Location
38.744281°N 104.846806°W
I'm trying to do something incredibly simple in css:

Code:
................header.................
   blah
.................body...................
                 <hr>
left column           right column
                 <hr>
................content................
blah blah
blah
................/content................
................./body...................
.................footer..................

It all works fine in IE, but in Opera/Safari/Mozilla, the pre-content body comes out like:

Code:
                 <hr>
left column   <hr>  right column
                 content................

Using:

Code:
<div id="hr" style="width: 727px;"><hr></div>
<div id="top" style="width: 727px;">
<div align="left" id="leftcolumn" style="float:left;">
blah
</div>
<div align="right" id="right column" style="float:right;">
blah
</div>
</div>
<div id="hr" style="width: 727px;"><hr></div>
<div id="content">
 
Last edited:
Ah right, cool :D I didn't notice you'd already said "<div id="hr" style="width: 727px;"><hr></div>" in your original post - I thought there was some technical reason paul did it like that. Now I'm being a div :p
 
furnace said:
Ah right, cool :D I didn't notice you'd already said "<div id="hr" style="width: 727px;"><hr></div>" in your original post - I thought there was some technical reason paul did it like that. Now I'm being a div :p
Believe me - your divyness does not match mine. You'd have to try really hard and fail lots and lots.
 
Last edited:
Back
Top Bottom