Deleting one line of text screws up everything
i have "preliminary" index page. it's been temporarily renamed , uploaded 1 of existing sites. can found here: www.cbcaferacer.com/skin.html
the code validates correctly @ bottom <p>why text matter?</p> , if remove it, rest of page formatting turns screwy. i've tried quite few options , changes either make no difference or make worse.
thanks.
add overflow: hidden; 'content' css (as below) remove <p> tag
.content {
padding: 10px 0;
overflow: hidden;
}
what happening have floated elements in 'content' <div> need use clearing method position 'footer' supposed go.
as alternative have added clear: both; 'footer' css:
.footer {
margin-top: 5px;
background: #ccc49f;
padding-top: 1px;
padding-right: 0;
padding-bottom: 2px;
padding-left: 0;
height: 30px;
font-size: 10px;
clear: both;
}
More discussions in Dreamweaver support forum
adobe
Comments
Post a Comment