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

  • Home
  • SEARCH
  • 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 8477473
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T18:28:40+00:00 2026-06-10T18:28:40+00:00

Whenever I try to absolutely position a TD inside a TR, the TD’s top:

  • 0

Whenever I try to absolutely position a TD inside a TR, the TD’s top: and left: CSS properties align it with the page or the table as reference and not its direct parent (TR with position:relative set).

Here’s my code. (notice the first TR is at the bottom of the result window due to this issue) I am trying to align the TD with the “Headline” text to take 50% of the row and the “Text” to take up the remaining 50%.

I realize this can be done by moving both elements inside a single TR and placing them in two TDs, but the HTML code is generated server-side in this case, so I am stuck to trying to achieve this via CSS. Basically, modifying the HTML code is not an option.

  • 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-10T18:28:42+00:00Added an answer on June 10, 2026 at 6:28 pm

    Use display:inline.

    I just added table tr {display:inline} to your code and its done 😉 demo Fiddle

    But really For layouts tables are evil dont use them
    http://phrogz.net/css/WhyTablesAreBadForLayout.html

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

Sidebar

Related Questions

Whenever i try to run sqlmetal, i get this: 'sqlmetal' is not recognized as
Whenever I try to find say, the body of the returned page from AJAX,
Whenever i try to make a div with width 100%, it does not go
Whenever i try to open my Entity Model, i get a not very helpful
Whenever I try to add this line it crashes my app. Am I not
Whenever I try to create more than one table in actionscript, only the first
Whenever I try to run adb devices : $ adb devices * daemon not
Whenever I try to push in Git I get this: You have not concluded
Whenever I try installing anything using gem, I get this error - murtaza@murtaza-dev:~$ sudo
Whenever I try to edit existing or create new distribution provisioning profile on iOS

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.