How To Style Broken Images

CSS

The image has disappeared

In this tutorial we're going to look at how you can customise broken images like the above to make them a bit more user friendly to the visitors of your site.

There are 3 methods that you can choose to use when customising broken images:

  • Alt attribute
  • CSS styling to make broken images look better
  • jQuery replace broken image

Alt Attribute
The first thing you need to do and the easiest way of adding some text to your images when they're broken is by using the . . .

Upgrade to access all content on Paulund

Members unlock all tutorials and snippets

Access to all downloadable content

Access to code examples before others

Sign Up Now

Already a member? Login here

Subscribe To Newsletter

Get weekly updates to your email