Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [CSS] Google Chrome i Mozilla OK - IE nie. Brak tła.
GoldeNx3
post
Post #1





Grupa: Zarejestrowani
Postów: 228
Pomógł: 1
Dołączył: 24.12.2010

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


Witam, mam problem. Na mozilli i google chrome z moją stroną jest wszystko dobrze. Natomiast na internet explorer nie ma tła, jest białe. Czemu?

CSS:

  1. body{
  2. font-family:Verdana;
  3. text-align:center;
  4. background-image: url(images/head_bg.png), url(images/bg.png);
  5. background-repeat: repeat-x, repeat;
  6. color:#fff;
  7. }
Go to the top of the page
+Quote Post
grz3s
post
Post #2





Grupa: Zarejestrowani
Postów: 41
Pomógł: 10
Dołączył: 13.01.2009
Skąd: Kraków

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


wydaje się mi że problematyczne są linijki:
  1. background-image: url(images/head_bg.png), url(images/bg.png);
  2. background-repeat: repeat-x, repeat;


IE pewnie nie interpretuje jeszcze tego poprawnie

Ten post edytował grz3s 11.04.2012, 13:47:14
Go to the top of the page
+Quote Post
GoldeNx3
post
Post #3





Grupa: Zarejestrowani
Postów: 228
Pomógł: 1
Dołączył: 24.12.2010

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


Próbowałem zrobić z tego też normalny link do obrazka, ale tak samo nie działa.
Go to the top of the page
+Quote Post
grz3s
post
Post #4





Grupa: Zarejestrowani
Postów: 41
Pomógł: 10
Dołączył: 13.01.2009
Skąd: Kraków

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


poka przykład
Go to the top of the page
+Quote Post
!*!
post
Post #5





Grupa: Zarejestrowani
Postów: 4 298
Pomógł: 447
Dołączył: 16.11.2006

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


IE>9 nie wspiera multibg w css3, więc tego tak nie zrobisz.

Możesz zrobić obejścia

  1. background: transparent url(img/1.png) top left repeat;
  2. /* IE6 - IE8 */
  3. filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/1.png', sizingMethod='crop');
  4. /* IE8 */
  5. -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/1.png', sizingMethod='crop')";


--------------------
Nie udzielam pomocy poprzez PW i nie mam GG.
Niektóre języki programowania, na przykład C# są znane z niezwykłej przenośności (kompatybilność ze wszystkimi wersjami Visty jest wiele warta).
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 22.08.2025 - 07:31