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

  • Max Length Form Controls

    Gives form-controls with a 'maxlength-XXX'-class a max-length and prohibits user from entering more than set amount. It also displays number of charac...

    Details

  • 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

  • Colour Picker

    Use this plug-in on a normal <select>-element filled with colours to turn it in to a colour-picker widget that allows users to view all the colours in...

    Details

More Plug-ins

Recent Comments

Powered by Disqus
Page cached. Loaded in: 0.0284 second(s).
Last DB change: 2012-04-02 11:06:05
Last file change: 2012-04-25 20:30:39
Cache created: 2012-05-15 01:27:32