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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:55:31+00:00 2026-06-11T03:55:31+00:00

I have a tr element with 3 td elements. The first and last td

  • 0

I have a tr element with 3 td elements. The first and last td contain an image and the middle td contains text. The height of the middle td is effected by the height of the images in the first and third td. How do I code it so the middle td always has a fixed height smaller than the first and third. Or, another way of asking the question is, how do code it so the height of each td’s contents does not effect a sibling td? I’m trying to make a ribbon with a wrap around effect for an html email..

Setting a height on the middle td with CSS did not work.

 <table align="center" style="width:740px;" border="0" cellpadding="0" cellspacing="0">

    <tr>
          <td>
          <img style="border:none;" src="imageAlt2/sliceLeft.png" /></td>


      <td style=" background:#0082c8; color:#fff; padding:20px 50px;">"The amount of time it has saved us is pretty much immeasurable" </td>

            <td><img style="border:none;" src="imageAlt2/sliceRight.png" /></td>
    </tr>
  </table>

For the screen below you see the middle and third td. The middle td’s height is effected by the height of the image in the third td. Obviously, to get the 3D effect, the middle td needs to have a shorter height.

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-06-11T03:55:32+00:00Added an answer on June 11, 2026 at 3:55 am

    Using CSS to specify a height on the td’s only works if the height is larger then the height of the img (in other words, the td’s cannot be smaller then the img). this is just the way tables work.

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

Sidebar

Related Questions

I have a div which contains 2 elements. First element is a span and
I have a MIB where 3 tables contain as first element items marked as
I have put few elements in array (e.g. 5 elements) The first element, index[0]
For example, I have two elements in an enum. I would like the first
I have a navbar with 4 elements in it. The first is just a
I have two kind of elements <i rel=tooltip class='icon-ok'> <i title=Teste class='icon-info'> The first
we want to have the second biggest element. We first use ANY to exclude
I have elements with class selectElement. When I click on element with that class,
I have a number of message elements that come in pairs: If element A1
I have a 3 elements stacked on top of each other. The top element

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.