Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alignment of a table cell
Message
From
23/04/2006 12:28:45
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01115738
Message ID:
01115817
Views:
7
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform