Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem using SIZE=chars vs WIDTH=pixel in datagrids

Status
Not open for further replies.

DLLHell

Programmer
May 9, 2003
69
US
Is there an algorithm to convert old HTML's Size="XX" (# of characters) to new HTML's WIDTH="XXpx" (pixels)? Is it all trial & error/hit & miss till you get a matching comparision?

I get a compiler warning when using SIZE but it still allows it for datagrids. I got burnt using Size and have to go to Width/pixels as a grid column could either be a textbox-type or a label type and its Header column has to be sized depending on the type of column. There is no "Size" property to use... only the "Width" property exists.

Why'd they get rid of Size anyway? It was a lot easier...


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top