You are here: Re: Diagonal banner in corner « HTML « IT news, forums, messages
Re: Diagonal banner in corner

Posted by BlueC on 11/26/57 11:53

©® wrote:
> I know they are (supposedly) old-hat, but I was thinking of adding a
> corner diagonal banner (see
> http://www.exploding-boy.com/images/banners/banners.html) to a website.
>
> Now what would need to be done so the banner fits your corner of your
> css layout and not extend to the edges of your screen. E.g. If you went
> to the root of the above link (http://www.exploding-boy.com/) and had
> the banner going over the top left hand (or right) corner where it says
> "EXP" in exploding boy i.e. top L/R corners of the white box and *not*
> the top L/R corners of the blue background. (Hope this makes sense!)
> Thanks
>
>

Put it inside the containing div and use

position: relative;

instead of

position: absolute;

perhaps?

http://www.w3schools.com/css/pr_class_position.asp

--
BC

 

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

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