Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

option not showing spaces

Status
Not open for further replies.

danmul

Programmer
Jan 16, 2003
89
IE
<option value="57742">57742 12D SOLUTIONS PTY LTD</option>
Hi,
Why does this not show spaces between the 57742 and the 12D?
Thanks,
Daniel.
 
you only get one whitespace, no matter how many you put in your html, if you need more space there you need to either use <pre> tags, or add non breaking spaces &nbsp;

----------------------------------------
Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..
 
Thanks, was just after figuring that out this minute
 
If you put in &nbsp; characters, it'll space itself like you're asking.

Lee
 
Which was already stated by DaRNCaT.

*cLFlaVA
----------------------------
Lois: "Peter, you're drunk!"
Peter: "I'm not drunk, I'm just exhausted from stayin' up all night drinking!
 
Sorry about that. I should have added that with &nbsp; characters, you should use a fixed font in the <select> tag style, too.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top