You are here: Re: BG images in firefox « HTML « IT news, forums, messages
Re: BG images in firefox

Posted by Paul Watt on 09/30/05 18:41

"Steve Pugh" <steve@pugh.net> wrote in message
news:1128090664.052293.103620@g43g2000cwa.googlegroups.com...
> Paul Watt wrote:
>
>> I'm trying to use CSS to specify a Background image for a
>> table cell using the following code:
>>
>> td.mainlogo{
>> background-image: url(img/bg_header.gif);
>> background-position: center;
>> background-repeat: no-repeat;
>> background-attachment: fixed;
>> }
>>
>> It works in IE but in Firefox the image doesnt display. Any ideas?
>
> Have you read the CSS spec for the background-attachment property? In
> paticular the part where it tells you what 'fixed' backgrounds are
> fixed to?
>
> IE incorrectly displays the background in the wrong position.
>
> Firefox displays it correctly - I bet that if you scroll the page so
> that the table cell in question is right at the top of the screen then
> the background will show up.
>
> Steve
>

Cheers Steve, that did the trick.

 

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

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