You are viewing limited content. For full access, please sign in.

Question

Posted to Government

Question

How to put a Custom HTML to the right?

asked on January 16, 2024

Hello Community! I want to put this custom HTML to the right side, but I cannot. This is the css code I am using:

.right input { text-align: right; }

What is wrong? I leave an image like reference

Thanks in advance!

lftoRight.PNG
lftoRight.PNG (7.11 KB)
0 0

Answer

SELECTED ANSWER
replied on January 16, 2024

Hi Fabian, 

Are you trying to shift the entire "custom HTML" object to the right, or just the text?  If it's just text, you can just use the align-right feature, like so: 

Perhaps you are inserting other data in there that somehow breaks the existing alignment?  Or are you trying to place the entire object to the right of another field / object?  Or something else entirely?

All of this should be possible, but we would need some more details on what you're trying to do and what problems, specifically, you're facing.

0 0
replied on January 16, 2024

Put the all text to the right, bout you solution align to the right work for me. Thank you!

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.