Need some help getting text to wrap around floated image. http://www.brookfieldcrc.org, the "Dig Deep" logo. The image has .image_float_left { float: left; }, and sits inside .news { float: right; height: 232px; width: 463px; margin-right: 31px; padding-right: 12px; overflow-y: auto; } I want the text to wrap. can you help?
You need to float the image,
You need to float the image, i.e.
.image_float_left img { float: left; }
cheers,
gary
Thanks for taking the time to
Thanks for taking the time to reply, Gary. But if you look again at my post, that's exactly what I have. This is the problem...it's not working.
Open your bcrc3.css file and
Open your bcrc3.css file and add this command to the bottom of your css file:
.image_float_left > p:nth-child(1) > a:nth-child(1) > img:nth-child(1) { float: left; }
this will make the text wrap around your image.
Cheers Henk.
No, it's not
Thanks for taking the time to reply, Gary. But if you look again at my post, that's exactly what I have. This is the problem...it's not working.
What you have is this:
.image_float_left { float: left; }
You are floating the image's and its sibling's container not the image.
gary
Uhmm no I am not taking it
Uhmm no I am not taking it siblings.. what happened with my code is that I just took this only one image on the whole website.
Lol, sorry didn't read correctly, thaught you were talking bout my post
YAY! It worked!
Thanks Henk. Your code did the trick. I really appreciate both you and Gary going to the trouble of figuring out my problem. No way I would have ever come up with that solution. Please go to a local pub, buy yourself a beer, and put it on my tab!
Um,
I'll need your card number and PIN.
cheers,
gary
Yay, another solved mystery
Yay, another solved mystery followed by a nice cold yellowish one