Hi all,
I have this HTML dilemma which has been frustrating me all day:
- I have a variable length list of strings
grabbed from a MySql database.
- I want to make buttons out of the list of strings,
1 button for each string
- The strings are all different lengths
- I want the buttons in a table
- I want the FSCK'ing buttons to be all the same length :)
Now, I can easily figure out what the length of the longest string is,
and I can figure out how to pad the string with spaces such that all
the strings are the same number of characters in length. However,
HTML has decided that the characters in the button text are of a variable
width font. This renders the "padding" with spaces concept pointless.
This is all done within a perl CGI program. But it doesn't seem to be a perl
problem, since I can't even figure out how to create the static HTML code
to accomplish this task.
Anyone have any ideas?
Thanks,
--
Seeya,
Paul
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************