I finally figured out an alternative to using innerHTML for an XHTML document in Firefox.
Tag: xhtml
innerHTML and createContextualFragment problems when Firefox renders XHTML
If any of you use Firefox, then you’ll have noticed that the “Preview Comment” feature doesn’t work anymore. It stopped working after I converted this site over to XHTML. Initially it worked (even though it validated as XHTML 1.1) because I was setting the mime-type to text/html. To make it completely compliant, I set the…
This site is XHTML 1.1 Valid
I finally got this site to validate! The folks over here were really helpful, and pointed out that I wasn’t assigning values to my objects’ style attributes properly. For example, I was doing: [sourcecode language=”javascript”] obj.style.width = 200; [/sourcecode] instead of: [sourcecode language=”javascript”] obj.style.width = “200px”; [/sourcecode] The second way is the correct way because…
Live! Preview and XHTML Compatibility
I’ve added a new feature called “Live Preview”. You can see your comment as it will appear, right as you type it. I randomly just came up with the idea yesterday – I figured I could use the same code I have in place for the preview, for the Live Preview as well. I just…
XHTML and Episode III
Getting this site to be XHTML compliant is a total bitch. Anyway, today (well, tomorrow really) we are going to see Episode III. It’s the 12:01 showing. I remember when I went to see Episode II three years ago. It was really awesome, and I liked it. But I guess the feeling sorta died down…