Forum Moderators: not2easy

Message Too Old, No Replies

positioning images

to create a frame around another <div>

         

humpingdan

5:58 pm on Nov 2, 2003 (gmt 0)

10+ Year Member



i would like to create a div and then place images around the outside of the div to create a window kind of effect, its for a double glazing company!

i have the images pliced already and ws wondering if there is a way to postion them using css?

something like
}
image: url(http://www.widget.com/widget.gif) left: 30px top: 20px
{

any ideas?
i want to steer away from javascript

humpingdan

6:17 pm on Nov 2, 2003 (gmt 0)

10+ Year Member



its ok i figured it out, a quick google search helped me out!

div.image {
float: right;
}

And the HTML that goes with that:

<div class="image">
<img src="image1.gif" width="100" height="100"
alt="image 1" />
</div>

nice and neat!