HighDots Forums  

IE float/clear issue - elements not aligning "properly"

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


Discuss IE float/clear issue - elements not aligning "properly" in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Eric Martin
 
Posts: n/a

Default IE float/clear issue - elements not aligning "properly" - 02-29-2008 , 11:31 AM






I know this topic has been covered in a number of different ways...but
I can't seem to find a solution that fixes the issue I'm having:

http://www.ericmmartin.com/code/css/float-clear.html

IE6 & 7 renders the element with class arrow correctly, but the other
elements all seem to stack up in one row, seemingly ignoring the clear
property.

What am I missing?

Reply With Quote
  #2  
Old   
Eric Martin
 
Posts: n/a

Default Re: IE float/clear issue - elements not aligning "properly" - 02-29-2008 , 03:38 PM






On Feb 29, 9:31 am, Eric Martin <emarti... (AT) gmail (DOT) com> wrote:
Quote:
I know this topic has been covered in a number of different ways...but
I can't seem to find a solution that fixes the issue I'm having:

http://www.ericmmartin.com/code/css/float-clear.html

IE6 & 7 renders the element with class arrow correctly, but the other
elements all seem to stack up in one row, seemingly ignoring the clear
property.

What am I missing?
I ended up "fixing" this by changing my HTML. I remove the clear
property on the "arrow" div and added a <br/> element with the clear
property.


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

Default Re: IE float/clear issue - elements not aligning "properly" - 02-29-2008 , 04:19 PM



In article
<f832dcc0-490d-4bde-9c41-3c21de35a092 (AT) i7g2000prf (DOT) googlegroups.com
Quote:
,
Eric Martin <emartin24 (AT) gmail (DOT) com> wrote:

Quote:
I know this topic has been covered in a number of different ways...but
I can't seem to find a solution that fixes the issue I'm having:

http://www.ericmmartin.com/code/css/float-clear.html

IE6 & 7 renders the element with class arrow correctly, but the other
elements all seem to stack up in one row, seemingly ignoring the clear
property.

What am I missing?
This what you want:

http://netweaver.com.au/test/eric/eric.html

?

(Sure you don't want a table for this instead?)

--
dorayme


Reply With Quote
  #4  
Old   
Eric Martin
 
Posts: n/a

Default Re: IE float/clear issue - elements not aligning "properly" - 03-01-2008 , 04:32 PM



On Feb 29, 2:19 pm, dorayme <doraymeRidT... (AT) optusnet (DOT) com.au> wrote:
Quote:
In article
f832dcc0-490d-4bde-9c41-3c21de35a... (AT) i7g2000prf (DOT) googlegroups.com>,

Eric Martin <emarti... (AT) gmail (DOT) com> wrote:

I know this topic has been covered in a number of different ways...but
I can't seem to find a solution that fixes the issue I'm having:

http://www.ericmmartin.com/code/css/float-clear.html

IE6 & 7 renders the element with class arrow correctly, but the other
elements all seem to stack up in one row, seemingly ignoring the clear
property.

What am I missing?

This what you want:

http://netweaver.com.au/test/eric/eric.html

Thanks for your help dorayme. Unfortunately, once you give the "arrow"
div a height and width, it breaks the positioning - the following
elements. Adding a float:left fixes it in every browser except IE.

Quote:
(Sure you don't want a table for this instead?)
I'm sure I ended up just adding a <br/> before the "arrow" div and
everything works as desired now.



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

Default Re: IE float/clear issue - elements not aligning "properly" - 03-01-2008 , 07:04 PM



In article
<05369795-8b82-4c02-8622-493d73ca6446 (AT) i29g2000prf (DOT) googlegroups.co
m>,
Eric Martin <emartin24 (AT) gmail (DOT) com> wrote:

Quote:
On Feb 29, 2:19 pm, dorayme <doraymeRidT... (AT) optusnet (DOT) com.au> wrote:
In article
f832dcc0-490d-4bde-9c41-3c21de35a... (AT) i7g2000prf (DOT) googlegroups.com>,

Eric Martin <emarti... (AT) gmail (DOT) com> wrote:

I know this topic has been covered in a number of different ways...but
I can't seem to find a solution that fixes the issue I'm having:

http://www.ericmmartin.com/code/css/float-clear.html

IE6 & 7 renders the element with class arrow correctly, but the other
elements all seem to stack up in one row, seemingly ignoring the clear
property.

What am I missing?


Thanks for your help dorayme. Unfortunately, once you give the "arrow"
div a height and width, it breaks the positioning - the following
elements. Adding a float:left fixes it in every browser except IE.


(Sure you don't want a table for this instead?)

I'm sure I ended up just adding a <br/> before the "arrow" div and
everything works as desired now.
Yes, there should have been a float: left on the arrow div. I
just happened to be on my Winbox and it did what you wanted on my
box. But anyway, a br will certainly do the job for the look you
want. (I have taken the url down now...)

--
dorayme


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.