Log in

View Full Version : DIV help



Jack!
24-10-2009, 11:41 AM
Hi people,

Right i am in the middle of creating a little website and i have the top of the layout, i need to add a div underneath, but it needs to follow the border image down and have a base.

you can see the top at

www.haloguy.co.cc (http://haloguy.co.cc)

i need to add an expandable DIV underneath it.

+Rep to all help.

This is what i need:

http://www.uploadgeek.com/thumb-486C_4AE2E0AF.jpg (http://www.uploadgeek.com/share-486C_4AE2E0AF.html)

iZoinc
24-10-2009, 02:02 PM
<div id="content" />
The content here
<div>

Kiovado
24-10-2009, 09:11 PM
Yeah just use the code iZoinc has provided and use some CSS to style it.. eg.

#content {
overflow:hidden; /* Expands the div with the content */
padding: 5px; /* Number of pixels padding you need around the edge of the div */
width: 100%; /* Use pixels if you know the exact width you use */
}

Want to hide these adverts? Register an account for free!