Warning: Cannot modify header information - headers already sent by (output started at /home/cssquirrel/www.cssquirrel.com/blog/index.php:4) in /home/cssquirrel/www.cssquirrel.com/blog/wp-includes/feed-rss2.php on line 8
CSSquirrel » attribute selectors http://cssquirrel.com/blog opinions and news on web design Wed, 08 Feb 2012 16:59:23 +0000 en hourly 1 http://wordpress.org/?v=3.3.1 CSS3 Attribute Selectors: So Hot Right Now http://cssquirrel.com/blog/2008/05/01/css3-attribute-selectors-so-hot-right-now/ http://cssquirrel.com/blog/2008/05/01/css3-attribute-selectors-so-hot-right-now/#comments Thu, 01 May 2008 16:05:01 +0000 Kyle Weems http://www.cssquirrel.com/?p=14 As discussed here, I’m really getting into CSS3 Attribute Selectors. As mentioned earlier in my Yo-Yo post, I’ve been looking into solutions to make these guys more accessible, and I’ve come full circle to realize that I don’t need to do anything extra to incorporate them in my website and have users see them in any major browser. This is because:

1. The modern versions of Internet Explorer, Firefox, Safari, and Opera all support them. (Here’s a test page at Mindfly‘s website to prove the point).

2. The Dean Edwards IE7 script DOES extend full CSS3 attribute selector support to IE6 (I’m guessing my earlier tests had an error, because now I’m showing full compliance with this second test page that includes that script (once again, at Mindfly).

The CSS3 features I’m really looking for support for now, then, are the CSS3 pseudoclasses and multiple background images. *drool* Multiple background images alone would help cut down on my markup immensely, making features such as rounded boxes so much less of a pain in the arse.

]]>
http://cssquirrel.com/blog/2008/05/01/css3-attribute-selectors-so-hot-right-now/feed/ 0
Yo-Yo http://cssquirrel.com/blog/2008/04/24/yo-yo/ http://cssquirrel.com/blog/2008/04/24/yo-yo/#comments Thu, 24 Apr 2008 20:11:03 +0000 Kyle Weems http://www.cssquirrel.com/?p=11 I’ve been getting more obsessed with attribute selectors these days. They do such delightful things, and really help me cut down on the markup I need for a site. The problem, of course, is browser compatibility. So I started working on some javascript to give IE7 the functionality for CSS3 attribute selectors.

Then I discovered to my total shock that IE7 actually does support CSS3 attribute selectors.

Someone should tell Sitepoint this, as their reference incorrectly states that it does not.

However, IE6 doesn’t support ANY attribute selectors, so I went to the blackboard again to write a script for that.

Then I discovered that Dean Edwards’ IE7 script does give IE6 attribute support. So I stopped writing my own script and went to check that out.

A while later, I discovered that the Dean Edwards script, however, does not give full support to IE6 for css3 attribute selectors. (Most notably, *= doesn’t seem to work).

So now I’m working on that script again.

I think I’m beginning to understand what a yo-yo feels like.

]]>
http://cssquirrel.com/blog/2008/04/24/yo-yo/feed/ 0