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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:27:06+00:00 2026-05-27T22:27:06+00:00

I want my elements to align to the top (elements in a table). Now

  • 0

I want my elements to align to the top (elements in a table).
Now i have:

xxx yyy zzz
    yyy 
qqq fff ggg   

and I want:

xxx yyy zzz
qqq yyy ggg
    fff   

code:

<html>
<style type="text/css">
td {vertical-align:top;padding-right:30px;width:20px;}
th tr {width:220px;}
</style>
<table border="0">
    <tbody>
        <tr>
            <th>header</th>
            <th>header</th>
            <th>header</th>
        </tr>
        <tr>
            <td>td1</td>
            <td>td2 bla bla bla bla bla bla blablablablablablablablablablabla</td>
            <td>td3</td>
        </tr>
        <tr>
            <td>td1</td>
            <td>td2</td>
            <td>td3</td>
        </tr>
    </tbody>
</table>
</html>

I have a fiddle: the fiddle

Thanks in advance

  • 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-27T22:27:07+00:00Added an answer on May 27, 2026 at 10:27 pm

    If you are not bothered about the content remaining in the x/y position it has been set at in the table, I’m guessing this isn’t tabular data, and therefore you shouldn’t be using a table..

    Therefore I would recommend using div’s and CSS to position this content

    http://www.vanseodesign.com/css/3-column-css-layout/

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

Sidebar

Related Questions

If you have a list in python, and you want the elements from 2
I have a list of elements and want to takeWhile the sum (or any
If you have a list in python, and want to extract elements at indices
I a template, I have five DIV elements underneath each other on a HTML
I have HTML content that generates a dynamic number of span elements with accompanying
I am creating a calendar using a HTML table. I have a problem where
The following code will display 3 inline-block elements, collectively centered. I want to display
I have a div that I want to appear on top of some UI
I want to right-align an inline element to the right of a div .
I want to filter elements from a list of lists, and iterate over the

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.