I have problem 56.th topics

Step 56

To align the input boxes with each other, set the display property to inline-block for all input and label elements within .info elements.

Also, align the text to the right.

answer:
"
.info label, .info input{
display : inline-block;
text-align : right;
} "

Test

Sorry, your code does not pass. Hang in there.

Hint

You should set the text-align: right property before the .info input rule.

where is before? i dont understand

Please post your code in the forum.

Here is how to post code in the forum

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

i have solved my problems myself. i think explanation is not true in site.
“You should set the text-align: right property before the .info input rule.”
i moved my code over the .info input block. but i moved all block .info label, .info input{}.
two different things

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.