html - Text-align right not working in IE7 -


i have table being generated 1 of columns needs text aligned right. right looks this:

<td class="generatedclass" id="generatedid" style="width:20px; text-align:right;">    <label id="generatedrowid"> text here </label> </td> 

it works in ie9 , ie8, reason not ie7. have idea why might not working? note, inline styles being created json objects. don't having inline styles, wasn't call.

your code looks should work. probably, ie7 not updating dom after these inline styles being applied.

i recommend opening page in ie10 , going ie7 page mode. should able inspect styles on element , find out if they're being applied, overridden, etc.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -