I have a div named logo with these attributes:
CODE
div#logo {
float: left;
width: 100%;
height: 202px;
background: url(../images/logo_bg.jpg) 0 0 repeat-x;
margin-left: 14px;
margin-right: 14px;
}
float: left;
width: 100%;
height: 202px;
background: url(../images/logo_bg.jpg) 0 0 repeat-x;
margin-left: 14px;
margin-right: 14px;
}
The div is extending all the way to the right boundary of the page rather than ending inside the enclosing div as intended, and is ignoring the margin-right setting I have in place.
Help!


Answers