Click here to Skip to main content
16,017,986 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
In ASP.NET web application, first row of gridview is cloneed at runtime. All the css styles are copied well and applied.

But, problem is that there is a feature of configurable font size which changed the font size of all controls in application according to user specification (12 px, 14px, 16px, etc). When font size is changed column alignments is not maintained in clonned row of grie view.

In fact, when font size is changed the row's cells automatically set the width of cells of row in html table to accomodate full text which they contains.

How to restrict this from happening because I had assigna fixed pixels width to column and need to maintain that.
Posted
Comments
BrianHamilton 7-Aug-13 0:11am    
Show the code you have written so far.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900