Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

valign at the bottom using css

Posted on 2007-11-21
4
Medium Priority
?
706 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 2000 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 2000 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

Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
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…

705 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