Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Zaokrąglone rogi w IE
Adshi
post
Post #1





Grupa: Zarejestrowani
Postów: 7
Pomógł: 0
Dołączył: 7.03.2011

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


Witam,
na Forum o Minecraft jest pewien problem. Otóż forum pod IE nie wczytuję się poprawnie (nie ma zaokrągleń). Znacie może jakiegoś hacka, aby to naprawić?

Przykładowy DIV, który nie działa pod Internet Exploler:
  1. .tborder {
  2. background: #c6c6c6;
  3. background-clip: padding-box;
  4. -moz-background-clip: padding;
  5. width: 100%;
  6. margin: auto auto;
  7. padding: 8px 8px;
  8. /*border: 1px solid #0F5C8E;*/
  9. border-width: 8px;
  10. -o-border-image: url(images/cg/style/border.png) 8 8 8 8 round stretch;
  11. -webkit-border-image: url(images/cg/style/border.png) 8 8 8 8 round stretch;
  12. -moz-border-image: url(images/cg/style/border.png) 8 8 8 8 round stretch;
  13. -webkit-box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.5);
  14. -moz-box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.5);
  15. box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.5);
  16. color: #404040;
  17. }


Pozdrawiam!

Ten post edytował Adshi 3.05.2011, 16:11:00
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
MrCoody
post
Post #2





Grupa: Zarejestrowani
Postów: 61
Pomógł: 12
Dołączył: 1.05.2011
Skąd: Kielce

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


w IE trzeba obrazkami zaraz dam ci kod w css i obrazki

KOD style.css

  1. @charset "utf-8";
  2. /* CSS Document */
  3. body {background : #ff0000;}
  4.  
  5.  
  6. #paczucha {
  7. position: relative;
  8. width: 300px;
  9. height: 150px;
  10. background: white;
  11. }
  12.  
  13. .tl {
  14. position: absolute;
  15. top: 0;
  16. left: 0
  17. }
  18.  
  19. .tr {
  20. position: absolute;
  21. top: 0;
  22. right: 0
  23. }
  24.  
  25. .bl {
  26. position: absolute;
  27. bottom: 0;
  28. left: 0
  29. }
  30.  
  31. .br {
  32. position: absolute;
  33. bottom: 0;
  34. right: 0
  35. }


KOD index.html
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>Zaokrąglone rogi - by Hubert</title>
  5. <link id="topstyle" rel="stylesheet" type="text/css" href="styl.css" />
  6. <div id="paczucha"> <img src="tl.png" class="tl"> <img src="tr.png" class="tr"> <img src="bl.png" class="bl"> <img src="br.png" class="br"></div>
  7.  
  8. </body>
  9. </html>


obrazki zaraz dam (IMG:style_emoticons/default/biggrin.gif)

Ten post edytował MrCoody 3.05.2011, 17:33:32
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: 9.10.2025 - 10:41