File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JForum and the fly likes Message status icons in strict XHTML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Message status icons in strict XHTML" Watch "Message status icons in strict XHTML" New topic

Message status icons in strict XHTML

Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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 by cnettel]
Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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 by Rafael Steil]
I agree. Here's the link:
subject: Message status icons in strict XHTML
Similar Threads
Pro CSS and HTML Design Patterns question
Automatic E-mails
Eclipse trouble with HTML error
Technologies for a Web based chat application
Again favicon.ico