Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

hr+clear space+IE
 

Cezar




quote this post edit post

IP Loged report this post

Old Post  11-22-04 - 04:18 AM  
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.

--
Regards,
Cezar


Post Follow-Up to this message ]
Re: hr+clear space+IE
 

Chris Leipold




quote this post edit post

IP Loged report this post

Old Post  11-22-04 - 05:20 PM  
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.
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


Post Follow-Up to this message ]
Re: hr+clear space+IE
 

Martin Bialasinski




quote this post edit post

IP Loged report this post

Old Post  11-22-04 - 05:20 PM  
Chris Leipold <cleipold@dietzk.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

Looks clever. Opinion anyone?

Bye,
Martin


Post Follow-Up to this message ]
Re: hr+clear space+IE
 

Cezar




quote this post edit post

IP Loged report this post

Old Post  11-23-04 - 12:20 AM  
Martin Bialasinski napisał(a):
> Chris Leipold <cleipold@dietzk.de> wrote:
>
> 
>
>
> 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 ? ;-)

--
Regards,
Cezar


Post Follow-Up to this message ]
Re: hr+clear space+IE
 

kchayka




quote this post edit post

IP Loged report this post

Old Post  11-24-04 - 12:26 AM  
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.

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


Post Follow-Up to this message ]
Re: hr+clear space+IE
 

Cezar




quote this post edit post

IP Loged report this post

Old Post  11-26-04 - 12:16 PM  
Martin Bialasinski napisał(a):
> Chris Leipold <cleipold@dietzk.de> wrote:
>
> 
>
>
> 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 ? ;-)

--
Regards,
Cezar


Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 04:00 AM. Post New Thread   
  Previous Last Thread   Next Thread next
Stylesheets archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top