Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6179111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T00:35:38+00:00 2026-05-24T00:35:38+00:00

I have set up a nice table with fixed height and weight like this:

  • 0

I have set up a nice table with fixed height and weight like this:

<table border="1" bordercolor="#ccc" style="background-color:#FFFF" width="650" height="322" cellpadding="0" cellspacing="22">
    <tr>
        <td align="center"></td>
                <td align="center"></td>
                        <td align="center"></td>
                                <td align="center"></td>
                                        <td align="center"></td>
    </tr>
    <tr>
        <td align="center"></td>
                <td align="center"></td>
                        <td align="center"></td>
                                <td align="center"></td>
                                        <td align="center"></td>
    </tr>
    <tr>
        <td align="center"></td>
                <td align="center"></td>
                        <td align="center"></td>
                                <td align="center"></td>
                                        <td align="center"></td>
    </tr>
</table>

So the cells (td) have a height and width of x and x (according to the height/width of the table)
The cells have pretty much the same dimensions. The problem is that whenever I put an img inside the cells they expand to adjust there dimensions for this. I put the img like this:

<td align="center"><img src=someimage.png></td>

What I want is to keep the dimensions of the cells whatever img I put in. So if the img is bigger than the cell it would keep its dimensions and the img would simply ”flow over” the cell.
I would really prefer to do this with CSS, but if that is impossible than I whant to try Javascript (preferably Jquery).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T00:35:40+00:00Added an answer on May 24, 2026 at 12:35 am

    You could always make them background-images of the tds they occupy. They wouldn’t “flow over” the cell borders. (Not sure what that means.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Table schema is set up something like this: userID Points timestamp 1 40 3
I have the android:cacheColorHint=#00000000 set on my ListView, which fixed this issue in one
I have set a canvas' background to an image of a company logo. I
Edit: I have solved this by myself. See my answer below I have set
My database schema looks like this: Table t1: id valA valB Table t2: id
We have set up a system where notifications get sent to a user with
I have set up transactional replication between two SQL Servers on different ends of
I have set up a version control system using TortoiseSVN at my home to
I have set up a Django application that uses images. I think I have
I have set the FlushMode property on an NHibernate session to FlushMode.Never, but when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.