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 6030621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:03:47+00:00 2026-05-23T05:03:47+00:00

I have html that looks like this simplified: <tr> <td width=500px> <ul class=menu_up> <li><a

  • 0

I have html that looks like this simplified:

<tr>
        <td  width="500px">
            <ul class="menu_up">
                <li><a href="/">Home</a></li>
                <li><a href="/about">About</a></li>
                <li><a href="/services/services-list">Services</a></li>
                <li><a href="/links">Links</a></li>
                <li><a href="/contact">Contact</a></li>
            </ul>
        </td>
        <td width="375">
            <img src="/images/11_03.gif" alt="" height="39"/>
        </td>
       </tr>

website URL:
jdemkovitchcpa.com

In compatibility mode table cell with image expands row to 42 pixels thus breaking layout (should be 39 high)

I checked in developer tool and can’t see anything wrong with it. Image indeed 39. Table row 42. Table cell with UL also 39 but has 2 offset.

If I remove image from cell it becomes 39. If I remove UL it stays 42.

Screenshot of misalignment:
enter image description here

Screenshot of image layout:
enter image description here

Screenshot of cell enclosing image layout:
enter image description here

  • 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-23T05:03:48+00:00Added an answer on May 23, 2026 at 5:03 am

    This is likely because the image element is an inline element. It’s displayed as a block on a text line, and the default alignment is that it’s placed on the base line of the text line. As there is a gutter below the base line (to have space for hanging characters like g and j), there is some distance between the bottom of the image and the bottom of the text block.

    Try to make the image a block element and see if it fixes the space:

    <img src="/images/11_03.gif" alt="" height="39" style="display:block;"/>
    

    (The style would of course then go in your style sheet if it works.)

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

Sidebar

Related Questions

I have some HTML that looks like this: <div> <div class=value> <a href=# class=clicker>Some
I have some HTML that looks like this: <ul class=faq> <li class=open> <a class=question
I have some HTML that looks like this: <div class=MyClass></div> <div class=MyClass></div> <div class=MyClass></div>
I have HTML that looks like this: <body class=style_0> <div> <div class=style_1>Pending Test List</div>
I have html that looks like this, <div> <span>Text <a href=example.html>ABC</a> <a href=example.html>DEF</a> <a
I have HTML that looks like this: <div class=item-list> <h3>Monday Sep 21</h3> <h3>Tuesday Sep
Lets say that I have a HTML that looks like this: <div class=aaa><span>1</span></div> <div
I have some HTML that looks like this: <h2>Heading</h2> <div class='myClass'> <h2>Another Heading</h2> </div>
I have a simple HTML page that looks like this: ...<div id="main"> <a href="#">Click
If I have some HTML that looks like this: <div id=text> This is some

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.