Category Archives: CSS

Remove ugly Skype reformatting for phone numbers on your site

If you’re a typography nark then you might have encountered this issue when building your meticulous design. Is your local installation of Skype reformatting the phone numbers on your website? Does it make it look real bad? Do you not care that people might miss out on the click-to-call functionality? I don’t! The trick is to make [...]

The correct way to style hyperlinks / a tags in CSS

CSS best practices… here’s how to style a hyperlink properly, states accounted for, ordered correctly. Do this when you’re just starting out on your CSS file save annoying nigglies down the track. a:link {blah:blah;} a:visited {blah:blah;} :link:hover, :visited:hover {blah:blah;} :link:active, :visited:active {blah:blah;}

jQuery show/hide div causing page to clunk when scroll-bars are activated

For our first post I’ll start with one of my recent favorite quick-fixes. I had a very simple site that was displaying content by showing and hiding blocks using jQuery. The problem was, when there was lots of content being revealed, the browser’s vertical scroll bar was activated, and vice versa. This caused the page [...]