Androo Yeah, Androo. Sep 5, 2003 #1 Hey, I was wondering, what is the php code to make a background stay put while scrolling? Thanks, Androo.
Hey, I was wondering, what is the php code to make a background stay put while scrolling? Thanks, Androo.
BitWit Flash/JavaScript nerd Sep 5, 2003 #2 Well, this isnt exactly php, but here's the css style definition to put into your <BODY> tag: PHP: style="background-repeat: no-repeat;" and a good reference for many CSS properties: http://www.htmlhelp.com/reference/css/properties.html
Well, this isnt exactly php, but here's the css style definition to put into your <BODY> tag: PHP: style="background-repeat: no-repeat;" and a good reference for many CSS properties: http://www.htmlhelp.com/reference/css/properties.html
Androo Yeah, Androo. Sep 5, 2003 #3 hehe thanks.. nb3004 suggested something also... in the <body> tag, make it look like this: <body background="whatever.jpg" bgproperties="fixed">
hehe thanks.. nb3004 suggested something also... in the <body> tag, make it look like this: <body background="whatever.jpg" bgproperties="fixed">
mr. k Registered Sep 5, 2003 #4 Yeah but androo you are writing tag-soup! Why is bloated html bad? Please see http://webstandards.org/learn/ ... Thanks for listening to me...
Yeah but androo you are writing tag-soup! Why is bloated html bad? Please see http://webstandards.org/learn/ ... Thanks for listening to me...
Captain Code Moderator Staff member Mod Sep 24, 2003 #5 Yes, please follow HTML standards! Although I don't know if the bgproperties is a valid HTML 4.0 property for the body tag(don't want to look ) if it isn't you should stick to the stylesheet.
Yes, please follow HTML standards! Although I don't know if the bgproperties is a valid HTML 4.0 property for the body tag(don't want to look ) if it isn't you should stick to the stylesheet.