HTML 5 Doctype Support

Page: 1

Author Post
sinisterfool
Guest
HTML 5 recently came out and I noticed that floatbox does not work with its doctype.

Here is information on it. http://www.w3.org/TR/html5-diff/#doctype

When will support for this be added?
Thanks.
Administrator
Registered: Aug 2008
Posts: 3382
Could you please elaborate on what you mean by floatbox not working with this doc type? The HTML 5 doctype declaration is <!DOCTYPE html> and my pages all work fine using that. Perhaps you have some other problem?
sinisterfool
Guest
Ok, I messed around with it and it works now. I followed your example on the site and the / at the beginning of the javascript and css examples screwed it up. It works now, sorry for the confusion.
Administrator
Registered: Aug 2008
Posts: 3382
http://floatboxjs.com/forum/topic.php?post=781#post781
theprodigy
Guest
I read part of that page that you linked to sinisterfool, and it's quite interesting. I guess I'm gonna have to learn HTML all over again. lol

Quick question for admin:

If you go here, you will notice that one of the absent-attributes is the rev attribute in the a tags. How will that affect floatbox considering it uses that attribute?
Administrator
Registered: Aug 2008
Posts: 3382
The new version of floatbox (yes, there really will be one some day :) ) will allow you to move everything currently in the rev attribute to an HTML5-compatible "data-fb-options" attribute. (It also lets you move the rel="floatbox" bit to the class attribute, thereby freeing up rel for "nofollow" if you like.)

But note that the rev attribute will continue to work fine forever. It can still be assigned and read just fine in HTML5, as can any other "custom" attribute. Validators would complain, but browsers wouldn't.

Page: 1