Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making select to expand full width of the table cell
Message
 
 
To
All
General information
Forum:
CSS
Category:
Coding, syntax and commands
Title:
Making select to expand full width of the table cell
Miscellaneous
Thread ID:
01668101
Message ID:
01668101
Views:
33
Hi everybody,

We have VFP application that generates HTML and it's shown in C++ application through some internal browser available in C++ (not exactly sure what it is, similar to VFP WebBrowser control).

Anyway, here is part of the htm template:
<TR><TD>Home Shop for this TechStation:</TD><TD>
                <SELECT NAME="HomeShop" class="fullwidth">
                <LOOP Table=csrO_RentalShops><OPTION <<IIF(lnHomeRentalShop = csrO_RentalShops.shop_no, [SELECTED], [])>> VALUE="<<csrO_RentalShops.shop_no>>"><<alltrim(csrO_RentalShops.descrip)>></Option></LOOP>
                </SELECT></TD></TD>
I added a new class to the simple css used with this application:
.fullwidth  {width: auto;}
Unfortunately, it made no difference in appearance. The select still takes just enough to show its content and doesn't expand to the width of the cell.
Do you know if there is a simple css I can use to make it look nicer?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform