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 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 Posttry applying this style to a div pair inside the table cell.
.imlim {width: 25px; height: 25px; overflow: hidden;}
Jump to PostOnly people who can mark thread as solved is original poster or member of moderators team, but we usually leave it to poster
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.