Monday, March 26, 2012

image size

Hello

I added a background jpg file into my report. It seems the image is bigger then my page size, is there any way I can say fit the image size to page size?

Sounds like your image is huge! Why not make a smaller image and do a repeating background?

Background Image Repeat

You can have a background image repeat vertically (y), horizontally (x), in both directions, or in neither direction.

CSS Code:

p {
background-image: url(smallPic.jpg);
background-repeat: repeat; }
p {
background-image: url(smallPic.jpg);
background-repeat: repeat-y; }
p {
background-image: url(smallPic.jpg);
background-repeat: repeat-x; }
p {
background-image: url(smallPic.jpg);
background-repeat: no-repeat; }

No comments:

Post a Comment