I need to be able to get the height of some text in php dependant on font-family font-size and width, can anyone help?
I don't really care if the height is in pixels or characters but it must be fast!
The solution im trying to provide is this:
I have two columns of text, data is pulled from a database, into the columns. The columns height are independant from each other, but when the items in the left table are far heigher that the right i end up with a large undesirable whitespace at the bottom which could be used to put another piece of text in.
Anyone?
--BB
I don't really care if the height is in pixels or characters but it must be fast!
The solution im trying to provide is this:
I have two columns of text, data is pulled from a database, into the columns. The columns height are independant from each other, but when the items in the left table are far heigher that the right i end up with a large undesirable whitespace at the bottom which could be used to put another piece of text in.
Anyone?
--BB