how to remove margin space from template?

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"
Locked
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: how to remove margin space from template?

Post by Nullig »

It looks like the image you're using is smaller than the space you've left for it - I'm guessing it's about 120px high.

Try changing these:

Code: Select all

div#header {
   height: 120px;    /* adjust according your image size */
   background: #FFB900;
}

div#header h1 a {
/* you can set your own image here */
   background: #FFB900 url(images/cms/logo1.gif) no-repeat 0 0;
   display: block;
   height: 120px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
Nullig
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: how to remove margin space from template?

Post by Nullig »

Did you use the code exactly as I posted?

Nullig
Locked

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