Help - Search - Members - Calendar
Full Version: Unwanted space above and on the sides my header
HTMLHelp Forums > Web Authoring > Cascading Style Sheets
Hi, I have a header that I want to be at the very tip top, with no space above it, and to stretch the full width of the screen with no space on the sides. However, that is not what I have.

header {
    margin-top: 0;
You must also get rid of the margin or padding browsers add by default to BODY. See this FAQ entry.
Ignore the margintop and so on. That's very outdated. CSS is enough.
Thank you. That took care of it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2021 Invision Power Services, Inc.