...

View Full Version : div trouble



twistedsoul
04-04-2009, 09:42 AM
hey there, I'm having abit of trouble with my divs.

#footerone {
background-image: url(images/img_03.gif);
background-repeat: repeat;
background-position: left;
height: 74px;
width: 100%;
position: absolute;
visibility: visible;
left: 0px;
}

i wanted the div to sit up tight left to the page which it does, but when i got to add another div anfter it just sites in front of this and not below?

coothead
04-04-2009, 10:18 AM
Hi there twistedsoul,

from the minimal amount of information that you have supplied, it is difficult to give a precise solution to your problem.
But I would suggest that you add this...


body {
margin:0;
padding:0;
}

...to your stylesheet and remove the highlighted attributes from the rule supplied...


#footerone {
background-image: url(images/img_03.gif);
background-repeat: repeat;
background-position: left;
height: 74px;
width: 100%;
position: absolute;
visibility: visible;
left: 0px;
}

coothead

twistedsoul
04-04-2009, 10:32 AM
worked a treat, thanks :)

coothead
04-04-2009, 10:40 AM
No problem, you're very welcome. ;)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum