Archives for Tuesday, June 30th, 2009

You are currently browsing 1 articles posted Tuesday, June 30th, 2009.

  • The Site Looks Weird in FF3

    Published Tuesday 30th of June 2009

    I've been doing more bug-fixing lately, and one I did recently introduced several new ones in FF3 but not in Chrome, Opera, Safari or FF3.5.

    What I did was I added a "Continue Reading"-link at the bottom of the article on the home-page. In order to style it without using a class I used the :last-of-type pseudo-class:

    #article > p:last-of-type = $icon;

    As you can see I'm using a type of CSS-constants (new version in the works btw), and because many other selectors should be icons as well they're all merged by the constants-parser so in the end i end up with something like this:

    #article > p:last-of-type, 
    #article > dl:last-child dt, 
    #quick-about > p:last-child {
        /* Icon styling */
    }

    What seems to happen is that when Firefox chokes on one of the selectors it ignores (or improperly parses) the entire block.

    Since 3.5 is out I expect it to start taking over so I thought I'd leave this bug as it is.

    Sorry for any inconvenience!

    Be the first to post a comment

Random jQuery Plug-ins

  • Text Shadow

    Frankly a rather crappy text-shadow plug-in (can one be done well? :) but nevertheless it does the job in some cases.

    Details

  • Code Block Toolbar

    If you post code-examples on your site you can use this plug-in to add some nifty buttons below each code-example that allows the user to, for example...

    Details

  • View More

    This plug-in allows an element's contents to be hidden untill the user clicks a certain element. It works exactly like the HTML5 details and summary e...

    Details

More Plug-ins

Recent Comments

  1. Andreas on "SleekPHP User Handling"

    Thank you for showing interest :) Were the docs en...

  2. ciptard on "SleekPHP User Handling"

    Ok, thank you

  3. Andreas on "SleekPHP User Handling"

    I might write a "getting started" article for Slee...