Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making select to expand full width of the table cell
Message
 
 
À
Tous
Information générale
Forum:
CSS
Catégorie:
Codage, syntaxe et commandes
Titre:
Making select to expand full width of the table cell
Divers
Thread ID:
01668101
Message ID:
01668101
Vues:
34
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform