Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML][CSS]background w wierszu w tabeli, błąd w operze
Valker
post
Post #1





Grupa: Zarejestrowani
Postów: 40
Pomógł: 5
Dołączył: 24.08.2007
Skąd: Łódź

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


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

Ten post edytował Valker 18.11.2009, 14:57:27
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 1)
mariusdeath
post
Post #2





Grupa: Zarejestrowani
Postów: 4
Pomógł: 2
Dołączył: 29.04.2009

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


  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ć.
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 - 11:02