HighDots Forums  

An IE/Float problem

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


Discuss An IE/Float problem in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
John Dann
 
Posts: n/a

Default An IE/Float problem - 04-16-2008 , 03:48 PM






Another amateur's problem I'm afraid. Don't know whether anyone might
be kind enough to look at this and spot what the problem might be - I
suspect that it's something fairly simple but can't see exactly what.

There's a draft page of a technical site viewable at:

www.weatherstations.co.uk/nd2/vp_main.htm

This page is unfinished as yet - there's one specific problem in its
current incomplete form that I'm asking about:

There's a clouds banner image below which there should be a header
'Vantage Pro 2' and some body text following with an image of some
technical parts floated to the right. This looks fine in FF2 but in
IE7 the header doesn't start until below the floated image rather than
the header and text flowing around the image. So what's causing this
behaviour in IE7?

I guess there's something important that I don't understand about how
the float style should be defined or exactly where the img tag should
be positioned in the HTML flow relative to its neighbouring tags? Any
pointers to an explanation of how to do this correctly would be much
appreciated.

JGD

Reply With Quote
  #2  
Old   
Ian Hobson
 
Posts: n/a

Default Re: An IE/Float problem - 04-24-2008 , 05:18 PM






John Dann wrote:

Quote:
There's a draft page of a technical site viewable at:

www.weatherstations.co.uk/nd2/vp_main.htm

There's a clouds banner image below which there should be a header
'Vantage Pro 2' and some body text following with an image of some
technical parts floated to the right. This looks fine in FF2 but in
IE7 the header doesn't start until below the floated image rather than
the header and text flowing around the image. So what's causing this
behaviour in IE7?
I'm not in a position to be definitive, but I rather suspect problems
may be caused because <img> can appear in in-line context, and IE7 is
getting it wrong.

Try wrapping the <img> tag in a div, and floating the div.

Ian


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.