![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
To clear both of side I use this code: hr.clear{ display:block; clear:both; visibility:hidden; height:0; border-width:0; margin:0; padding:0; } But why IE adding some space after <hr> ? In Firefox 1.0 and Opera working very well. There is no space. I guess this is from Eric Meyer's float-in-float example. He has another |
#3
| |||
| |||
|
|
I guess this is from Eric Meyer's float-in-float example. He has another clearer there, built of a <div>. Use the latter one. |
#4
| |||
| |||
|
|
Chris Leipold <cleipold (AT) dietzk (DOT) de> wrote: I guess this is from Eric Meyer's float-in-float example. He has another clearer there, built of a <div>. Use the latter one. I came upon another technique described in http://www.positioniseverything.net/easyclearing.html |
#5
| |||
| |||
|
|
Cezar wrote: hr.clear{ display:block; clear:both; visibility:hidden; height:0; border-width:0; margin:0; padding:0; } But why IE adding some space after <hr> ? It's probably IE's broken overflow behavior. overflow:hidden might fix it, at least in some versions of IE. Thanks. I'll check it. |
![]() |
| Thread Tools | |
| Display Modes | |
| |