gap around div tag


hello dreamweavers.

 

ive made div tag , ive centered in middle of page. on top there gap.

ive seen articles says add:

 

margin: 0;

padding: 0;

 

im doing so, im still getting gap on top.

 

this css

 

#box1 {

          background-color: #00f;

          height: 200px;

          width: 600px;

          padding: 0px;

          margin: auto;

 

i have margin auto in order center box, correct?, there add 0 padding in order rid of gap.

 

u2a.jpg

best if upload page web space somewhere , post link can take in our browsers.

 

in css, try

 

#box1 {

          background-color: #00f;

          height: 200px;

          width: 600px;

          padding: 0px;

          margin: 0 auto;



More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account