clankill3r Posted November 11, 2011 Share Posted November 11, 2011 How can i get a image in a rectangle without scretching the image? I just want to center the image and have it set as background but i don't know what element to use for that. Quote Link to comment Share on other sites More sharing options...
sunfighter Posted November 12, 2011 Share Posted November 12, 2011 <style type="text/css"> body { background: url('images/PoweredByPopBox2.gif') no-repeat center center; } </style> Quote Link to comment Share on other sites More sharing options...
clankill3r Posted November 13, 2011 Author Share Posted November 13, 2011 thanks but that's not what i meant, i should have been more clear. I want to show multiple images in columns: [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] And therefore a image like this [ ] should be a rectangle so that's why i want to center them since often there is the more important content of a image. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.