2 replies [Last post]
raza
Offline
newbie
Last seen: 12 years 46 weeks ago
Timezone: GMT+2
Joined: 2004-02-17
Posts: 4
Points: 0

I'm trying to make 2 column design with a floated image on the right column, and running into all sorts of problems. I've tried box and inline elements, divs and spans, but haven't figured how to code this example - anyone care to take a stab at it? The data is dynamic, it comes in pairs of label and text.

http://iki.fi/rz/possible.html

Another simple advice would be welcome, about how the div rendering differs from IE to Firebird/Opera, as the text divs seems span whole length of the container, and not float like IE/Old Netscape do it.

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 10 hours 7 min ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Help with floats?

Hi raza,
I moved this post and deleted the one that pointed to it.
Please just let us know if you have posted to the wrong forum.

You should be able to float the image right and leave the text not floated to get the look your after.
This link might help explain it http://www.complexspiral.com/publications/containing-floats/

raza
Offline
newbie
Last seen: 12 years 46 weeks ago
Timezone: GMT+2
Joined: 2004-02-17
Posts: 4
Points: 0

Help with floats?

But if I leave the text un-floated, it doesn't get indented, it flows nicely below the image, but it also flows to the left where it shouldn't......