I haven't tested this, but I think it's the 10px padding you have declared
in the following rule:

#contentheader h1 {
        font-size:14px;
        padding:10px;
        height: 190px;
        background-image: url(../images/top_bg.jpg);
        margin-bottom: 10px;
        }

My guess is that the 10px is affecting only the right and left because there
is nothing else in your CSS that defines any aspect of the h1 width, only
its height.  Try removing the 10px padding OR explicitly setting it to 0 and
see what happens with the background image.


Christopher Akins
Web Development / Graphic Production
Public Information Office - City of Springfield, MO
www.springfieldmogov.org
417-864-1118

"The box said 'Windows 98 or better . . . so I bought a Macintosh!"




On 6/7/05 10:41 AM, "Oliver Saager" <[EMAIL PROTECTED]> wrote:

> Hello
> 
> Currently I am developping my first true (...) CSS Website.
> 
> Unfortunately I have come across a problem I am unable to solve. See yourself:
> 
> http://develop.saager.ch
> http://develop.saager.ch/css/screen.css
> 
> The pencils in the header are supposed to cover the entire space and
> NOT leave white space on the left and on the right side. I made sure
> that the picture is more than big enough. I removed all margins. But
> the error remains...
> 
> Anybody knows why???
> 
> Thank you.
> 
> O
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to