There are times that surfers block images just to have a faster browsing (Block download images)

I would like to have an option when this happen to show a style text with a large text in colors.

So if the user block my images they still can see my main message.

  • So what's your question?
    – John Conde
    May 12 '12 at 15:51

Since this is a local (to the user) browser setting you have no way of knowing if the image is being displayed or not, and therefore no programatic basis on which to display the style.

If the image is blocked then the alt text will display in your main body text style, this should be sufficient for users to get your message.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.