aspose file tools*
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
Author

Alignment inside table cell

Manikandan G
Greenhorn

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 ]

Man(i)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61648
    
  67

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.
hth,
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
put it into another table
<td align="center" valign="center">
<table border='0' align="center">
<tr><td align="left">
<p>Title Text</p>
</td></tr>
<tr><td>
<textarea rows="20" cols="20" name="HiThere">
HMMMMM
</textarea>
</td></tr>
</table>
</td>
 
jQuery in Action, 2nd edition
 
subject: Alignment inside table cell