Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Jak za pomocą styli uzystać obrys tabeli 1px?, <TABLE border=1> tak uzyskuje sie taki szeroki obrys
kukix
post
Post #1





Grupa: Zarejestrowani
Postów: 600
Pomógł: 2
Dołączył: 1.09.2002
Skąd: Wrocław

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


Witam.
W jaki sposób można uzyskac obrys tabeli o szerokości 1px...?

style="border: #000000 1px solid" tak jużwychodzi mniej więcej to co chce, ale jest problem, gdy tabela ma więcej kolumn i wierszy... wtedy widać tylko obrys całej tabeli, komórki nie są oddzielone tym borderem...

Jak takie coś można uzyskać...?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 6)
nasty
post
Post #2





Grupa: Zarejestrowani
Postów: 634
Pomógł: 14
Dołączył: 27.05.2006
Skąd: Berlin

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


  1. <table border="1" cellpadding="0" cellspacing="0"> ..... </table>

I obrys nie jest szeroki.
ps. to nie to forum...

Ten post edytował nasty_psycho 11.07.2006, 10:46:08
Go to the top of the page
+Quote Post
ActivePlayer
post
Post #3





Grupa: Przyjaciele php.pl
Postów: 1 224
Pomógł: 40
Dołączył: 6.07.2004
Skąd: Wuppertal

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


  1. <tr><td>...</td><td>...</td></tr>
  2. <tr><td>...</td><td>...</td></tr>

i css:
Kod
table{
border: 1px solid #000;
border-collapse: collapse;
}
table td{
border: 1px solid #000;
}
Go to the top of the page
+Quote Post
tiraeth
post
Post #4





Grupa: Przyjaciele php.pl
Postów: 1 789
Pomógł: 41
Dołączył: 30.10.2003
Skąd: Wrocław

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


nasty, forum jest jak najbardziej to (Przedszkole dotyczy zarówno html/css/js jak i php)

Kod
<style type="text/css">
table {
border : 0px solid #ffffff;
border-right : 1px solid #000000;
border-bottom : 1px solid #000000;
}

td {
border-top : 1px solid #000000;
border-left : 1px solid #000000;
}
</style>


Active, uprzedziłeś mnie tongue.gif
Go to the top of the page
+Quote Post
revyag
post
Post #5





Grupa: Przyjaciele php.pl
Postów: 2 258
Pomógł: 16
Dołączył: 21.09.2004
Skąd: Kielce

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


  1. <table cellpadding="1" cellspacing="1">

Kod
table {
    background-color:#000000;
}
td {
    background-color:#ffffff;    
}


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

------
Go to the top of the page
+Quote Post
-Gość-
post
Post #6





Goście







  1. <table border="1" style="border-collapse: collapse; border: 1 solid #000000;" bordercolor="#000000">
  2. <tr>
  3. <td>
  4. wiersz 1<BR>
  5. kolumna 1
  6. </TD>
  7. <td>
  8. wiersz 1<BR>
  9. kolumna 2
  10. </TD>
  11. </TR>
  12.  
  13. <tr>
  14. <td>
  15. wiersz 2<BR>
  16. kolumna 1
  17. </TD>
  18. <td>
  19. wiersz 2<BR>
  20. kolumna 2
  21. </TD>
  22. </TR>
  23.  



Kod masz dobry ale zabraklo kodu bordercolor=""

mThW
www.math.glt.pl
Go to the top of the page
+Quote Post
mike
post
Post #7





Grupa: Przyjaciele php.pl
Postów: 7 494
Pomógł: 302
Dołączył: 31.03.2004

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


Cytat(Gość @ 11.07.2006, 19:35 ) *
(...)
Kod masz dobry ale zabraklo kodu bordercolor=""

mThW
www.math.glt.pl

Zabrakło bo czegoś takiego nie ma.
Jest to ziezgodne ze specyfikacją HTML'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: 21.08.2025 - 17:13