You are here: Re: fixed background not working « HTML « IT news, forums, messages
Re: fixed background not working

Posted by Jim Moe on 05/20/06 04:19

bluerobot2007@gmail.com wrote:
> Yes that is what I thought. But if I take the HTML at the top out, it
> takes the whole background out. Same with the CSS at the bottom.
>
It does not look like you actually have access to the <head> section. So
all of the style rules you have mixed in with HTML should be removed. That
any of it works is a testament to the error recovery mechanisms of the
browsers.
All of the styling has to be done inline.

Change
<body background="the background image again">
to
<body style="background-image: url(the_image.xxx);
background-repeat:none; background-position:center center;
background-attachment:fixed">


--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)

 

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

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