|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi all,..
If anyone can tell me how to get my page to be scrollable over a background which remains static,.. could you PLEASE tell me how to do it,.? I am a beginner at html/java and need help! If you are unsure of the effect I am referring to, go here: http://underworld.fortunecity.com/croft/219/dino.html This page is a perfect example of EXACTLY what I mean. Please email me if you can help. Any/all help much appreciated. Thanks in advance snake |
|
#2
|
|||
|
|||
|
all you need to do is insert the bgproperties="fixed" in the <body header. If you need to see how it is done, just go to the page and right click on the main frame and select view source. The line you need is again in the body header.
|
|
#3
|
|||
|
|||
|
A fixed background can also be achieved with a Cascading Style Sheet: <link rel=stylesheet href="your_style_sheet.css type="text/css">or a Style block in the <head></head> section: <style type="text/css"></style>. The style command is the same: body {background-attachment: fixed} Also, a style command can be placed "inline": <body style="background-attachment: fixed"> However, I see no real advantage to the Style approach unless you were using a CSS to affect many pages and didn't want to type bgproperties="fixed" many times.
P.S. Netscape(4.0) doesn't execute a fixed background any way I've tried (let me know if you find a way). Good Day. kenezmn |
|
#4
|
|||
|
|||
|
java has nothing to do with javascript, please use the right names!!!!
|
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Scrolling over a static background..? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|