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

Funky IE6/7 Bug – Calculating Width in IE6/7 is 4px off??

  • # September 17, 2009 at 1:46 am

    Hey guys,

    I ran into a pretty weird bug and just wasted 30 mins investigating but came up short on an answer. Can anyone help me figure this out?

    This image should be 575px… but jQuery tells me its 571px in IE6/7… WHY??

    whats strange is if If I do border: 0; instead of border: none; it seems to fix the bug…

    # September 17, 2009 at 8:06 am

    I’ve DEFINITELY found that IE likes border: 0; more than border: none; I’ve totally transitioned to using border: 0; – As no other browsers seem to have a problem with it.

    # September 17, 2009 at 7:23 pm

    Thanks for clearing that up Chris! Glad I wasn’t looking over something simple. :oops:

Viewing 3 posts - 1 through 3 (of 3 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