Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

davorg (18)

davorg
  dave@dave.org.uk
http://dave.org.uk/
Yahoo! ID: daveorguk (Add User, Send Message)

Hacker, author, trainer

Technorati Profile [technorati.com]

Journal of davorg (18)

Wednesday September 01, 2004
04:26 AM

Things You Don't Want to See in a CSS File

[ #20668 ]

a:link {
    color: #000000;
    font-family: "Gill Sans MT", Verdana, Arial, Helvetica;
    font-size: 11pt;
    font-style: normal;
    font-weight: bold;
    text-decoration: blink;
    line-height: 13px;
}

Did you spot it? It's second from bottom - text-decoration: blink. That's guaranteed to stop people from wanting to look at your site for too long.

That's from a real site too. It's my MP Martin Linton's site. The CSS is here.

Idiots.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Only a total moron would do that! However, as most of the cluless masses (including presumably your MP, if he's ever actually used a computer) use a defective browser like IE, they won't even see the error. I believe that the use of blink means that it fails W3C WAI guidelines and is therefore in breach of UK accessability legislation...

    --
    -- "It's not magic, it's work..."
  • (1) font-family not ending in one of the generic classes of fonts ("sans-serif" in this case).
    (2) font-size (or anything else font related) using points or pixels or any other units, really.

    That flashing really is horrendous though
  • I was sure you had a problem with font-family: "Gill Sans MT" ;-)
    --
    illovich [illovich.com]