Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Problem z tlem w ie7
Dandelion
post 27.04.2008, 01:26:51
Post #1





Grupa: Zarejestrowani
Postów: 169
Pomógł: 0
Dołączył: 27.01.2006

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


  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <link rel="stylesheet" href="skin\style.css" type="text/css" />
  6. <title>Insert title here</title>
  7. </head>
  8.  
  9. <div id="glowny">
  10. <img id="logo" src="skin/logo.jpg" alt="logo"></img>
  11.  
  12.  
  13. </div>
  14. <div id="banner">
  15. <object id="baner" data="skin/baner.swf"></object>
  16. </div>
  17. <div id="stopka">stopka</div>
  18.  
  19. </body>
  20. </html>


  1. body{
  2. background-color:black;
  3. margin: 0 auto; width: 1014px;
  4. }
  5.  
  6. div#glowny{
  7. height:531px;
  8. width:1014px;
  9. background-color:green;
  10. position:relative;
  11. background-image: url('skin/tlo.jpg');
  12. background-repeat: no-repeat;
  13.  
  14. }
  15.  
  16. div#banner{
  17. height:148px;
  18. width:1014px;
  19. background-color:yellow;
  20. position:relative;
  21. }
  22.  
  23. div#stopka{
  24. height:72px;
  25. width:1014px;
  26. background-image: url(skin/stopka.jpg);
  27. background-repeat: repeat;
  28. }
  29.  
  30. object#napis{
  31. height:240px;
  32. width:420px;
  33. position:absolute; top:5px; right:5px;
  34. }
  35.  
  36. object#baner{
  37. height:148px;
  38. width:1014px;
  39. }
  40.  
  41. img#logo{
  42. position:absolute; top:5px; left:5px;


W operze wszystko ok w ie nie wyswietla sie tlo w divie "stopka" i "glowny"
Go to the top of the page
+Quote Post
metal
post 20.08.2008, 22:48:19
Post #2





Grupa: Zarejestrowani
Postów: 31
Pomógł: 0
Dołączył: 1.02.2007
Skąd: Sanok

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


Widze ze style masz w katalogu skin wiec przy podawaniu sciezki do pliku wystarczy ze podasz tylko nazwe pliku.

Co do zapisu
  1. background-repeat: repeat;


Nie ma on sensu gdyz ta opcja jest domyslnie ustawiona. Nie dodawaj sobie biepotrzebnego kodu smile.gif

Ten post edytował metal 20.08.2008, 22:49:38


--------------------
zmodyfikowano - waga
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 Wersja Lo-Fi Aktualny czas: 14.08.2025 - 00:20