|
Hello Abakiz,
A lot of your CSS is wrong there. Take a look at the link about validating CSS in my sig below.
margin: 0 auto; centers things by making the left/right margins auto. Typically, body is the full width of the browser window so there is nothing to center. In other words, that line does not belong in the styling for the body tag.
padding: 0 auto; No such thing as auto padding.
same for border.
Your #login has margin:150 0 0 0; 150 is a measurement but you have to specify what units your measuring in. The browser sees that and says, "150 what?" Use px, em, % ...
Oh yes, for your whitespace ... you will need to post your html as well. Seeing only the CSS is not enough.
A link to the test site would be best but you can post your code here if there is no test site.
USE the [code] TAGS PLEASE! It puts your code in a scrolling box that greatly helps the readability of your post.
Last edited by Excavator; 02-24-2009 at 06:41 PM..
|