Centering a page on the screen, why's it not working??


hi,

 

i'm trying centre whole site appears in centre of screen, no matter size of screen it's being viewed on.

 

i've had @ other messages this, , thought i'd done said it's not working.

 

i'm using dreamweaver, , in css rule definition div tag called #containerarea i've set type = absolute, height = auto, left & right placements = auto , top & bottom placements = 0

 

when change text alignment centre, centres text within 'container area' actual area still left aligned on screen.

 

it's not live, still on hard drive, can't include links.

 

can - please?

 

thanks much,

nicola

try this

 

body {

 

margin: 0 auto;

text-align: center;

 

}

 

#divcontainer {

 

witdh: 800px;

text-align: left;

 

}

 

this should solved problem



More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts