HighDots Forums  

Re: Problem with clearing floats in Firefox

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: Problem with clearing floats in Firefox in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Lauri Raittila
 
Posts: n/a

Default Re: Problem with clearing floats in Firefox - 10-14-2004 , 08:09 AM






In article <joubd.57822$Vf.2746761 (AT) news000 (DOT) worldonline.dk>,
thisisnotmyadress (AT) thisisnotmyserver (DOT) dk says...

Quote:
div id='clear' style='clear:both; height:0px; overflow:hidden;'>&nbsp;</div
Won't

<div style="clear:both;"></div>

Work?

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>


Reply With Quote
  #2  
Old   
Niels
 
Posts: n/a

Default Re: Problem with clearing floats in Firefox - 10-14-2004 , 08:29 AM






Lauri Raittila wrote:

Quote:
Won't

div style="clear:both;"></div

Work?

No, that's even worse. That will put the "other"-div between the Left and
Right. I can't decide why it does that...


Niels



Reply With Quote
  #3  
Old   
Els
 
Posts: n/a

Default Re: Problem with clearing floats in Firefox - 10-14-2004 , 08:38 AM



Niels wrote:

Quote:
Lauri Raittila wrote:

Won't

div style="clear:both;"></div

Work?

No, that's even worse. That will put the "other"-div
between the Left and Right. I can't decide why it does
that...
That doesn't make any sense, really.
If the third div has style="clear:both;", the 4th div can't go
up between the first and second, unless you give it
position:absolute;

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -


Reply With Quote
  #4  
Old   
Lauri Raittila
 
Posts: n/a

Default Re: Problem with clearing floats in Firefox - 10-14-2004 , 08:48 AM



In article <v8vbd.57834$Vf.2747035 (AT) news000 (DOT) worldonline.dk>,
thisisnotmyadress (AT) thisisnotmyserver (DOT) dk says...
Quote:
Lauri Raittila wrote:

Won't

div style="clear:both;"></div

Work?

No, that's even worse. That will put the "other"-div between the Left and
Right. I can't decide why it does that...
What browser? URL?

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>


Reply With Quote
  #5  
Old   
Niels
 
Posts: n/a

Default Re: Problem with clearing floats in Firefox - 10-14-2004 , 08:56 AM



Els wrote:

Quote:
No, that's even worse. That will put the "other"-div
between the Left and Right. I can't decide why it does
that...

That doesn't make any sense, really.
If the third div has style="clear:both;", the 4th div can't go
up between the first and second, unless you give it
position:absolute;

That's what I thought. I does that, however, in Firefox. I sort of makes
sense, using your own idea of empty things not being rendered. Plus some
Firefox magic...


//Niels


Reply With Quote
  #6  
Old   
Els
 
Posts: n/a

Default Re: Problem with clearing floats in Firefox - 10-14-2004 , 08:58 AM



Niels wrote:

Quote:
Els wrote:

No, that's even worse. That will put the "other"-div
between the Left and Right. I can't decide why it does
that...

That doesn't make any sense, really.
If the third div has style="clear:both;", the 4th div
can't go up between the first and second, unless you give
it position:absolute;

That's what I thought. I does that, however, in Firefox. I
sort of makes sense, using your own idea of empty things
not being rendered. Plus some Firefox magic...
I didn't say empty things wouldn't be rendered, I said elements
without volume.
But <div style="clear:both;"></div> does have volume. I use it
on all of my pages, and it works in all browsers too.


--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -


Reply With Quote
  #7  
Old   
Niels
 
Posts: n/a

Default Re: Problem with clearing floats in Firefox - 10-14-2004 , 09:07 AM



Els wrote:

Quote:
I didn't say empty things wouldn't be rendered, I said elements
without volume.
OK, fine. But a div without content could be said to have no volume.

Quote:
But <div style="clear:both;"></div> does have volume. I use it
on all of my pages, and it works in all browsers too.
It doesn't work for me. Some sort of space-time malfunction I guess...

My <br style='clear:both'> solution works for me, so I'll use that.


//Niels



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.