I’m on the part where we’re supposed to align the text right. I’ve tried placing the script in all three parts seen below. As far as I know, based on the instructions:
Step 56
To align the
input
boxes with each other, set thedisplay
property toinline-block
for allinput
andlabel
elements within.info
elements.Also, align the text to the right.
it’s meant to go in the last section like so:
Your code so far
.info input {
width: 50%;
text-align: left;
}
.info label {
width: 10%;
min-width: 55px;
}
.info label, .info input {
display: inline-block;
text-align: right;
}
But this gives me the error of:
Test
Sorry, your code does not pass. Hang in there.
HintYou should set the text-align: right property before the .info input rule.
I’m not sure what I’m doing incorrectly here. Any hints or helps would be greatly appreciated!
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0
Challenge: Step 56
Link to the challenge: