|
Posted by John Salerno on 09/26/90 11:39
Mark Parnell wrote:
> Deciding to do something for the good of humanity, John Salerno
> <johnjsal@NOSPAMgmail.com> declared in alt.html:
>> Beauregard T. Shagnasty wrote:
>>> #banner {
>>> background: url("images/bannerbg.gif") #yourcolor repeat-y;
>>> color: #fff; /* text color contrasts with background */
>>> text-align: right;
>>> }
>> But will that mean that my header would only be 600px wide?
>
> No. The *image* is only 600px wide, which is why you set the background
> colour to be the same as the right side of the image - anyone with a
> browser canvas wider than 600px will see the solid colour to the right
> of the image.
>
But I don't think I want my background color to be dependent on my
header. In fact, I'd like a contrast between the two, such as a dark
blue header and lighter colored body.
Navigation:
[Reply to this message]
|