• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
  • Himai Minh
  • Carey Brown
  • salvin francis

Message status icons in strict XHTML

Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm working on integration of JForum in an external host. All markup emitted is tagged as XHTML strict, and this is non-trivial to change. Most things seem to work fine, though, but one thing that doesn't is the list of icons (New messages, No new messages, Announce etc...) at the bottom of a forum. The solution for getting the images from CSS seems to create a mess of it, where each icon is tiled and the "alt" text written out. This is the behavior I get in Firefox, in IE I just get some extra borders...

Has anyone else seen this? It could be some other factor of the external hosting or my manual template editing, but when comparing the forums here with the ones I host in the Firefox DOM inspector, I see no significant changes, except for the difference in the Page info, where the parsing modes differ between "Tolerant" and "Strict".
[originally posted on jforum.net by cnettel]
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's why I don't add the strict headers to JForum, as there are some aspects of html and css that need to be done differently, and I personally don't want to spent a lot of time debugging html stuff.

You may replace the css version of images by hardcoding the paths - that was the initial approach we used.

[originally posted on jforum.net by Rafael Steil]
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic