wood burning stoves 2.0*
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: 60782

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] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
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">
Consider Paul's rocket mass heater.
subject: Alignment inside table cell
Similar Threads
how to design a form for a real life application
Execute JavaScript Inside Textarea
Centering Text in TEXTAREA
controls:table in jsp
textarea tag problem