I would like to place my bold text (Thierry) some pixels lower…
<div class="editor-field">
<b>Thierry</b>
</div>
Is it possible?
Something like (doesn’t work):
.editor-field b
{
margin-top: 20px;
}
Any idea?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
position: relativesounds like the most interesting way:JSFiddle
position: relativeis nice because it reserves the same space in the document flow as before, and moves the element freely inside the document. One side effect is that any elements below it will not move away – elements might overlap. You’ll have to see whether that is okay for your situation.