Midget
March 14th, 2005, 03:50 PM
I am currently working on a website, but I have come across a problem -- so that is why I now ask you for help.
My problem is this:
View this website[2] in a lower/higher resolution that what you usually use. You will see that the box-thingy (with all the content in it) will keep itself centered at all times. There will always be an equal dose of nothingness (read: gray background) on each of the sides.
Now, view my website[1] and do the same thing. Notice the problem? I want mine to be centered aswell, but that doesn't happen at all. From what I have seen, putting margin: 0 and padding: 0 under body in the .css-file should do the trick, but it seems like something else in my .css[3] is overriding it.
And btw, for now -- my site will only work with Firefox (yes, I know it looks like hell in IE/Opera, thankyouverymuch).
So, if any of you know of a solution to my problem, please tell me :)
[3] http://temp.nerdinne.net/web/styles.css
[2] http://www.senilix.net
[1] http://temp.nerdinne.net/web/nerdinne.xhtml
My problem is this:
View this website[2] in a lower/higher resolution that what you usually use. You will see that the box-thingy (with all the content in it) will keep itself centered at all times. There will always be an equal dose of nothingness (read: gray background) on each of the sides.
Now, view my website[1] and do the same thing. Notice the problem? I want mine to be centered aswell, but that doesn't happen at all. From what I have seen, putting margin: 0 and padding: 0 under body in the .css-file should do the trick, but it seems like something else in my .css[3] is overriding it.
And btw, for now -- my site will only work with Firefox (yes, I know it looks like hell in IE/Opera, thankyouverymuch).
So, if any of you know of a solution to my problem, please tell me :)
[3] http://temp.nerdinne.net/web/styles.css
[2] http://www.senilix.net
[1] http://temp.nerdinne.net/web/nerdinne.xhtml