Solved

valign at the bottom using css

Posted on 2007-11-21
4
691 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
  • 3
4 Comments
 
LVL 12

Assisted Solution

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

Accepted Solution

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

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

Author Comment

by:Gemini532
Comment Utility
didn't work, but I added

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

Expert Comment

by:dlan75
Comment Utility
Hi,

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

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
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 …
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn how to dynamically set the form action using jQuery.

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now