.net 3d art blog c# coding college computers editorial entertainment firefox food freeware gaming hardware hdtp hiking humor ide japan japan, javascript linux mac mailbox milestone misc. mods momoiwa, mono movie nintendo philosophy php politics rant rebun review science software technology test time ucr wakkanai windows work wormholeftp 日本
Ah, it appears as though the code for the button works when you don't declare a doctype. I forgot to mention that whenever I code a website, I ALWAYS use an XHTML Transitional Doctype.
My guess is that the code you tried out parsed as HTML 4.0, which has a lot looser standards than XTHML.
Anyway, I found a fix, I suppose I should update this entry with the fix ;)
That's very well possible, I only place doctypes on websites that are in production. Since obviously they seem to be parsed differently, I should do that on every page ...
What's the fix btw?
By EER @ Sat Jul 22, 2006 01:18 AM
Well, I copy pasted your quote text into a html page and it just works :?
However, in the rest of your post you claim to use input type="text", which is ofcourse quite a difference ;)
Anyway, my code that works:
<html>
<head></head>
<body>
<input type="button" value="Underline" style="text-decoration: underline;" accesskey="u" />
</body>
</html>