|
|||||||||||||
|
Absolute Positioning with Back Ground Images
BG Pictures staying put, by Cullen Want a Back ground image to stay in the Background? and let foreground objects roll over it? and it still Stays in place? Here is Cullen,,,,,,? He is writing CSS,,,,,! A tutorial for you,,,,! When will he ever stop,,? Did the Picture follow you,,? It should be at X200 by Y200 PiXle's,,! Why is it doing this,,,,,? I will show you,,,,,,!! <head> <title>Background Absolute Positioning</title> <STYLE TYPE="text/css"> BODY {background-image: url(APCullen.gif); background-repeat: no-repeat; background-position: 200px 200px; background-attachment: fixed; } </STYLE> </head> See where it say's Style Type= this is what its calling for= next comes TEXT/CSS that is Cascading Style Sheet Next you CALL on your Body background Image here it is APCullen.gif Next line where it say's=background position is the X=Y pixle position on your Page See where it says backdround FIXED- that is telling the BG to Stay put See the /Style,,thats ending the style sheet all this goes between the <HEAD> here </HEAD> Tags WhaaaaLaaaa your done
"Building The Web Into a Nicer Place -- One Site At A Time"
|
|
|||||||||||
|
|||||||||||||