Screen IE browser (do not show below IE namely)
*:lAng(zh) Select {font:12px ! The special */ of Important;} /*FFSelect:eMpty {font:12px ! Important;} /*safari sees */
Select is choice accord with here, change according to the circumstance. The 2nd is browser of the Safari on MAC is particular.
Only IE7 identifying
* html {…}
This HACK can be used when facing need to make a type in the light of IE7 only face to face.
IE6 and IE6 identify below
* Html {…}
This place wants special attention actually IE5.x can identify the HACK that a lot of landlords were written is IE6 likewise this HACK. Other browser does not identify.
Html/**/ >body Select {……}
This is as identical as on one action.
Only IE6 does not identify
Select {Display /*IE6 does not identify */:nOne;}
Basically be to pass CSS annotate to part here an attribute and value, flow commentate before colon.
Only IE6 and IE5 do not identify
Select/**/ {Display /*IE6, IE5 does not identify */:nOne;}
Here and above different is much between choice accord with and beautiful bracket annotate of a CSS.
Only IE5 does not identify
Select/*IE5 does not identify */ {Display:nOne;}
This one is the take out in getting on the annotate of property division. Only IE5 does not identify
Box model means of settlement
Selct {width:IE5.x width; Voice-family: “\” }\ “” ; Voice-family:iNherit; Width: ?} of room Ji
The cleared method of box model is not to pass! Important will handle. Want at this o’clock to make clear.
Cleared float
Select:aFter {content: “. “.. ; Display:bLock; Height:0; Clear:bOth; Visibility:hIdden;}
In Firefox, it is float when sub level when, so the height of father degree cannot encase completely whole sub level, so make a definition to father degree at this moment with HACK of this cleared floating, can solve this problem so.
Cut word suspension points
Select {-o-text-overflow:eLlipsis; Text-overflow:eLlipsis; White-space:nOwrap; Overflow:hIdden; }
This is the written language that drops many share in the cut of proper motion of the meeting after giving length more, and with suspension points ending, a very good technology. It is at present Firefox does not support only.
Only Opera identifies
@media All And (min-width: 0px){Select {……} }
Make separate set in the light of Opera browser.
Above is a few HACK in writing CSS, these are to be used solve local compatibility problem, if hope the content of a compatibility is detached also,come out, might as well try a few kinds of filter below. These filter are had a plenty of in be being written in CSS, guide through filter special style, link or also having a plenty of those who be written in HTML to come through the condition is to guide the patch style of need.
The filter of IE5.x, IE5.x is only visible
| It is quotative content below: @media Tty {I{content: “\” ;/* ” ” */}} @import ‘ie5win.css’; /* “;} }/* */ The filter of IE5/MAC, commonly not need [Copy To Clipboard] [- ]CODE: @media Tty {I{content: “\” ;/* ” ” */}} @import ‘ie5win.css’; /* “;} |
The filter of IE5/MAC, general not need
| It is quotative content below: [Copy To Clipboard] [- ]CODE: / *\*//*/ @import “ie5mac.css” ; / **/ |
The If condition Hack of IE
< ! - - [If IE]>Only IE < ! [Endif]- ->
All IE can identify
< ! - - [If IE 5.0]>Only IE 5.0 < ! [Endif]- - >
Only IE5.0 can identify
< ! - - [If Gt IE 5.0]>Only IE 5.0 < ! [Endif]- - >
IE5.0 bag changes IE5.5 to be able to identify
< ! - - [If Lt IE 6]>Only IE 6- < ! [Endif]- ->
Only IE6 can identify
< ! - - [If Gte IE 6]>Only IE 6/ < ! [Endif]- ->
The IE5.x under IE6 and IE6 can identify
< ! - - [If Lte IE 7]>Only IE 7/- < ! [Endif]- ->
Only IE7 can identify
Above content may be not comprehensive, welcome everybody to be able to be mixed I together these skill collect rises, the inquiry that after be, works offers to go to the lavatory, thank those authors that excogitate these HACK here at the same time.
