The way you'd do that is using this CSS;but substitute the hexidecimal colour value of your darkest grey instead of #80B4CCCode:
background:#80B4CC url('path/to/img.jpg') 50% 0% repeat-y;
Sorry, no - you need to use both. CSS needs to target an element in HTML, in this case the 'html' part references the entire web page document.Quote:
Is their a way to set this using HTML instead of CSS.
I'm not sure exactly what you mean. You could be referring to a transparency gradient or a flat colour gradient...Quote:
The gray has a gradient so changing the background color shows.
Transparency gradient? - The tile is a jpg which means that it offers no alpha-transparency. Neither would a gif or png-8. The only web image format that would support alpha-transparency, and therefor result in a gradient where the background could potentially show through, is a png-24. You uploaded a jpg tile though so this wouldn't cause a see-through effect.
Colour gradient? - You're probably not using an exactly colour match in the background and on the edge of the tile. Make sure you have sampled the outermost dark grey of your tile and substituted it into the CSS hexidecimal colour value referenced above, then that will give a seamless result like the Yahoo page.
Another possible cause for a colour mismatch could be due to the speckled artefacts that are sometimes evident in jpgs. Try converting to a png-8 or gif format where any colour loss in the gradient should be more uniform and predictable.
If you need any more help, please post a link to your page.