I’m trying to create a div that will take 100% width of the very top of the screen, I can’t seem to remove the margins without using position:absolute. is there any way of doing it?
Thanks,
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.
Try this:
Even better, apply a reset CSS to normalize other styles. Here’s one example