Daniel Lemire's blog

, 1 min read

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.