473,396 Members | 1,768 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Floating in IE

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

Jun 16 '06 #1
5 1417
Els
rf**@scoe.net wrote:
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/
Jun 16 '06 #2
> 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

Jun 16 '06 #3
rf**@scoe.net wrote:
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
Jun 16 '06 #4
Els
rf**@scoe.net wrote:
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/
Jun 16 '06 #5
> 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

Jun 16 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

31
by: JS | last post by:
We have the same floating point intensive C++ program that runs on Windows on Intel chip and on Sun Solaris on SPARC chips. The program reads the exactly the same input files on the two platforms....
5
by: Anton Noll | last post by:
We are using Visual Studio 2003.NET (C++) for the development of our software in the fields digital signal processing and numerical acoustics. One of our programs was working correctly if we are...
687
by: cody | last post by:
no this is no trollposting and please don't get it wrong but iam very curious why people still use C instead of other languages especially C++. i heard people say C++ is slower than C but i can't...
7
by: Vinoth | last post by:
I'm working in an ARM (ARM9) system which does not have Floating point co-processor or Floating point libraries. But it does support long long int (64 bits). Can you provide some link that would...
15
by: michael.mcgarry | last post by:
Hi, I have a question about floating point precision in C. What is the minimum distinguishable difference between 2 floating point numbers? Does this differ for various computers? Is this...
13
by: Bern McCarty | last post by:
I have run an experiment to try to learn some things about floating point performance in managed C++. I am using Visual Studio 2003. I was hoping to get a feel for whether or not it would make...
4
by: jacob navia | last post by:
Hi people I continue to work in the tutorial for lcc-win32, and started to try to explain the floating point flags. Here is the relevant part of the tutorial. Since it is a difficult part, I...
32
by: ma740988 | last post by:
template <class T> inline bool isEqual( const T& a, const T& b, const T epsilon = std::numeric_limits<T>::epsilon() ) { const T diff = a - b; return ( diff <= epsilon ) && ( diff >= -epsilon );...
39
by: rembremading | last post by:
Hi all! The following piece of code has (for me) completely unexpected behaviour. (I compile it with gcc-Version 4.0.3) Something goes wrong with the integer to float conversion. Maybe somebody...
6
by: Jeremy | last post by:
I've got a floating div which becomes visible when a link is clicked. I want the div to be hidden when the user clicks anywhere on the page except for whithin the div. What is the best way to do...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.