I don't understand how it works, but your HTML + CSS Quine solution is genius.
Question: Why doesn't it work in MSIE? -- Eriksiers 00:32, 28 January 2010 (UTC)
- It's probably compiling/interpreting the HTML differently, and likely doesn't allow reassigning elements from being header material to body after it has started interpreting. Given how twisted what that code is (if I had a hat on, I'd take it off in honor of it!) I'm not very surprised that it has issues with IE. –Donal Fellows 10:45, 28 January 2010 (UTC)
- CSS didn't even exist when Internet Explorer was first released, so IIRC the Trident CSS support has always been a bit rusty. The idea is that the head and style elements normally are set to "display: none", but I override it by setting it to display as a block element (which prints out its content). It's probably as Donal Fellows suggested, IE probably simply never adds the style element to the (rendered) tree of elements. Also, I think it has troubles with the ::before and ::after pseudo-elements. -- FireFly 11:48, 28 January 2010 (UTC)
A bit late, but...
I realize it's a bit late, but...Welcome to Rosetta Code! I'm Mike, and I noticed you created an account.
Some quick things you should be aware of:
|Template:Mylang||Helps you show what languages you're familiar with, and helps us become aware of skills with languages we haven't seen.|
|Category:Unimplemented tasks by language||A place to find tasks missing solutions in various languages.|
|Blogs, twitter, facebook...||We have them, and are interested in yours.|
|Special:Webchat||Logs you into #rosettacode on the Freenode IRC channel. Not usually the most active communications medium, but occasionally helpful. It's logged at http://irclog.perlgeek.de/rosettacode/today.|
|Rosetta Code:Village Pump||A general Q/A and discussion area.|
|Rosetta Code:Finances||For most of Rosetta Code's history, expenses have been paid out of my pocket. I can't afford that much longer, and so you can see the state of Rosetta Code's finances, and how you may help. If you enjoy or are excited about the site, please consider reading through it.|
Sorry for the boilerplate; it can be a bit difficult giving an individual greeting to each person. If you post information about your technical interests and background, I'll probably read it. If you already have put that kind of information on your user page, I probably already have; I'm always interested in how people do and can benefit from Rosetta Code. --Michael Mol 19:43, 11 April 2010 (UTC)