Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [HTML][CSS]background w wierszu w tabeli
Forum PHP.pl > Forum > Przedszkole
Valker
Witam,
mam problem z tłem wiersza w tabeli. Na wszystkich przeglądarkach (FireFox, IE, Chrome) działa poprawnie:

a na Operze nie:



  1. <center><img src="images/tabele/archiwum/top.png"/></center>
  2.  
  3. <table class="archiwum_table">
  4. <tr class="archiwum_row1">
  5. <td class="archiwum_col1">asdas</td>
  6. <td class="archiwum_col2">asdasd</td>
  7. </tr>
  8. <tr class="archiwum_line"><td colspan=2></td></tr>
  9. <tr class="archiwum_row2">
  10. <td class="archiwum_col1">asdas</td>
  11. <td class="archiwum_col2">asdasd</td>
  12. </tr>
  13. <tr class="archiwum_line"><td colspan=2></td></tr>


i style.css:

  1. .archiwum_table
  2. {
  3. width: 491px;
  4. margin: 0 0 0 16px;
  5. border: 0px;
  6. }
  7.  
  8. .archiwum_row1
  9. {
  10. background: url(images/tabele/archiwum/row1.png) repeat-y;
  11. height: 40px;
  12. }
  13.  
  14. .archiwum_row2
  15. {
  16. background: url(images/tabele/archiwum/row2.png) repeat-y;
  17. height: 40px;
  18. }
  19. .archiwum_line
  20. {
  21. background: url(images/tabele/archiwum/line.png) repeat-x;
  22. height: 3px;
  23. width: 100%;
  24. }
  25.  
  26. .archiwum_col1
  27. {
  28. background: url(images/tabele/archiwum/right.png) repeat-y;
  29. width: 170px;
  30. padding: 3px 3px 3px 3px;
  31. }
  32.  
  33. .archiwum_col2
  34. {
  35. background: url(images/tabele/archiwum/left.png) repeat-y right;
  36. width: 321px;
  37. padding: 3px 3px 3px 3px;
  38. }



Próbowałem wszystkiego i nie działa -.-

Pozdr,
Valker
mariusdeath
  1. <table class="archiwum_table" cellspacing="0" cellpadding="0">
  2. <tr class="archiwum_row1">
  3. <td class="archiwum_col1">asdas</td>
  4. <td class="archiwum_col2">asdasd</td>
  5. </tr>
  6. <tr class="archiwum_row2">
  7. <td class="archiwum_col1">asdas</td>
  8. <td class="archiwum_col2">asdasd</td>
  9. </tr>
  10. </table


  1. .archiwum_table{
  2. width: 491px;
  3. margin: 0 0 0 16px;
  4. border: 0px;
  5.  
  6. }
  7. .archiwum_row1{
  8. height: 40px;
  9. }
  10. .archiwum_row2{
  11. height: 40px;
  12. }
  13. .archiwum_col1{
  14. background: url(images/tabele/archiwum/right.png) repeat-y;
  15. border-left:3px solid #36301A;
  16. border-bottom:3px solid #36301A;
  17. width: 170px;
  18. padding: 3px 3px 3px 3px;
  19. }
  20.  
  21. .archiwum_col2{
  22. background: url(images/tabele/archiwum/left.png) repeat-y right;
  23. width: 321px;
  24. padding: 3px 3px 3px 3px;
  25. border:3px solid #36301A;
  26. border-top:0px;
  27. }


Spróbuj czy tak będzie działać.
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.