Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alignment of a table cell
Message
De
23/04/2006 12:28:45
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01115738
Message ID:
01115817
Vues:
8
>You have applied a css selector called "field" to the table cell. Are you setting the text-align property in that style? If so that would override the align left.

I couldn't find anything wrong with the stylesheet. This is what we have been using in the VFP environment before migrating to .NET and it always worked. There was some extra code in the HTML layout for that page. Once I removed it, the problem went away. This is the new HTML:
              <table cellspacing="0" cellpadding="2" align=CENTER>
                <tr> 
                  <td></td>
                  <td><font face="Arial, Helvetica, sans-serif"><b><font size="3">Login to 
        Dashboard </font></b></font></td>
                </tr>
                <tr> 
                  <td class="label">User ID:</td>
                  <td><input type="text" size="20" maxlength="10" id="Username" name="Username" value=""></td>
                </tr>
                <tr> 
                  <td class="label">Password:</td>
                  <td><input type="password" size="20" maxlength="10" id="Password" name="Password" value=""></td>
                </tr>
                <tr> 
                  <td></td>
                  <td nowrap><input type=submit value="Enter Dashboard" name="submit"></td>
                </tr>
              </table>
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform