Hello, I was wondering if there would be a way I could place an image without it overflowing. So say if there is images within each table cell in a row where each cell is 25 x 25, and the image is 50 x 50, I want to place the 50 x 50 image at full size within each cell, without the image overflowing into the next cell, while keeping each cell 25 x 25.
adaykin
0
Junior Poster in Training
Recommended Answers
Jump to PostSo you want a 50x50 image to fit inside a 25x25 cell? It sounds like you are trying to fit 48 ounces of water into a 24 ounce bottle. I'm sorry but I'm not understanding what you ask.
Jump to PostThat is as clear as a mud puddle.
What do you WANT it to do?
You have the following choices:
- Use an image editor to either crop or shrink the image until it is 25X25. (Is that pixels, cm, or what?)
- Do the same, …
Jump to Postmmm i think there's no solution to fit all of your image in 25x25 cell (because your images not all in square). If you push it that way you can set default value for height or width in your php script. But i think its better to make image thumbnails …
All 11 Replies
buddylee17
216
Practically a Master Poster
adaykin
0
Junior Poster in Training
MidiMagic
579
Nearly a Senior Poster
adaykin
0
Junior Poster in Training
rudevils
0
Junior Poster in Training
sreein1986
0
Posting Whiz
adaykin
0
Junior Poster in Training
MidiMagic
579
Nearly a Senior Poster
Troy III
272
Posting Pro
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
Troy III
272
Posting Pro
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.