Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Textbox to have a minimun height but be able to fill the cell if there is additional room

Reply
Thread Tools

Textbox to have a minimun height but be able to fill the cell if there is additional room

 
 
AAaron123
Guest
Posts: n/a
 
      07-25-2008
I have a asp.table.
The table is in a master
One of the cells contains a text box.
I fix the box's height.
When the page opens depending on what is in the other cells the box may
determine the row height because it is the tallest in the row.
That works great.

However if other cells in the row are taller than the box there is wasted
space under the box. That is, the box would still fit if it were taller.

What I'd like is for the box to have a minimum height but be able to fill
the cell if there is additional room.

Is that possible?




 
Reply With Quote
 
 
 
 
Gaurav Vaish \(a.k.a. MasterGaurav\)
Guest
Posts: n/a
 
      07-27-2008
> What I'd like is for the box to have a minimum height but be able to fill
> the cell if there is additional room.


No. The CSS attributes cannot be conditional.

You may, however, wish to specify the box's height as 100% and the font-size
as something like 14px or the like.


--
Happy Hacking,
Gaurav Vaish | http://dwt.sourceforge.net
http://blogs.mastergaurav.com | http://eduzine.edujini-labs.com
--------------------------------




 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
textbox height different than input height tshad ASP .Net 1 03-08-2007 10:04 PM
how to get specific cell height without hard-coding a height value laredotornado@zipmail.com HTML 0 08-19-2006 08:13 PM
Minimun permissions needed to perform Exchange related Tasks =?Utf-8?B?Z2JveWQ=?= MCSE 0 10-20-2005 03:16 PM
Minimun hardware change to trigger WinXP reactivation Frank Computer Support 2 09-06-2004 04:45 PM
textbox height = containing cell height - x JC ASP .Net Web Controls 2 08-02-2004 08:28 PM



Advertisments