Shorthand margin code like you have here is top, right, bottom, left. So your page wrap is only indenting 64px from the left side, whatever the screen width. To center it you need to use
This is the best forum i have ever been to, so many people that are helping other and passing on skills! Thank you Chris Coyier for making this site, and thanks to everybody who helped me :)
Now i have another problem, if you looke at my site http://test.designerzi.com/ i cant get the images for the <ul> list to show.. Why is that ? :?
There are no classes on your list elements, yet you are assigning images using the class selector
Any idea how i can centre the whole page ? :)
#page-wrap {margin:124px 0 0 64px;
width:1024px;
}
Shorthand margin code like you have here is top, right, bottom, left. So your page wrap is only indenting 64px from the left side, whatever the screen width.
To center it you need to use
#page-wrap {margin: 0 auto;
width:1024px;
}
This is the best forum i have ever been to, so many people that are helping other and passing on skills!
Thank you Chris Coyier for making this site, and thanks to everybody who helped me :)