PDA

View Full Version : Need help with simple css



meganbegay
11 Aug 2010, 05:56 PM
I want a div box with two div boxes inside of it with images. I was slicing websites and using tables until I found out that it is not search friendly.

Here is what I want to do http://i7.photobucket.com/albums/y291/sethalbritton/Untitled-1.jpg

I want a div box to surround it, and then the two colors, I want them in two different div boxes with images of the colors. I know I could just use the colors instead of the images, but I'm using the images to learn.

So how would I do this.

I know

<div class="container">

<div class="image1"></div>
<div class="image2"></div>

</div>

How do I position the dive boxes with the images exactly where they go. Imagine the box is 100w x 100h and the images are exactly 50w x 100h. How would I put them exactly where they go?