Browsing the archives for the CSS category

Smart CSS trick to add icon to all outgoing links

Use this piece of CSS to add an icon to all links that is not to mydomain
a:not([href*="mydomain"]) {

 padding-right: 10px;

 background: transparent url(”images/aoutside.gif”) center right no-repeat;

Popularity: 6% [?]

Popularity: 6% [?]

Really simple rounded corners with CSS

I’ve been looking for a long time for a solution to produce the oh so popular rounded corners on my DIV elements and finally I found what I was looking for over at A list apart where Dan Cederholm describes his take on the issue of rounded corners. The solution he presents are decievingly simple in it’s [...]

Popularity: 4% [?]