|
-
Messed up Div tag?
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
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks