Hi,
I have this code on my page
<div id="titlediv">
<div id="title">
<h1> Welcome...</h1>
</div>
</div>
and this CSS to go with it
#titlediv { background-color:#000;
width:800px;
margin-left:auto;
margin-right:auto;
margin-bottom:0px;
margin-top:0px;
padding:0px;
}
#title { background-color:#000;
width:760px;
margin-left:auto;
margin-right:auto;
color:#FFF;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
but when I preview in a browser there is a white space between #titlediv and the div above it. Is there any way to remove this or fix it?
Using Adobe Dreamweaver CS5
Thanks
Thomas![]()


Reply With Quote


Bookmarks