Jump to content

[SOLVED] div positioning


brown2005

Recommended Posts

You could use a background
[code]#area
{
width: 250px;
height: 300px;
border: 2px solid #627c10;
padding: 10px;
background: transparent url(../image.gif) no-repeat bottom;
}

 

OR use some positioning

 

#area
{
width: 250px;
height: 300px;
border: 2px solid #627c10;
padding: 10px;
position: relative;
}

#area img
{
position: absolute;
bottom: 0;
}

 

Note you will have to use a dtd (like xhtml 1.1 or html 4.01 strict) that makes IE work in standards compliance mode for the positioning method.

[/code]

 

Archived

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

×
×
  • Create New...

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.