3 replies [Last post]
bottlerocket11
Offline
newbie
Last seen: 12 years 19 weeks ago
Joined: 2007-08-20
Posts: 5
Points: 0

I'm trying to code a page that has the text wrapping around 2 images or blocks that have 2 different widths. The first image block will be about 300px wide. The second image block will be 200px wide. I actually don't think this is possible but maybe I'm wrong. I'm okay with being wrong.

Here's what I have so far: http://www.goodmonkey.com/test.html

Thanks for the help!

Deuce
Deuce's picture
Offline
Guru
Somewhere, USA
Last seen: 2 years 51 weeks ago
Somewhere, USA
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4424
Points: 1843

get rid of the div wrapper

get rid of the div wrapper for the two blocks.

block1 should have float: left
block2 should have clear:left and float:left

then you will need to set margins.

hope this helps.

all » http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

bottlerocket11
Offline
newbie
Last seen: 12 years 19 weeks ago
Joined: 2007-08-20
Posts: 5
Points: 0

get rid of the div wrapper

That worked. Thanks so much. I'm just mad that I didn't figure this out myself. Thanks again. Smile

Deuce
Deuce's picture
Offline
Guru
Somewhere, USA
Last seen: 2 years 51 weeks ago
Somewhere, USA
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4424
Points: 1843

no prob, glad to help

no prob, glad to help
:thumbsup:

all » http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph