I want all the items in a WebPopupMenu to have a leading blank space…
pm_Schools.AddRow(" "+tempDict.Value("name"))
That doesn’t work as the space is ignored.
Thanks
I want all the items in a WebPopupMenu to have a leading blank space…
pm_Schools.AddRow(" "+tempDict.Value("name"))
That doesn’t work as the space is ignored.
Thanks
[quote=224624:@John Baughman]I want all the items in a WebPopupMenu to have a leading blank space…
pm_Schools.AddRow(" "+tempDict.Value("name"))
That doesn’t work as the space is ignored.
Thanks[/quote]
pm_Schools.AddRow(&u00A0 + &u00A0 + &u00A0 + tempDict.Value("name"))
@Michel Bujardet Perfect!!
Thanks
The more typical (in the web world) may work as well (stands for non-breaking space)
I haven’t tried it myself though.
In html multiple spaces are typically reduced down to a single space and returns are ignored altogether. is a mainstay for quick spacing tasks.
Does not work. The menu will just show " Hello" for instance. HTML is escaped.
[quote=224664:@Steve Upton]The more typical (in the web world) may work as well (stands for non-breaking space)
I haven’t tried it myself though.
In html multiple spaces are typically reduced down to a single space and returns are ignored altogether. is a mainstay for quick spacing tasks.[/quote]
Don’t confuse Xojo code and the HTML code it produces. Xojo Web does not understand HTML entities, even if in the end that is what it sends to the browser.