How to add leading space to a WebCheckBox?

How do I add leading space to a WebCheckBox? I can add leading space in IDE but when running the app, it is trancated.
Please see attached link.link text

You can use style “text alignment” to right.
Or use em (or en…) space:

me.Caption = Chr(8195) + Chr(8195) + Chr(8195) + Chr(8195) + Chr(8195) + Chr(8195) + Chr(8195) + "I Agree"

Jukka

Me.Caption = Chr(160) + Chr(160) + Me.Caption

This works for me. Thank you!

1 Like

The web (html) eats spaces and line breaks in many cases.

If creating an html page from scratch we typically use the non-breaking space " "

I haven’t tried that in Xojo to see if it makes it through to the browser but it might…