Archive for May 2008

Wednesday, 28th May 2008

Using CSS to stop right-click image saving

You want to stop people casually stealing your nice images…

…you could use a bit of javascript to kill right-clicks but I think those are a BAD IDEA! They can really annoy a lot of users (especially people who use right-click based ‘mouse gestures’ when surfing) and are very easy to stop (by turning off js!).

Instead, you can use some (relatively) simple css. Here are some ways of stopping image saving with right-clicks with css.

Granted, they won’t stop someone who really wants to get the images, but they’re nicer than js!

by james in html & css | No Comments »

Wednesday, 28th May 2008

An Accessible CSS/Image Nav Bar

We all like css based ’sprite’ image nav bars, but quite a few are un-accessible or don’t work with css/images turned off.

So here’s a very accessible css/image nav bar that works in all modern browsers (and yes includes IE6!).

by james in html & css | No Comments »

Wednesday, 28th May 2008

CSS Borders for ‘fake buttons’ on links

Playing around with css, you can make some pretty border (double and triple)!/button effects on ‘normal’ links.

See the examples of css fake button borders!

by james in html & css | No Comments »

Wednesday, 28th May 2008

New Site - Under the Rainbow

Today a new site went live for my local Christian Bookshop - Under the Rainbow. Under the Rainbow is in Minehead, Somerset, UK.

It’s a ‘one-pager’.

by james in Work | No Comments »