jjpetrucelli
Programmer
I want to query the db and output the results into the options of a select box. Now the values are going to be quite long and will cause horizontal scrolling, which is not desireable.
What is the best way to account for this? I am thinking that while outputting the results i should look for a space in the value (i.e. " ") and add a line break at that point. I figure that the way to look for the break would be to start at a specified point in the results and work backwards.
Is this the best way to handle this, if so how do i write this script?
I am told that css maybe the best way to go but i have to account for browsers only accepting embeded css. can / should i use css instead and will 'require' help with not embeding css in everypage?
Please let me know if this is not clear?
What is the best way to account for this? I am thinking that while outputting the results i should look for a space in the value (i.e. " ") and add a line break at that point. I figure that the way to look for the break would be to start at a specified point in the results and work backwards.
Is this the best way to handle this, if so how do i write this script?
I am told that css maybe the best way to go but i have to account for browsers only accepting embeded css. can / should i use css instead and will 'require' help with not embeding css in everypage?
Please let me know if this is not clear?