Welcome visitor
* Login
* Register
It is currently March 23rd, 2019, 8:25 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  a background image question
PostPosted: April 4th, 2009, 1:19 am 

Posts: 13
hey, how can i put the background image just once and right on the center? thanks.


Top
 Profile  
 
  Re: a background image question
PostPosted: April 4th, 2009, 1:29 am 
User avatar

Posts: 86
http://scriptingok.com/forum/viewtopic.php?f=5&t=145
Just change the percentages from the example.

html, body {    background-image: url(file);    
background-attachment:fixed;   
background-repeat: no-repeat;   
background-position: 50% 50%;    }


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


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 post attachments in this forum

Search for:
Jump to:  
cron