Hi,
I'm trying to align the text that is inside the form field to the right side of the field using css. But the text still stays left align. I added a color setting just to make sure my css connected to the form field properly and it loads the color. What am I do wrong?
Thanks,
Josh
aligning text in a form with css
Re: aligning text in a form with css
Can you show us the form or at least the CSS? It's hard to say without an example.
-
izzysanime
Re: aligning text in a form with css
well, i just created it from scratch.
css
.style2{
text algin: right;
}
name
css
.style2{
text algin: right;
}
name
-
izzysanime
Re: aligning text in a form with css
thats awesome, but how do i make it work for a form that is just straight html and css, for this form, i was not using formbuilder, just a normal form inside CMSMS.
I see that is set to align right, but Im using the same code but its not aligning to the right. hmm
Thanks,
Josh
I see that is set to align right, but Im using the same code but its not aligning to the right. hmm
Thanks,
Josh
Re: aligning text in a form with css
give us the link or the code you used otherwise we will not be able to help youizzysanime wrote: I see that is set to align right, but Im using the same code but its not aligning to the right. hmm
One thing only I know, and that is that I know nothing.
Re: aligning text in a form with css
Supposed to be what he has in his post...
I think his problem is that he is trying to target his input box as tho it was text...
I think his problem is that he is trying to target his input box as tho it was text...
-
izzysanime
Re: aligning text in a form with css
The code is right there, towards the top.
I am trying to target as text. but it appears that in that post link you gave me, it was just altering the form builder plugins css.
I'm trying to align the text that the user creates when filling out a form, im trying to align it to the right.
Thanks,
josh
I am trying to target as text. but it appears that in that post link you gave me, it was just altering the form builder plugins css.
I'm trying to align the text that the user creates when filling out a form, im trying to align it to the right.
Thanks,
josh


