|
Posted by John Salerno on 01/22/52 11:39
Beauregard T. Shagnasty wrote:
> John Salerno wrote:
>
>> Beauregard T. Shagnasty wrote:
>>> John Salerno wrote:
>>>
>>>> Oh my god, that looks amazing! I didn't realize you could use CSS to do
>>>> all this.
>>> Heh, then you didn't look at the source of my banner page. :-)
>>>
>>>> Just one final step: is it still possible to use CSS to make
>>>> the rest of the banner have an effect, like darkening or other special
>>>> effects? Or would I need a graphics program? If the latter, then I'm
>>>> suddenly at a loss again, because that seems like it would involve a
>>>> more complicated process to get a real image for the whole banner length.
>>> You're looking for "gradient." A 1xNNN pixel graphic that changes
>>> color. I use one here, but for vertical background.
>>> http://countryrode.com/
>> I'm not sure I see anything changing color there.
>
> It's vertical. Note the shade of the blue at the top of the page. Scroll
> down, it gets lighter.
> http://www.countryrode.com/images/bluebg.gif
> It's a 5x1200px image. I have the background color of the body set to
> match the lighter blue at the bottom so that when the content is longer
> than 1200px, the blue continues.
>
> body {
> background: url("../images/bluebg.gif") #66ccff repeat-x;
>
> You're expressing a desire for something similar, maybe 600px wide, and
> used horizontally, or at least that is how I interpreted your "like
> darkening" phrase above.
>
Yeah, I guess that's close. I was talking about having a horizontal bar
across the top that starts out dark and becomes lighter as you look to
the right, so I guess this can be applied that way somehow?
[Back to original message]
|