im kinda new. so please help me lol

Joined
Jul 22, 2021
Messages
1
Reaction score
0
i want there to be a spacing bettween the text Home, AML, Contact and About

Screenshot (10)_LI.jpg
 
Joined
Mar 3, 2021
Messages
241
Reaction score
30
Try giving your anchors either margins or padding.

CSS:
.navigation > a {
    margin-left: 5px;
    margin-right: 5px;
}

.navigation > a {
    padding-left: 5px;
    padding-right: 5px;
}

These read "for any anchor directly inside of a 'navigation' classed tag, set these properties." They'll produce similar results, so try each and see what works best for you.

 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top