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
Solved

valign at the bottom using css

Posted on 2007-11-21
4
699 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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Asp in server side with Mssql Server 7 4 27
SSRS 2016 Rendering HTML tables 3 25
Insert Button on a table 16 36
Why is initialize not a function? 8 17
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

807 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