Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> odzielny css dla ie i fx?
kidler
post
Post #1





Grupa: Zarejestrowani
Postów: 65
Pomógł: 0
Dołączył: 9.09.2006

Ostrzeżenie: (0%)
-----


Witam. Czy da się jakoś zrobić tak żeby css był pobierany w zależności od przeglądarki? Jak przerobić taki kawałek kodu?

  1. <style type="text/css" media="screen">
  2. @import url( <?php bloginfo('stylesheet_url'); ?> );
  3. </style>

Najlepiej żeby ogólnie był jeden css dla wszystkich rpzeglądarek ale jak ktoś wejdzie z internet exploler to żeby ten css for ie wczytało..

Ten post edytował kidler 26.08.2008, 09:44:53
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
kidler
post
Post #2





Grupa: Zarejestrowani
Postów: 65
Pomógł: 0
Dołączył: 9.09.2006

Ostrzeżenie: (0%)
-----


Kod
<style type="text/css" media="screen">
        @import url( <?php bloginfo('stylesheet_url'); ?> );
    </style>
<!--[if gte IE 5]>

    <style type="text/css" media="screen">
        @import url( http://1tt.az.pl/wp-content/themes/almost-spring-10/styleie.css);
    </style>
<![endif]-->

nie pomogło

a jak wstawiam <!--[if gte IE 5]> w cssie to rozwala się i pod ie i pod fx
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 11.10.2025 - 07:03