I have a page here http://pastebin.com/Hva36KEn ,and I’m new to css. How to make the #header div’s margin zero and align it to page’s top and make it more nature? Any help would be greatly appreciated!
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Make sure the
bodyandhtmlelements’marginorpaddingequal zero on them. This may cause your#headerto be pushed down.A bit off-topic: You wrote that you’re new to CSS and that’s why I thought I would include this. Don’t use inline CSS. This is a good place to read about different ways to apply CSS: http://www.w3schools.com/css/css_howto.asp