Working with a problem figuring out to have a background pic that does not move. I have seen them on myspace but never have been able to figure out how to do it by myself… Any Advice maybe someone is known for a script that i could use
Employing dreamweaver 8
Yes, you can make a background image fixed using CSS. There’s an example of this at http: //www. w3schools. com/css/tryit. aspfilename=trycss_background-attachment
. Only write " background-attachment: fixed" in the CSS for ones " body" aspect. That should work.
ok here is the code for the main page, undecided what i’m doing wrong
<! DOCTYPE html page PUBLIC " -//W3C//DTD XHTML ONE PARTICULAR. 0 Transitional//EN" " URL=" http: //www. w3. org/TR/xhtml1/DTD/xhtml1-transitional. dtd" http: //www. w3. org/TR/xhtml1/DTD/xhtml1-transitional. dtd/URL" >
< html page xmlns=" URL=" http: //www. w3. org/1999/xhtml" http: //www. w3. org/1999/xhtml/URL" >
< head>
< meta http-equiv=" Content-Type" content=" text/html; charset=iso-8859-1" />
< title> Aletheia Home< /title>
< design type=" text/css" >
<! --
body
background-color: #000000;body, td, th
font-family: Situations New Roman, Situations, serif;
text-decoration: it's unlikely that any;
font-size: medium;. style3
colour: #CCCCCC;
font-size: x-large;
font-weight: strong;a: link
text-decoration: it's unlikely that any;a: hover
colour: #0000ff;
text-decoration: it's unlikely that any;a: visited
text-decoration: it's unlikely that any;a: active
text-decoration: it's unlikely that any;a
font-family: Situations New Roman, Situations, serif;
font-size: choice;
color: #FF6600;. style30
. style45
colour: #FF6600;
font-weight: strong;. style49
color: #FF6600;
font-size: x-large;
font-weight: strong;. style50
color: #CCCC00;
font-weight: strong;. style51
color: #C0C0C0;
font-weight: strong;
font-size: small;
font-family: " Situations New Roman", Situations, serif;. style52 font-size: x-large; font-family: " Situations New Roman", Situations, serif; color: #FF6600;
. style54 colour: #478E00; font-weight: strong;
. style55 color: #FF0000; font-weight: strong;
. style56
color: #478E00;
font-weight: strong;
font-family: " Situations New Roman", Situations, serif;
font-size: choice;. style59 color: #000000
-->
< /style>
< script type=" text/JavaScript" >
<! --perform MM_preloadImages() //v3. 0
var d=document; if(d. images) if(! n. MM_p) d. MM_p=new Array();
var post, j=d. MM_p. time-span, a=MM_preloadImages. arguments; for(i=0; i< any. length; i++)
in the event (ai. indexOf(" #" )! =0) n. MM_pj=new Image; n. MM_pj++. src=ai;//-->
< /script>
< /head>
< body onload=" MM_preloadImages('Buttons/Image3. png', 'Buttons/Image4. png')" >
< kitchen table width=" 100%" align=" center" bordercolor=" #00FFFF" >
< tr>
< th scope=" col" > < div align=" left" class=" style3" > < img src=" Buttons/welcome. png" alt=" welcome" width=" 300" height=" 30" /> < /div> < /th>
< /tr>
< /table>
< kitchen table width=" 955" height=" 311" border=" 3" align=" center" cellpadding=" 0" cellspacing=" 0" bordercolor=" #FFFF66" bordercolorlight=" #008000" bordercolordark=" #FF8000" background=" backgrounds/leafback1. png" bgcolor=" #000000" >
< tr>
< th width=" 1000" height=" 285" bordercolor=" #D49F55" scope=" col" > < img src=" backgrounds/aletfallback. png" alt=" Aletheia" width=" 400" height=" 300" /> < /th>
< /tr>
< /table>
< hours noshade=" noshade" color=" #000000" />
< kitchen table width=" 100%" align=" center" >
< tr>
< th width=" 14%" scope=" col" > < any href=" About. html" class=" style59" > < img src=" Buttons/leafabout. png" alt=" leafabout" width=" 100" height=" 40" /> < /a> < /th>
< th width=" 14%" scope=" col" > < any href=" Advertise. html" class=" style59" > < img src=" Buttons/leafadvertise. png" alt=" leafadvertise" width=" 100" height=" 40" /> < /a> < /th>
< th width=" 14%" scope=" col" > < any href=" Comments. html" class=" style59" > < img src=" Buttons/leafComment. png" alt=" leafcomment" width=" 100" height=" 40" /> < /a> < /th>
< th width=" 14%" scope=" col" > < any href=" Comments. html" class=" style59" > < img src=" Buttons/leafcontact. png" alt=" leafcontact" width=" 100" height=" 40" /> < /a> < /th>
< th width=" 14%" scope=" col" > < any href=" Contact. html" class=" style59" > < img src=" Buttons/leafe-mail. png" alt=" leafe-mail" width=" 100" height=" 40" /> < /a> < /th>
< th width=" 14%" scope=" col" > < any href=" Registration. html" class=" style59" > < img src=" Buttons/leafjoin. png" alt=" leafjoin" width=" 100" height=" 40" /> < /a> < /div> < /th>
< th width=" 14%" scope=" col" > < any href=" Employment. html" class=" style59" > < img src=" Buttons/leafwork. png" alt=" leafwork" width=" 100" height=" 40" /> < /a> < /div> < /th>
< /tr>
< tr>
< th scope=" col" > & nbsp; < /th>
< th scope=" col" > & nbsp; < /th>
< th scope=" col" > & nbsp; < /th>
< th scope=" col" > & nbsp; < /th>
< th scope=" col" > & nbsp; < /th>
< th scope=" col" > & nbsp; < /th>
< /tr>
< /table>
< p> & nbsp; < /p>
< p align=" center" class=" style52" > Useful Links at Our Site and much more Information < /p>
< kitchen table width=" 100%" height=" 30" align=" center" bordercolor=" #000000&quo