Ask coding questions

← Back to all posts
Struggling to position unordered lists
Pizzaz4me

How do I move and "List - This page contains different lists" further down without using the css "top:" function and how do I move "List - This page contains different lists" onto the same line? same for "Links - This page contains differnt types of links and their functions"

Voters
Pizzaz4me
Comments
hotnewtop
IntellectualGuy

Add this to your css

Coder100

h5 naturally has a display: block; so in your css add:

then, using the margin property, you can add well margin

tweak 8px to your liking. Also try out margin-top, margin-bottom, margin-right, and margin-left.