Adjust Font Size to Width of Grid Cell


#1

Hi there,

I have a common Grid with one column and several rows. The grid is set to 90% of Form width. Is there a way to adjust each cell text (font size) to fit the cell width?

Thanking in advance,
Paulo


#2

To change all the cells, do this:

$("#Grid1 td").css("font-size", "100%")

George Henne
NS BASIC Corporation
http://www.nsbasic.com


#3

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.