CSS3 attribute selectors and links Icons

Filed under: CSS, XHTML — admin @ Saturday 25th August 2007

I actually intended to post this yesterday but I had some wine and spent my evening looking up icons at iconbuffet.com. yeah… anyhow…

I developed this little CSS example to try out the newish CSS3 attribute selectors on hyperlinks. I was hoping to add little icons after links to show where they are leading.

It actually worked! And it even works in IE. IE7 that is… as well as recent versions of the good browsers, FF, Opera and Safari. In IE6 they just doesn’t show up which is quite okay with me as long as it doesn’t break anything.

After completing my experiment, I ran across a similar one at css3.info.

This entry was posted on at 8:40, CET and is filed under CSS, XHTML. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

XHTML 1.1

Filed under: JavaScript, XHTML, digiTalized — admin @ Wednesday 22nd August 2007

Mozilla, WebKit, Opera and IE on VistaToday I went XHTML1.1 for my experiments. It was moderately awkward. Lots of little things needed redoing for it to be accepted by the browsers I’m targeting.

Safari3Beta didn’t love Microsoft’s old .innerHTML. But I don’t use it too much anyhow. Then there seems to be some differences when it comes to cookies as well. Although I’m fairy sure that was not related to anything XHTML1.1. Fixed

Oh and finally, IE7 refuses to do anything served as application/xhtml+xml. I feared I’d have to do some PHP content negotiations but I found this and am now using his .htaccess example successfully with IE and potential other browsers not capable of XHTML.

This entry was posted on at 22:16, CET and is filed under JavaScript, XHTML, digiTalized. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.