Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alignment of a table cell
Message
 
À
23/04/2006 12:28:45
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01115738
Message ID:
01115842
Vues:
5
Thats often the best solution to quirky html rendering problems.

>>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>
>
Michael McLain
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform