Marnen Laibow-Koser wrote: > 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.
I know it must be there for validation. It's there but I don't use it when coding in regular html. As I see it the alt-attribute is not that relevant today. Some use it for SEO but for what I know I don't think it's that important. > You can specify HTML attributes on the image_tag. Please see the docs > for syntax. I ment on a global basis so I don't have to edit the rails image tag. > 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. True. My thought was that there could still be some difference in how the code and html is handled (guessing). :-) Could also be that I'm on a slow server (site5.com) In any case, it looks bad when loading the page and that's the important thing. -- 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 -~----------~----~----~----~------~----~------~--~---

