Skip navigation
Tyssen Design — Brisbane Freelance Web Developer
(07) 3300 3303

Blog Articles

What is ‘semantic mark-up’?

By John Faulds /

se·man·tic adj.

  1. Of or relating to meaning, especially meaning in language.
  2. Of, relating to, or according to the science of semantics.

OK, so semantic has to do with 'meaning' but what has that got to do with coding web pages? Well, when referring to semantic mark-up, it means using the correct tag to accurately describe the type of content.

More on What is ‘semantic mark-up’?

Why doesn’t :hover work in IE?

By John Faulds /

You may have seen on other sites an effect whereby the background colour of a containing element changes colour when you hover over it. A look at their CSS might reveal something like div:hover or li:hover. This is also how a lot of CSS dropdown menus work too, by applying a :hover to a list item.

More on Why doesn’t :hover work in IE?

What is shorthand CSS?

By John Faulds /

Shorthand CSS is the method of writing related style properties all on one line instead of several. Using shorthand CSS results in files that are smaller in size and easier to read and maintain. Shorthand CSS is most commonly used on font, border, margin, padding and background styles. The easiest way to explain shorthand CSS is to give some examples.

How do I make my CSS file smaller?

By John Faulds /

The key feature of Cascading Style Sheets and probably the one not realised by most newcomers to CSS is that certain style properties are inherited. This means that style properties (mostly those relating to styling text including color, font-size, text-alignment etc.) set on a parent element are inherited up by every descendant element (any element contained within the parent whether directly or indirectly).

What’s the difference between classes and IDs?

By John Faulds /

Classes and IDs are how we create different styles for different elements on the page. IDs are unique identifiers and can only be used once on any one page. Classes can be reused and applied to different elements.

My links won’t change colour when I hover over them

By John Faulds /

Usually when people have trouble with their links not doing what they want, it's because they've arranged them in the wrong order. Pseudo classes (links) need to be in this order:

  • Link
  • Visited
  • Hover/Focus
  • Active

Some people like to use mnemonics to remember this order like: LoVe HAte. Another one I saw once was Lord Vader Has Arrived (or something like that).