href=”tel:” and mobile numbers

When dialing a number within the country you are in, you still need to dial the national trunk number before the rest of the number. For example, in Australia one would dial: For a mobile phone this becomes Now, when I want to dial via the international trunk, you need to drop the trunk prefix and replace … Read more

Section vs Article HTML5

In the W3 wiki page about structuring HTML5, it says: <section>: Used to either group different articles into different purposes or subjects, or to define the different sections of a single article. And then displays an image that I cleaned up: It also describes how to use the <article> tag (from same W3 link above): <article> is related to <section>, but is … Read more

html div background image not showing up

I recommend moving your css from the inline scope. Assuming that your .png file actually exists, try setting the background size and repeat tags. If that doesn’t work, try checking in your browser’s developer tools for the response codes and making sure that the url is correct. Hope this helps!

Complete list of reasons why a css file might not be working

Are you sure the stylesheet is loaded? You can see it using the “Net” tab of Firebug on firefox, or on “Network” tab of the Console of your browser. (If 1 works) can you have a simple sample style and see whether this is getting applied (and visible in the console)?

CSS pick a random color from array

This is not possible in CSS, which is firmly deterministic. You could do this with client-side JavaScript, though: If you’re using jQuery, the last line could become