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? Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.