Here is my website
http://albuquerqueautomotiveservice.com/
but I coded it in my old computer and its monitor is rather squared then widescreen.
I just noticed in my laptop the right side of the page is gray.
How can I make sure it stretches only horizontally?
body {
background:#333 url(bg.jpg) no-repeat;
width: 100%;
font-family:Arial;
cursor: url(images/wrench.cur);
}
That’s what
background-sizeis for:If you support IE < 9, you’ll have to use their proprietary filter:
Another option for IE would be to have the image as an actual
imgtag in your HTML:Then use this piece of code in your CSS: