• 03-08-2010, 21:25:44
    #1
    explorer 6 ve ie7 ye firefoxa operaya ayrı ayrı aynı css dosyası içinde nasıl ayar verebilirim. yani şöyle siteyi explorer açtığında kendisiyle alakalı kodu yorumlayacak firefox açtığında kendi kodunu okuyacak.
  • 03-08-2010, 22:03:26
    #2
    <!--[if IE]>
    According to the conditional comment this is Internet Explorer<br />
    <![endif]-->
    <!--[if IE 5]>
    According to the conditional comment this is Internet Explorer 5<br />
    <![endif]-->
    <!--[if IE 5.0]>
    According to the conditional comment this is Internet Explorer 5.0<br />
    <![endif]-->
    <!--[if IE 5.5]>
    According to the conditional comment this is Internet Explorer 5.5<br />
    <![endif]-->
    <!--[if IE 6]>
    According to the conditional comment this is Internet Explorer 6<br />
    <![endif]-->
    <!--[if IE 7]>
    According to the conditional comment this is Internet Explorer 7<br />
    <![endif]-->
    <!--[if gte IE 5]>
    According to the conditional comment this is Internet Explorer 5 and up<br />
    <![endif]-->
    <!--[if lt IE 6]>
    According to the conditional comment this is Internet Explorer lower than 6<br />
    <![endif]-->
    <!--[if lte IE 5.5]>
    According to the conditional comment this is Internet Explorer lower or equal to 5.5<br />
    <![endif]-->
    <!--[if gt IE 6]>
    According to the conditional comment this is Internet Explorer greater than 6<br />
    <![endif]-->
  • 04-08-2010, 09:51:34
    #3
    liarea bunun için stil dosyasını kopyalayıp gerekli düzeltmeleri yapmak mı gerekir her tarayıcı ayarı için, yoksa sadece sorunlu olan css kodunu yazmak yeterli olur mu?
  • 04-08-2010, 10:47:34
    #4
    Üyeliği durduruldu
    buddy adlı üyeden alıntı: mesajı görüntüle
    liarea bunun için stil dosyasını kopyalayıp gerekli düzeltmeleri yapmak mı gerekir her tarayıcı ayarı için, yoksa sadece sorunlu olan css kodunu yazmak yeterli olur mu?
    Örnek verecek olursak deneme sınıfımız ie6da 190px ie7de 200px gözüküyor. ie6'dada 200px gözükmesini istiyorsak o zaman ie6 için oluşturduğun css'e

    .deneme {width: 200px}
    yazarak eşitleyeceksin. deneme sınıfının diğer geri kalan özelliklerinide yazmana gerek yok yani. Sadece düzenleyeceklerini yazman yeterli.