HTML Tutorial


 /help/HTML Help Forum   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!
static backgrounds
Post new topic   Reply to topic    HTML Help Forum -> General HTML
View previous topic :: View next topic  
Author Message
bobgsi



Joined: 11 Jan 2005
Posts: 1

PostPosted: Tue Jan 11, 2005 7:06 am     static backgrounds Reply with quote

hi there, can you please tell me the way to keep an image static as ytour background, and just have the text scrolling over it please?

bob
chrisxkelley



Joined: 07 Dec 2004
Posts: 246

PostPosted: Tue Jan 11, 2005 12:28 pm     Reply with quote

try using css to define your bg, then specify that you want it "fixed" with "no repeat".

example:
Code:

<style type="text/css">
body{
background-image:url("YOUR_IMAGE.JPG");
background-attachment:fixed;
background-repeat:no repeat;
}
</style>


Try that... i hope it's what you are talking about... Wink

cheers;
chris
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum -> General HTML 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 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

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