Pages: 12

  2008-08-19 06:45:17

ymm0t
» FTalkGeek
FTalk Level: zero
1020
0
1969-12-31

:arrow:Credits: [quote]JavaScriptKit As Refference Me[/quote] Ok....... For this section......... I don't make any preview. Why? Because there're too many tricks that i want to write down here! :arro

:arrow:Credits: [quote]JavaScriptKit As Refference Me[/quote] Ok....... For this section......... I don't make any preview. Why? Because there're too many tricks that i want to write down here! :arrow: @import [quote]Internet Explorer 7 and below don't support media selectors on @import rules, instead ignoring the entire rule when they are present. Therefore, you can create an entire stylesheet for non-IE browsers and import it into your main stylesheet by adding [quote]@import "non-ie.css" all;[/quote] Future versions of Internet Explorer may support the @import rule correctly. @import "stylesheet.css" all; imports the stylesheet in all major browsers except IE 7 and below. It may or may not work in future versions of IE.[/quote] :arrow: !ie[quote]Internet Explorer 7 fixed one of the issues with the !important identifier, but it still has problems when the identifier has an error in it. If an illegal identifier name is used in place of important, Internet Explorer 7 and below will handle the property normally instead of failing. Therefore, in any style declaration block, you can include properties intended to only apply to Internet Explorer and add an !ie identifier. Almost any word can be used in place of ie. The !ie identifier allows the property to be applied in IE 7 and below. It may or may not work in future versions. Warning: this uses invalid CSS![/quote] :arrow: !important! [quote]Another problem with the !important identifier that wasn't fixed in IE 7 is the treatment of non-alphanumeric characters after the identifier. Normally, this should cause the property to fail, but Internet Explorer 7 and below ignore the additional punctuate and apply the property as if it just had the !important identifier.[/quote] The !important! identifier allows the property to be applied with importance in IE 7 and below and the property is not applied in other browsers. It may or may not work in future versions. Warning: this uses invalid CSS! [b]If You're using HTML to cover up your profile, you can use some tricks here:[/b] [quote]The syntax for conditional comments is as follows: Positive<">Negative<">condition is one of the following: IE Any version of IE lt IE version Versions less than version lte IE version Versions less than or equal to version IE version Only version version gte IE version Versions greater than or equal to version gt IE version Versions greater than version version is the version of Internet Explorer, typically 5, 5.5, 6, or 7[/quote] So, we can make sth like: <">We can use some tricks above to make different theme for different IE versions. Interesting, right? And we just need to apply all in one css file!

Pages: 12

Board footer

© 2025 F Talk

Current time is 06:37

[ 12 queries - 0.017 second ]
Privacy Policy