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)
[Back to original message]
|