Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [css][htm] Mozilla nie wyświetla tła
poxrimex
post 28.01.2008, 21:44:39
Post #1





Grupa: Zarejestrowani
Postów: 368
Pomógł: 2
Dołączył: 23.09.2007

Ostrzeżenie: (60%)
XXX--


Mam problem gdyż mozilla nie wyświetla tła strony divu inside:

  1. <link rel="Stylesheet" type="text/css" href="style.css" />
  2.  
  3. </head>
  4.  
  5.  
  6. <div id="inside">
  7. <div id="strona">
  8.  
  9.  
  10. <div id="ta"><img src="ta.gif" style="width: 800px; height: 120px;"/></div>
  11. <div id="tresc">
  12. Witamy
  13. </div>
  14. </div>
  15. </div>
  16.  
  17. </body>
  18. </html>


CSS:

  1. html, body
  2. {
  3. margin-top: 0px;
  4. margin-left: 0px;
  5. margin-right: 0px;
  6. margin-bottom: 0px;
  7. text-align: center;
  8. }
  9.  
  10. #inside
  11. {
  12. width: 820px;
  13. background-image: url(tlo.gif);
  14. margin-left: auto;
  15. margin-right: auto;
  16. margin-top: 0px;
  17. margin-bottom: 0px;
  18. text-align: center;
  19. }
  20.  
  21. #strona
  22. {
  23. width: 800px;
  24. margin-left: auto;
  25. margin-right: auto;
  26. background-color: blue;
  27. margin-top: 0px;
  28. margin-bottom: 0px;
  29. text-align: center;
  30. }
  31.  
  32. #ta
  33. {
  34. width: 800px;
  35. margin-top: 0px;
  36. margin-bottom: 0px;
  37. margin-left: auto;
  38. margin-right: auto;
  39. background-color: blue;
  40. clear: both;
  41. text-align: center;
  42. }
  43.  
  44. #tresc
  45. {
  46. width: 620px;
  47. float: right;
  48. clear: both;
  49. margin-top: 0px;
  50. margin-bottom: 0px;
  51. background-color: black;
  52. text-align: center;
  53. }


--------------------



Go to the top of the page
+Quote Post

Posty w temacie


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: 24.07.2025 - 20:38