Jump to content

Archived

This topic is now archived and is closed to further replies.

thehigherentity

Floating images over text

Recommended Posts

I am trying to float an image on my site.

I have a page full of text. I want to float images over the top so the text will run behind the images.

I have seen this done befor so i know its posible some how.

all i have setup is <img style="float:left" src="./images/image1.jpg" width="100" height="80" />
but as you will know this places the image into the text.

could anyone help me with a way to place these images over the text?

thanks, hope this makes sense

TheHigherEntity

Share this post


Link to post
Share on other sites
[code]position: relative;[/code]
This will detach your image from the text and let it float over, while still allowing for positioning relative to your parent element.

Share this post


Link to post
Share on other sites
Thanks m8,

I tryed adding that into my ccs but it did not work so i messed arround and found that absolute worked fine so thanks i would not of worked it out with out knowing what css command placed images in that way

thanks again
thehigherentity

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.