PDA

View Full Version : layering img w/ text below


vb_pilgrim
05-09-2008, 04:37 PM
Hi again :D

What would I do w/o you all? I don't want to think about it!

My new question is about layering an image. I have it positioned to the far right, but the text doesn't wrap around it (obvioiusly). So, do I have to put the text in a layer also?

I miss tables.

Pilgrim

Death Dream
05-09-2008, 05:00 PM
I am not sure what you current set up is, but is your image not in the same layer as your text?

~Death Dream~

vb_pilgrim
05-09-2008, 05:19 PM
I am not sure what you current set up is, but is your image not in the same layer as your text?

~Death Dream~

No, I have my text with a plain ol' <p> tag, the image is on a layer formatted with css, but just sitting over the text :(

Ricky55
05-09-2008, 07:08 PM
float your image right and the text will flow around it.


<style type="text/css">
img {
float: right;
padding: 20px;
}

</style>

vb_pilgrim
05-10-2008, 06:16 PM
float your image right and the text will flow around it.


<style type="text/css">
img {
float: right;
padding: 20px;
}

</style>


Thank you!

Pilgrim