Welcome visitor
* Login
* Register
It is currently May 20th, 2019, 6:31 am
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
  Fix the background to the content
PostPosted: September 30th, 2009, 10:20 pm 

Posts: 19
Hello, on the site that im working right now the body has this style
body, html{width: 700px; 
height: 100%;
background: url('background.jpg')}

the problem is that the background fills all the screen not the 700px. How can i do it to make it stay inside the 700px?


Top
 Profile  
 
  Re: Fix the background to the content
PostPosted: October 1st, 2009, 2:20 am 

Posts: 117
Put the content inside a div and that style should be for the div and not for the body, cheers


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