Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / November 2004



Tip: Looking for answers? Try searching our database.

hr+clear space+IE

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cezar - 22 Nov 2004 01:27 GMT
Hi!

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.

Signature

Regards,
Cezar

Chris Leipold - 22 Nov 2004 13:54 GMT
Hi,

> To clear both of side I use this code:
>
[quoted text clipped - 10 lines]
> 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
clearer there, built of a <div>. Use the latter one.

Chris
Martin Bialasinski - 22 Nov 2004 14:42 GMT
> 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

Looks clever. Opinion anyone?

Bye,
       Martin
Cezar - 22 Nov 2004 17:11 GMT
Martin Bialasinski napisał(a):

>>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

I know this method. Probably the best, but sometimes I was used <hr> and
what I saw ? Hmm. some space in IE. That's why I ask on the group what
is it ? Another magic IE ? ;-)

Signature

Regards,
Cezar

kchayka - 23 Nov 2004 18:55 GMT
> hr.clear{
>     display:block;
[quoted text clipped - 7 lines]
>
> 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.

Signature

Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.

Cezar - 28 Nov 2004 13:12 GMT
kchayka napisał(a):

>>hr.clear{
>>    display:block;
[quoted text clipped - 10 lines]
> 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.

Signature

Ave,
Cezar

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.