Click to See Complete Forum and Search --> : question about single select pulldowns


anguilla
03-18-2004, 07:52 PM
Hi all,

I wonder if someone could explain to me if this is the correct behavior, or is there something I can do to correct this.

So, here it is, in my single select box I have some verbiage, and in some cases, there is two spaces back to back (you see this if you look at the source), but in the html itself, a double space, shows up as a single space.

Bottom line, because, in my cgi script, I am querying on some that expects a double space, but only a single space is being passed, it's causing some problems.

Is this just normal behavior or is there something I can do about it ?

Thanks.

Sam
03-18-2004, 08:31 PM
thats because it is auto trimming, I believe if you use the   entity (HTML) or the \s hard space character (cgi) it should correct this problem

anguilla
03-19-2004, 07:49 AM
what do you mean by entity HTML ??

Paul Jr
03-19-2004, 08:18 PM
& nbsp; or & #160;. Without the spaces, of course.