Reply to Re: putting a banner at the top of a page

Your name:

Reply:


Posted by Beauregard T. Shagnasty on 10/08/60 11:39

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.

--
-bts
-Warning: I brake for lawn deer

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация