OsakaWebbie
Programmer
I'm generating my HTML via a PHP query to a database, so I can't predict the content. I have a series of text pieces (the names of categories) that each have a checkbox, and are only separated by three spaces. There are many categories, so the whole thing will be multiple lines in a single (wide) cell of a table, but I don't want it to wrap in the middle of a category name (many of the categories are more than one word). Is there a way I can keep together the checkbox and the text that follows it, forcing line wraps to only be allowed (when necessary) between entries? Something like "<nowrap><input...> A Category</nowrap>"? (I know that particular tag doesn't exist, but perhaps the example will help you understand what I want.)