Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes HTML, CSS and JavaScript and the fly likes Alignment inside table cell Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Alignment inside table cell" Watch "Alignment inside table cell" New topic

Alignment inside table cell

Manikandan G

Joined: Sep 14, 2002
Posts: 4
The textarea is middle aligned in a cell (TD). The label of the textarea is also aligned at the middle of the texarea.
Is there anyway that the label is left aligned to the textarea (not to the cell) as shown below.

[ October 09, 2002: Message edited by: Thomas Paul ]

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63862

I have the feeling that your diagram didn't come out as intended. You might want to edit your post and put CODE "tags" around it.

[Asking smart questions] [About Bear] [Books by Bear]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
put it into another table
<td align="center" valign="center">
<table border='0' align="center">
<tr><td align="left">
<p>Title Text</p>
<textarea rows="20" cols="20" name="HiThere">
I agree. Here's the link:
subject: Alignment inside table cell
It's not a secret anymore!