Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - Force table row to fixed height

 
Thread Tools Search this Thread
Old 09-20-2006, 08:56 PM   #1
Default Force table row to fixed height


Hi,

I want to force a table row to always use the exact same height, even
if some data in a cell may produce additional lines which would
normally cause the row to heighten. Instead I want this cell to be
furnished with scrollbars (or the excessive data should simply vanish
under the lower border of the cell) if there are additional lines.

Is that doable? TIA for any hint on this!

Regards
DC



DC
  Reply With Quote
Old 09-21-2006, 05:02 AM   #2
richard
 
Posts: n/a
Default Re: Force table row to fixed height


"DC" <> wrote in message
news: oups.com...
> Hi,
>
> I want to force a table row to always use the exact same height, even
> if some data in a cell may produce additional lines which would
> normally cause the row to heighten. Instead I want this cell to be
> furnished with scrollbars (or the excessive data should simply vanish
> under the lower border of the cell) if there are additional lines.
>
> Is that doable? TIA for any hint on this!
>
> Regards
> DC
>


Hint: Search for "auto scroll".

  Reply With Quote
Old 09-22-2006, 11:00 AM   #3
DC
 
Posts: n/a
Default Re: Force table row to fixed height

Thank you, that helped. Since I also wanted the text to be centered
vertically, I ended up with something like this:

<td>
<div style="width:100%;height:39px;overflow:auto">
<table style="width:100%;height:100%">
<tr>
<td valign="center" style="overflow:auto;">
<span>This text could be long and it is not supposed to heighten
the row</span>
</td>
</tr>
</table>
</div>
</td>

richard wrote:
> "DC" <> wrote in message
> news: oups.com...
> > Hi,
> >
> > I want to force a table row to always use the exact same height, even
> > if some data in a cell may produce additional lines which would
> > normally cause the row to heighten. Instead I want this cell to be
> > furnished with scrollbars (or the excessive data should simply vanish
> > under the lower border of the cell) if there are additional lines.
> >
> > Is that doable? TIA for any hint on this!
> >
> > Regards
> > DC
> >

>
> Hint: Search for "auto scroll".


  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump