Show And Hide With Javascript
I’m sure you’ve seen this simple feature a lot while surfing the net. You know the one; a list of headings that, when clicked, reveal some more content. A good example is a FAQ page.
I’m sure you’ve seen this simple feature a lot while surfing the net. You know the one; a list of headings that, when clicked, reveal some more content. A good example is a FAQ page.
On many occasions when you’re building website, you’ll find that most, if not all, of your site pages share a common area. Typically, this might be a ‘header’ , a ‘footer’, a ‘sidebar’ or all 3. A great way to reduce maintenance time for yourself is to use PHP includes (providing your server has PHP [...]
Ever wondered how your website performs in terms of accessibility? No, I hear some of you say. Well perhaps you should. Apart from the legal implications of having an inaccessible website, you may well be losing out on a fairly large percentage of your potential customers. Making your website as accessible as possible also has [...]
This is possibly the shortest post in history but worthwhile nonetheless. Before you start your css for a page/site, bung this right at the top of your stylesheet. * { margin:0; padding:0; } Browsers have default paddings and margins for different elements in your html. The css above removes these defaults from all elements by [...]
What are CSS hacks? A CSS hack is a way to use the browsers incorrect implementation of CSS to your benefit. Different browsers have different ways of interpreting combinations of css rules and selectors. Although it’s preferable to use conditional comments wherever possible, there are definitely times when a quick css hack is ideal. For [...]