HighDots Forums  

Floating in IE

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


Discuss Floating in IE in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
rfox@scoe.net
 
Posts: n/a

Default Floating in IE - 06-16-2006 , 04:46 PM






The goal is simple -- float a box on the right and have text flow
around it on the left. The style applied to the div the box is in
works fine in everything except, of course, IE. Here's the style:

<div style="float:right; width:320px; padding: 20px 0 25px 25px;">

Here's the URL where the page is:

http://www.scoe.net/seeds/video/vid2.html

What do I have to do in order to make the text wrap around the box in
IE?

Thanks in advance.

-Ray


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

Default Re: Floating in IE - 06-16-2006 , 04:56 PM






rfox (AT) scoe (DOT) net wrote:

Quote:
The goal is simple -- float a box on the right and have text flow
around it on the left. The style applied to the div the box is in
works fine in everything except, of course, IE. Here's the style:

div style="float:right; width:320px; padding: 20px 0 25px 25px;"

Here's the URL where the page is:

http://www.scoe.net/seeds/video/vid2.html

What do I have to do in order to make the text wrap around the box in
IE?
Take the width off div.text .

--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/


Reply With Quote
  #3  
Old   
rfox@scoe.net
 
Posts: n/a

Default Re: Floating in IE - 06-16-2006 , 05:18 PM



Quote:
Take the width off div.text .
I appreciate the response, Els, but unfortunately, that didn't do the
trick. I removed the width off of .text but it still looks the same as
before: www.scoe.net/seeds/video/vid2.html

:/

-Ray



Reply With Quote
  #4  
Old   
Beauregard T. Shagnasty
 
Posts: n/a

Default Re: Floating in IE - 06-16-2006 , 05:35 PM



rfox (AT) scoe (DOT) net wrote:

Quote:
The goal is simple -- float a box on the right and have text flow
around it on the left. The style applied to the div the box is in
works fine in everything except, of course, IE. Here's the style:

div style="float:right; width:320px; padding: 20px 0 25px 25px;"

Here's the URL where the page is:
http://www.scoe.net/seeds/video/vid2.html

What do I have to do in order to make the text wrap around the box in
IE?
Put the div containing the movie inside the div containing the content
text, and then change that movie div to a <span>. How much text will be
above it will depend on how far into the text you insert the <span>.

Here's a page of mine with several inline floated images, both right and
left.
http://countryrode.com/parts/apparel.php

--
-bts
-Warning: I brake for lawn deer


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

Default Re: Floating in IE - 06-16-2006 , 05:59 PM



rfox (AT) scoe (DOT) net wrote:

Quote:
Take the width off div.text .

I appreciate the response, Els, but unfortunately, that didn't do the
trick. I removed the width off of .text but it still looks the same as
before: www.scoe.net/seeds/video/vid2.html
Ahem ;-)
<!-- .text { width: 400px;} -->

Try /* .text {width: 400px;} */

<!-- --> is for HTML comments, /* */ for CSS comments :-)

--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/


Reply With Quote
  #6  
Old   
rfox@scoe.net
 
Posts: n/a

Default Re: Floating in IE - 06-16-2006 , 06:20 PM



Quote:
Try /* .text {width: 400px;} */
Boy is my face red! Els, thank you, that did the trick! And I learned
something in the process.

Mr. Shagnasty, thanks for your input too. I tried it as well, but it
did some wacky stuff to the layout. Some goof up on my part, I'm sure.
Thank you.

Have a great weekend, ya'all!

-Ray



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.