IE CSS Hack

Out of context: Reply #7

  • Started
  • Last post
  • 16 Responses
  • spiralstarez0

    dude - try this...

    after every box model hack you use, put a tag that does nothing - in fact just copy and paste this:

    html>body .junk {
    width:751px;
    }

    what happens sometimes is that you use the box model hack, and then because the browser doesn't understand it - it goes all the way to the next close tag before it reads a new tag - so it misses a complete style until it reaches the next "}"

    put in that empty tag that does nothing and it will solve a lot of your probs using the box model

View thread