HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
I cant rember that code, Backgrounds
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
asmadaus



Joined: 21 Feb 2006
Posts: 4

PostPosted: Tue Feb 21, 2006 11:14 pm     I cant rember that code, Backgrounds Reply with quote

I'm trying to keep my background "solid" while a viewer is scrolling. I am using raw html on an iBook, and viewing it on safari and netscape. what is the code that I need to use? what do I need to do to make shure that explorer users can view my page?
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8205
Location: Castle Rock CO USA

PostPosted: Wed Feb 22, 2006 4:16 am     Reply with quote



CSS Background
Code:
body
{
background-image: url('images/background.gif');
background-attachment: fixed;
}
</style>


_________________
Corey
Loud Commerce | Loud Worx | Toll Free Solutions
asmadaus



Joined: 21 Feb 2006
Posts: 4

PostPosted: Wed Feb 22, 2006 3:43 pm     RE:I cant rember that code, Backgrounds Reply with quote

I'm using appple works for my coding program. for some reason that code did not work here is what I have so far. any other suggestions?
<html>
<title>Pics page</title>
<body link="yellow">
<body alink="red">
<body vlink="green">
<body background="Background 3.jpg">
<bgsound src="Track 1 Movie.aiff">
<center><h1>Pics</center></h1>
<hr color="red">
<center><img src = "Photo_021506_003.jpg"></center>
<hr color="yellow">
<center><img src = "AH-64.tiff"></center>
<hr color="yellow">
<center><img src = "jeep.tiff"></center>
<hr color="yellow">
<center><img src = "Photo_121705_001.jpg"></center>
<hr color="yellow">
<center><img src = "Photo_121705_005.jpg"></center>
<hr color="yellow">
<center><img src = "rc10-13.jpg"></center>
<hr color="yellow">
<center><img src = "Truck.JPG"></center>
<hr color="yellow">
<center><img src = "cowgril.jpg"></center>
<hr color="red">
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8205
Location: Castle Rock CO USA

PostPosted: Wed Feb 22, 2006 4:02 pm     Reply with quote

If you did not delete you background attribute in your opening <body> tag, that is why it did not work.

Also you need to reduce the opening <body> tags to one.

_________________
Corey
Loud Commerce | Loud Worx | Toll Free Solutions
asmadaus



Joined: 21 Feb 2006
Posts: 4

PostPosted: Wed Feb 22, 2006 5:28 pm     RE:RE:I cant rember that code, Backgrounds Reply with quote

Got it to work thank you:)
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> CSS All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial