Garethp Posted February 8, 2010 Share Posted February 8, 2010 I want to have whitespace in a select box, and have it show as white space. I tried the thing, but that actually shows the characters instead of whitespace. Is there anyway I can do it? Link to comment https://forums.phpfreaks.com/topic/191420-whitespace-in-a-selectbox/ Share on other sites More sharing options...
vinpkl Posted February 9, 2010 Share Posted February 9, 2010 can you post your select box code vineet Link to comment https://forums.phpfreaks.com/topic/191420-whitespace-in-a-selectbox/#findComment-1009240 Share on other sites More sharing options...
vinpkl Posted February 9, 2010 Share Posted February 9, 2010 if this is what you meant, then this works fine for me <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <select name="sdf"> <option>asdf</option> <option> </option> <option>kkl</option> </select> </body> </html> vineet Link to comment https://forums.phpfreaks.com/topic/191420-whitespace-in-a-selectbox/#findComment-1009241 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.