You are here: Re: putting a banner at the top of a page « HTML « IT news, forums, messages
Re: putting a banner at the top of a page

Posted by Mark Parnell on 11/22/00 11:39

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.

--
Mark Parnell

Now implementing http://blinkynet.net/comp/uip5.html

 

Navigation:

[Reply to this 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

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