Controlling link spacing


show more Controlling link spacing provides you with in-depth training on Developer. Taught by James Williamson as part of the CSS: Styling Navigation show less
please wait ...

Controlling link spacing

Okay, our menu is looking pretty good, but right now, there is just no visual separation between the links themselves. If I come up to the menu, and I kind of hover over these links, sometimes it's not quite obvious which one I'm hovering over because there's just no separation between them. So in this exercise, we're going to take a look at one of the ways that we can add some visual separation. So, I'm going to go back in my code editor, and I'm working with the vertical.htm file found in the 03_05 directory. And you can see once again I've sort of scrolled down to our vertical menu styles.

We're going to continue working with the same selector, which is the one that's targeting the links inside of the list items, the li a selector. I'm just going to go down to the bottom of this. And I'm sure some of you guys have already sort of figured out that if you want the separation between elements, margins would be a good place to start. You're right, marg...

Controlling link spacing
Video duration: 2m 30s 5h 14m Beginner

Viewers:

Controlling link spacing provides you with in-depth training on Developer. Taught by James Williamson as part of the CSS: Styling Navigation

Subjects:
Developer Web
Software:
CSS
Author:
please wait ...