HTML/CSS Trick of the day

Do not worry, this blog will not turn into an HTML/CSS blog, but here is a nice trick to select all hyperlinks with absolute URIs:


a[href^="http"] {
background:yellow;
}

This will, naturally, probably never work with Microsoft browsers, but it with Firefox 2.0.

Leave a Reply

Your email address will not be published. Required fields are marked *