Add content with CSS

March 15th, 2005 § 2

I had a use for some flashy CSS 2.0 code the other day. I couldn’t find it in my library, which was really annoying. I’ve decided to store various bits of handy code on here. Here’s the first:

a:after {
   content: " (" attr(href) ") ";
   font-size: 80%;
   }

Add the content rule to anchors in your print stylesheet as aboue & you’ll have lovely little URL’s of each link placed in brackets after the link content.
This doesn’t work on Internet Explorer though. Does work on Firefox. So think of is as an enhancement rather than rely on it.

New look for brainfire

March 4th, 2005 § 1

As you can probably tell, I’ve launched my new design for brainfire. Exactly 10 months to the day! There’s still a few things that need sorting out, which I will be fixing as & when I get a chance & also a few additional sections. Hope you like it? All feedback is welcome.

Where am I?

You are currently viewing the archives for March, 2005 at Brainfire.