Remove "space" above the header/top of site.

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
User avatar
duplay
Power Poster
Power Poster
Posts: 289
Joined: Tue Mar 14, 2006 1:57 pm

Remove "space" above the header/top of site.

Post by duplay »

I need to know how to remove the small gap above the header of the page (see screenshot). Basically, people want the site always to be located at the very top of each window. Any help?

Thanks

MJD

[gelöscht durch Administrator]
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Remove "space" above the header/top of site.

Post by RonnyK »

MJD,

in the CSS for your body, you can change the margin, or even delete the following line.

Code: Select all

   margin:1em;    /* gives some air for the pagewrapper */
Ronny
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: Remove "space" above the header/top of site.

Post by KO »

body, html {margin:0px;padding:0px;}

K
Post Reply

Return to “Layout and Design (CSS & HTML)”