Hi all, i been trying to make a background or a border line to repeat vertically, like the line or pic will draw or show from top till bottom.
one way is to define the table height or else the table wont stretch till the bottom, but different ppl have different monitor size so if i stretch too much there will be a stroll bar on the right which shldnt appear if the resolution is high enough, and if i stretch too little, the border or pic cannot repeat from top till bottom.
i have tried putting the height 1200 and in css declare html{overflow:hidden}, it works, but only for those with big resolution monitor and those low resolution like 800 x600 will have difficulties as the content will be hidden.
[LIST]
[]Make a .gif file with a part of your line (for example 20px high)
[]Attach this to the body with css(see code below)
[*]Let is repeat verticaly (see code below)[/LIST]So here is the code, let’s assume that you called your gif “bg.gif”:
body {
background-image: url(bg.gif);
background-repeat: repeat-y;
}
this is the site tat i’m working on, the vertically line on both the left and right cannot span vertically throughout the screen even i if i set 100%, the only way is to set a height, but when ppl with low resolution monitor will see a scroll bar if the height is set too much, and if set too little, ppl with high resolution will see the line end and not span fully verticllly.