Solved

valign at the bottom using css

Posted on 2007-11-21
4
704 Views
Last Modified: 2013-11-19
Is it possible to valign code at the bottom using css?

My code is so confusing becuase it allings on the top and I don't know why

Of course a lot of is controled by CSS so that's what I think is happening
can you help me?

Here's the code:

      <td valign="top" align="left"    width="250">From third country sources (specify countries):
      <br>
      <textarea name="ThirdCountry" id="ThirdCountry" cols="30" rows="2"><%=sThirdCountry%></textarea>
      

      <td class="responseinside" align = "right" valign="bottom">$<input  type="text" maxlength = "9" size = "12" name="fundThirdEquity" id="fundThirdEquity" value="<%= (dblfundThirdEquity) %>" class="money" onBlur="this.value=formatCurrency(this.value); CalculateEquity(); CalculateGrandTotal();"></TD>


Would it helped if I created a height for the column?  I mean it's stretched because the first column with the textarea stretches it, but I just want the second column to be aligned at the bottom, and I can't figure out how to do it...     :(

Angie

0
Comment
Question by:Gemini532
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 12

Assisted Solution

by:dlan75
dlan75 earned 500 total points
ID: 20330637
Hi,
In your TD it says valign="top", change it to valign="baseline"
0
 
LVL 12

Accepted Solution

by:
dlan75 earned 500 total points
ID: 20330651
Hi,
Actually to make it look a bit better it should look like :

<td style="vertical-align:baseline">
0
 

Author Comment

by:Gemini532
ID: 20331063
didn't work, but I added

<br><br><br> in front of the textbox and that works...
0
 
LVL 12

Expert Comment

by:dlan75
ID: 20331123
Hi,

<br> is a line break (carriage return), this is not the best way to do it but if it works :-)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question