+ 1

Could use help for my code

I would like to know how to get a smaller hole between "links" and the black header padding and how to get the grey div to the right hand side. Thanks.

11th Feb 2018, 1:13 AM
Felix
Felix - avatar
3 Answers
0
Use the CSS margin property to fix the space (also padding of elements can effect the distance. As for getting the div to the right hand side, you can align it to the right. However, from seeing your code, what you’re looking for may just be increasing the div’s width. Also, try spacing out your CSS elements... they seem a bit cluttered.
11th Feb 2018, 1:20 AM
luciel
luciel - avatar
0
Thanks, that will help a Lot.
11th Feb 2018, 3:16 AM
Felix
Felix - avatar
- 1
Add this to remove the margin between your links ul { font-size; 0px; } ul > li > a { font-size: 14px; }
11th Feb 2018, 2:23 AM
Toni Isotalo
Toni Isotalo - avatar