There is a block, and various phrase links should be placed on it. One of them I need to move to the right for a certain number of pixels.
How to do it?
There is a block, and various phrase links should be placed on it. One of them I need to move to the right for a certain number of pixels.
How to do it?
Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .
Use the margin-left property:
#link2 { margin-left: 15px; } <div id="links"> <a href="#" id="link1">link1</a> <br> <a href="#" id="link2">link2</a> <br> <a href="#" id="link3">link3</a> <br> <a href="#" id="link4">link4</a> <br> <a href="#" id="link5">link5</a> </div> #links a {margin-left: 15px;} . But in general, I advise you to read a tutorial ... - Semushin SergeySource: https://ru.stackoverflow.com/questions/604696/
All Articles