[uf-discuss] Introducing Happy Pals
Chris Messina
chris.messina at gmail.com
Sat Sep 9 11:08:31 PDT 2006
You can read about attribute selectors here:
http://css.maxdesign.com.au/selectutorial/selectors_attribute.htm
In terms of compatibility: "Attribute selectors are not supported by
Windows Internet Explorer 5, 5.5 and 6 or Macintosh Internet Explorer
5. They are also not supported by earlier versions of Opera."
But in terms of support and implementation, it's much easier to just
change your CSS than to install a plugin -- especially if we were to
get support into Sandbox or K2.
Chris
On 9/9/06, Marko Mrdjenovic <mf at friedcellcollective.net> wrote:
> Mike,
>
> Chris' CSS does not work in IE 6 and lower.
>
> It is a part of the CSS 2 spec, but is not implemented.
> http://www.w3.org/TR/REC-CSS2/selector.html#attribute-selectors
>
> --code--
> a[rel~="friend"], a[rel~="met"] {
> padding-right: 32px;
> color: green;
> background: url('met.gif') no-repeat top right;
> }
> --/code--
> It should work in all other modern browsers though.
>
> Regards,
> Marko Mrdjenovic
>
> Mike Stickel wrote:
>
> > I deleted Chris' email with the CSS but does that work in all browsers?
> > I thought — and I may very well be wrong — that those particular types
> > of styles didn't work on all browsers and were part of the CSS 2.1 or
> > CSS 3 spec.
> >
> > On Sep 9, 2006, at 9:15 AM, Colin D. Devroe wrote:
> >
> >>
> >> On Sep 8, 2006, at 1:48 PM, Chris Messina wrote:
> >>
> >>> While HappyPals will work with all browsers, there's a better way to
> >>> do this without adding extra classes:
> >>
> >>
> >> Thanks for this Chris.
> >>
> >> Colin D. Devroe
> >
> >
> > Mike Stickel
> > Screenflicker Developments | GoNecksGo | ChanceCube
> > http://screenflicker.com | http://gonecksgo.com | http://chancecube.com
> >
> > _______________________________________________
> > microformats-discuss mailing list
> > microformats-discuss at microformats.org
> > http://microformats.org/mailman/listinfo/microformats-discuss
> >
>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
>
--
Chris Messina
Citizen Provocateur &
Open Source Ambassador-at-Large
Work: http://citizenagency.com
Blog: http://factoryjoe.com/blog
Cell: 412 225-1051
Skype: factoryjoe
This email is: [ ] bloggable [X] ask first [ ] private
More information about the microformats-discuss
mailing list