Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 709
  • Last Modified:

valign at the bottom using css

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
Gemini532
Asked:
Gemini532
  • 3
2 Solutions
 
dlan75Commented:
Hi,
In your TD it says valign="top", change it to valign="baseline"
0
 
dlan75Commented:
Hi,
Actually to make it look a bit better it should look like :

<td style="vertical-align:baseline">
0
 
Gemini532Author Commented:
didn't work, but I added

<br><br><br> in front of the textbox and that works...
0
 
dlan75Commented:
Hi,

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

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now