Pål Bergström wrote: [...] > > Hmm, not sure you're right. I never see it otherwise, even on sites that > use the alt attribute.
Perhaps because the images load too fast to see it? Or maybe I'm wrong and it's the title attribute. > It should be that if an image doesn't load, then > alt would be displayed. Yes. > Anyway, I never use it myself so I'm not > certain. Never use what? Alt? If so, then you're in for a lecture. Every <img> tag, without exception, should have an alt attribute. It can be blank, but it must be there (for many good reasons). In addition, it's required in order to get your HTML to validate to recent versions of the standard. > > In this case it comes from the image_tag, so it's RoR. Any way to > disable it? You can specify HTML attributes on the image_tag. Please see the docs for syntax. > > I never seen it on LiteSpeed Server. It came with Apache and Passenger. Unlikely. The browser has no way of knowing whether you're using Apache or LiteSpeed, and the HTML should be the same in either case. Why don't you inspect the HTML that Rails generates and see what's different between LiteSpeed and Passenger? Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

