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
 
Ad

Advertisements

Joined
Mar 3, 2021
Messages
56
Reaction score
9
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

Top