The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Pixel Calculation Difference between FireFox and Chrome!

  • # January 30, 2013 at 11:12 am

    i cant understand why pixel definition in firefox and chrome is not same! you know its annoying! i just wrote a simple padding right and top but i got two different result in FF and chrome! why? how can i have same result in FF and chrome? i used firefox 18.0.1 and chrome 24.0.1312.56(the latest till now).

    # January 30, 2013 at 11:25 am

    ok with using JS you can recognize what kind of web browser you are using. but any more simple ways?

    # January 30, 2013 at 11:30 am

    It’s probably not pixels, it’s more likely to be sub-pixels.

    How different are the pages and, more importantly, does it really matter?

    Most people aren’t using more than one browser so they are unlikely to know about it and, even if they did, are they likely to care?

    Unless it’s breaking the page….leave it alone.

    # January 30, 2013 at 11:38 am

    thanks @Paulie_D, good idea :)

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed