First I would remove the slash before the location of your style sheet because I believe you said you put the style sheet in the same directory as your pages. Second, the margin: auto; doesn't work in all browsers as far as I know. I remember having difficulties with browsers not doing that correctly.
Third this code really won't fill the user's screen, it will just make it 725px wide and centered. There is nothing wrong with this though. Users with smaller screens may have to scroll to see some of it, users with big screens will have some whitespace on the left and right of the div.
To truly make it fill the users screen you would use...
Code:
#container { width: 100%; height: 100%; }
... but that isn't really a great thing to do as it will distort in weird shapes.
__________________
Cheers, John Irving: My Blog
JLI Media: Please login or register to view this content. Registration is FREE | Website Development (Link Coming Soon!)
|