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

Posted by Jim Moe on 05/19/06 23:06

bluerobot2007@gmail.com wrote:
>
> I am relatively new to HTML & (especially) CSS. A friend of mine is
> editing her myspace profile & I volunteered to take a look at it
> because she can't get the background image to stay fixed. You'd think
> it would be simple....
>
> <style type="text/css">
> body { text-align:center;
> background-color:<the background image yet again">; }
> </style><br><br>
> [...]
> <body {background-image:url(http://same background image);
> background-repeat: no-repeat;
> background-attachment: fixed;}></body>
>
What a train wreck.
You cannot mixmaster HTML and CSS like that. Style rules can be only
placed or imported in the <head> section.

--
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

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