14-02-2013, 22:08
(Ten post był ostatnio modyfikowany: 15-02-2013, 18:03 przez Kartofelek.)
Ja polecam inne podejscie:
Dzięki tekiemu nagłówkowi strony możesz sobie potem stylować w jednym dokumencie:
Kod:
<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie ie6 lte9 lte8 lte7"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie ie7 lte9 lte8 lte7"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie ie8 lte9 lte8"> <![endif]-->
<!--[if IE 9]> <html class="no-js ie ie9 lte9"> <![endif]-->
<!--[if gt IE 9]> <html class="no-js ie gte9"> <![endif]-->
<!--[if !IE]><!--> <html class="no-js no-ie"> <!--<![endif]-->
Dzięki tekiemu nagłówkowi strony możesz sobie potem stylować w jednym dokumencie:
Kod:
.super-navigacja {tutaj normalnie}
.lte8 .super-navigacja {tutaj dla starych IE}
.no-js .super-navigacja {tutaj dla ludzi bez js - jak chcesz się bawić}
.lte8.no-js .super-navigacja {tutaj dla starych IE bez JS - super HARDCORE ktory nie powinien cie interesować}