Welcome visitor
* Login
* Register
It is currently July 15th, 2019, 8:07 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
  tile background vertically on two columns
PostPosted: September 30th, 2009, 10:05 pm 

Posts: 30
Good day ppl, today i would like to add a background to my site that is tiled vertically but on both sides of the screen, do you know the css for this?


Top
 Profile  
 
  Re: tile background vertically on two columns
PostPosted: October 1st, 2009, 2:40 am 

Posts: 117
There's not a css for this. I think you have already seen the
body{background-repeat:repeat-y;}

The problem would be that this will not work for all resolutions if you have a fluid design. But maybe this suits your needs.

You can use the previous css plus this div
body
{background-image:url('bg.gif');
background-repeat:repeat-y;}
#bgdiv
{background-image:url('bg.gif');
background-repeat:repeat-y;
background-position:top right;
width: 100%;
height:1200px;}

the height of the div and the name of the file are just for educational purposes


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