Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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