All posts in HTML & CSS

Image rollover in wordpress, no plugins required

Quite an annoying aspect of WordPress is that its not very easy to use an image rollover from within posts. This is a simple hack that lets you use an image rollover in WordPress without the use of a plugin.

<img title="this" onmouseover="this.src='http://twentyeleven.co.uk/wp-content/uploads/2012/05/that.png';" onmouseout="this.src='http://twentyeleven.co.uk/wp-content/uploads/2012/05/this.png';" src="http://twentyeleven.co.uk/wp-content/uploads/2012/05/this.png" alt="" width="192" height="116" />

Quick Tip: Practical CSS Shapes

Another really useful tutorial by Jeffery Way over at NETtuts:

A common design technique lately is to create a fold effect, where it appears as if a heading is wrapping behind its container. This is generally achieved through the use of tiny images; however, with CSS, we can mimic this effect quite easily. I’ll show you how in four minutes.

Continue Reading →