Jump to content


Box Model Hack


2 replies to this topic

#1 crushed

    Young Padawan

  • Members
  • Pip
  • 30 posts

Posted 12 July 2005 - 04:10 PM

I have researched and fully understand how the box model hack works, and how there are different ways to take advantage of Internet Explorer parse errors. But where do I apply this CSS coding? To all DIV's with a fixed width or height?

#2 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 12 July 2005 - 04:26 PM

this should explain that part of the hack
http://www.tantek.co...xmodelhack.html

#3 coolaid

    P2L Jedi Master

  • Members
  • PipPipPipPip
  • 1,435 posts
  • Gender:Male
  • Interests:i wonder..

Posted 12 July 2005 - 09:41 PM

the answer to your question is no.

only divs that you have applied padding or borders to will need the box model hack.

another option is using different stylesheets for different browers
http://www.quirksmod...ss/condcom.html

but i havent got into that myself as the box model hack works fine for me.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users