justify the paragraph in terms & condition checkbox using html css

تبليغ
سؤال

يرجى شرح بإيجاز لمإذا تشعر أنك ينبغي الإبلاغ عن هذا السؤال.

تبليغ
‎إلغاء

How can Ijustify the paragraph in terms & condition with checkbox using css. I can’t find the simple way on how to justify it. I’m new in HTML/CSS, and I’m still having a hard time figuring it out.

input {
float: left;
vertical-align: baseline;
height: 1em;
width: 1em;
vertical-align: middle;
margin-left: 2em;
}

label {
display: inline;
float: none;
text-align: justify;
}

p {
margin-top: 2em;
font-size: 12px;
}
<p>
<input type=”checkbox” id=”agree” />
<label for=”agree”>
I declare that I have been provided with documents by Lorem ipsum dolor sit amet consectetur adipisicing elit. Sint est adipisci, earum ratione tempora rerum?
</label>
</p><br>
<p>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Sint est adipisci, earum ratione tempora rerum?</p>

I attached the photo that I wanted to get. Thank you.

0
X 5 أشهر 2022-07-11T16:00:34+03:00 0 إجابة 1 مشاهدات مبتدئ 0

‫أضف إجابة

تصفح
تصفح

مجهول يجيب