How can I put a div at the TOP of the page with a background color? No white space


i attempting put orange bar @ top of page , 1 stretches across entire width of page, no matter page size.

 

with code below orange bar appears there white space between top of browser , orange bar.

 

<div style="background-color:#f79321;height:30;width:auto;"> <p> </p></div>

 

how can rid of white space? tried setting margin , padding 0px did not work.

start zeroing out page margins on body tag

 

<style type="text/css">

body{

margin: 0;

padding: 0

}

</style>



More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

Thread: gpg: Conflicting Commands

Adobe Acrobat Pro , Terminal Server Use

when i try using AE CC 3d camera tracker after the first step it says "Analysis solve failed." help?