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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:07:40+00:00 2026-05-29T23:07:40+00:00

I have the following html: <style type=text/css> .message-view-value-td { vertical-align:bottom; } </style> <table width=600>

  • 0

I have the following html:

<style type="text/css">
.message-view-value-td {
    vertical-align:bottom;
}
</style>
<table width="600">
<tr>
<td valign="top" width="15%" class="message-view-label">
    <xsl:text>Really long text here that will wrap:</xsl:text>
</td>

<td class="message-view-value-td" width="35%">
    value1
</td>

<td valign="top" width="15%" class="message-view-label">
    <xsl:text>Short_Label:</xsl:text>
</td>

<td class="message-view-value-td" width="35%">
    value2
</td>
</tr>
</table>

Without creating two inner tables for each label/value, is it possible to vertical align “value2” with “Short_Label” independently from “value1” alignment? So that each value aligns at the base level of it’s corresponding label.

It should look like:

Really long                     Short_Label:        Value2
text here 
that will
wrap:               Value1   

Another long                    Another_label:      Value4
text value:         Value3

Thanks!

UPDATE-1: even if I create inner tables, I get into another issue: Value1 and Value3 should be left-aligned to each-other. Inner tables solve the first issue but they break this left-alignment of the values.
Now I really don’t know any solution to solve it 🙂 Hope someone could shed some light here.

UPDATE-2: is this even possible with a CSS-based solution?

  • 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-29T23:07:41+00:00Added an answer on May 29, 2026 at 11:07 pm

    The short answer to your question is “No,” it cannot be done. If you can reconfigure your html some, then you have a chance of getting what you want while keeping it in a single table.

    Take a look at this fiddle: http://jsfiddle.net/5U3yc/16/.

    It uses span around your label and value within a single table cell to get your desired effect.

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

Sidebar

Related Questions

I have the following code <html> <head> <title>Test</title> <style type=text/css> <!-- body,td,th { color:
I have the following code: CSS part: <style type=text/css> .menu { width:200px; } .menu
I have the following file: <html> <head> <title></title> <link rel=css type=text/css href=/empty.css title=css />
I have following HTML layout <html> <head> <title></title> <meta http-equiv=Content-Type content=text/html; charset=UTF-8> <style type=text/css>
I have the following code: <head> <meta http-equiv=Content-Type content=text/html; charset=UTF-8> <title></title> <style type=text/css> body
I have the following HTML (note the CSS making the background black and text
I have the following file file: <html> <head> <title></title> <script type=text/javascript src=/Prototype.js></script> <script type=text/javascript>
I have the following code <html> <head> <meta http-equiv=Content-Type content=text/html; charset=utf-8 /> <title>Untitled Document</title>
I have the following html- <head> <meta http-equiv=Content-Type content=text/html; charset=UTF-8 /> <title>Untitled Document</title> <style
I have the following HTML <html xmlns=http://www.w3.org/1999/xhtml > <head runat=server> <title></title> <style> .box {

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.