>> Brian M. Curran wrote:
>> Hello,
>> Can someone tell me the technique this site used to get the black of the 
>> header to span perfectly across my entire screen, without any 
>> left-to-right scroll bar?
>>
>> http://www.designhammer.com/services/web-design.php
>>
>> I looked at the CSS, but I'm not fully understanding it.
>>
>> Sincerely,
>> Brian



> The simplified structure is two wrappers each of width 100%.
> The top wrapper is the header.
> The bottom wrapper encloses two-adjacent fixed width columns.
>
> Best,
> ~d


Thanks David.

My friend just showed me how to do more things with firebug than I knew 
about, so now I have a few more questions to you all.

1.
#dh-header-wrapper {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:#1E1E1E url(../images/common/header-wrap-bkgd.png) repeat-x 
scroll center top;
height:153px;
width:100%;
}

This is the repeating image that fills the whole browser width? How come it 
isn't 1px wide, as 1px seems that it would be a better width to repeat? (It 
seems to be 153px wide.)

2.
#dh-header {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:transparent url(../images/common/header-bkgd.png) no-repeat 
scroll center top;
height:153px;
margin:0 auto;
position:relative;
width:830px;
}

So this is an image that is behind everything? And why is it transparent?

3.
Lastly, you can get a list and images to hover over another image (the 
#dh-header-wrapper in this example) by using absolute positioning? It seems 
the images need a z index, but the list doesn't?

Sincerely,
Brian 

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

Reply via email to