CSS - easy: Inline style

previous

CSS is a wild animal and it takes hours of programming to tame the beast. You've finished your whole website. But what's that? You want to move you image 2 pixels to the left. And BAM! Your navigation bar has dissappeared!

But don't be put off by this. CSS is worth the struggle due to the amazing features you can start to employ by learning the language. You will see why by clicking this link.

The page you just went to is identical to the 'HTML - easy' page, but without any CSS. Now do you see the true power of the Cascading Style Sheet?

Let's have a quick look at some inline CSS:

You will learn more about the techniques that have been used here as we move through the section.

next
  • but
  • but
  • but
  • but

close

submit