By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,192 Members | 1,248 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,192 IT Pros & Developers. It's quick & easy.

repeat instead of stretch

P: 5
When you give an image a certain height or width that is different from its original, html stretches the image, is there a possibility how you can repeat that image in that area instead of stretching it?
Oct 29 '06 #1
Share this Question
Share on Google+
3 Replies

Expert 5K+
P: 7,435
Make it a background image, then repeat it:

and/or y.
Oct 29 '06 #2

P: 5
i can't make it a background image
Oct 30 '06 #3

P: 25
Why are you unable to make it a background image?

If you need it a certain size to fill a space and you don't want it to be a background image, you'll need to rebuild the image to tile the biggest space you can imagine it will need, then position it so other div layers hide the bits that aren't necessary.

Which seems like a whole lot of gyration because a background-image is the way to go to save your hair!

Oct 31 '06 #4

Post your reply

Sign in to post your reply or Sign up for a free account.