here are my updates for recent hacks about simulating CSS “min-width” on IE6.
Let’s say the min-width is 750px, and you have a page (#page{ min-width:750px;});
- If the width of your page is “auto”, then you need to add extra border-right:750px to BODY, then add margin-right:-750px to the #page to offset the extra border width of BODY .
Guess what, you’ll get the min-width of 750px on IE for free.I’d love to thanks my co-worker, Matt Sweeney who showed me this great example before and all I did was to hide the extra border-color in my way.
See live example and source codes:
http://www.hedgerwow.com/360/bugs/css-only-min_width_ie6.html - If the page width will zoom by text-size, say #page{ width:70em;}, then you may use pixelWidth
to achieve the same goal.
See more source code in the example:
http://www.hedgerwow.com/360/bugs/ie-min-width.html
scott f | 22-Apr-08 at 7:24 am | Permalink
This hack works only with Strict DTD.
wow gold | 18-Feb-09 at 11:12 pm | Permalink
A good beginning is half done
wow gold | 26-Mar-09 at 5:03 am | Permalink
thanks
wow power leveling | 10-Apr-09 at 1:10 am | Permalink
contain him most of the game model?
Coach Handbags | 10-Apr-09 at 1:11 am | Permalink
online mode Power Struggle?
data processing serv | 10-Apr-09 at 1:12 am | Permalink
enemy player can get points.