CSS - Style a Website
This course covers the basics of styling a website using CSS. Work your way through the videos/articles and I'll teach you everything you need to know to style a basic website!
I'm starting a coding bootcamp
Want to learn web development in a fun and gamefied environment? Head over to simulator.dev and see what I'm working on!

Display & Floats

Lesson 5
Author : Mike Dane
Last Updated : October, 2017


Code

Copy<ul style="float:left; background-color:lightblue;">
     <li style="display:inline;">Home</li>
     <li style="display:inline;">About</li>
     <li style="display:inline;">Contact Us</li>
     <li style="display:inline;">Blogs</li>
</ul>

<p>You can use the display and float CSS attributes to change the way that element on your website are displayed on the screen</p>