![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 243 Pomógł: 0 Dołączył: 30.11.2003 Ostrzeżenie: (0%) ![]() ![]() |
Niby prosta rzecz - jak narysować tabelę o zwykłym, czarnym obramowaniu wokół tabeli i takich samych liniach oddzielających wiersze i kolumny?
Zrobiłem coś takiego: Kod <TABLE WIDTH=640 ALIGN=center border=1 class=tabela bordercolor=#000000 cellspacing=0 cellpadding=3>
a w .css mam tak: Kod border-collapse:collapse;
ale linie pomiędzy niektórymi wierszami rysują mi się grubsze. Czy jest na to jakiś skuteczny sposób? Pozdrawiam, K |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 131 Pomógł: 0 Dołączył: 13.07.2003 Skąd: Torun/Poznan Ostrzeżenie: (0%) ![]() ![]() |
Witaj,
u mnie jest tak: html: Kod <table class="linktab1" border="1" bordercolor="#800000" cellspacing="0" cellpadding="3">
... css: Kod .linktab1 { background-color: #212121;border: 1px #800000; border-style:solid; border-width: 1px 1px 1px 1px;}
I jest tak, jak chcesz, zeby bylo. Pozdrawiam. |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 243 Pomógł: 0 Dołączył: 30.11.2003 Ostrzeżenie: (0%) ![]() ![]() |
Dzięki,
ale jest tak samo. "border-collapse: collapse;" musiałem zostawić, bo inaczej obramowania robią się znacznie grubsze, a i tak zachodzą na siebie... (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) , K |
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 131 Pomógł: 0 Dołączył: 13.07.2003 Skąd: Torun/Poznan Ostrzeżenie: (0%) ![]() ![]() |
Hmmm... to moze wrzuc tutaj kod samej tabeli.
|
|
|
![]()
Post
#5
|
|
Grupa: Zarejestrowani Postów: 243 Pomógł: 0 Dołączył: 30.11.2003 Ostrzeżenie: (0%) ![]() ![]() |
Kod <table WIDTH=640 ALIGN=center border=1 class=tabelawydruku bordercolor=#000000 cellspacing=0 cellpadding=3>
<tr> <td VALIGN=top WIDTH=200 ALIGN=center>Imiona i nazwisko</td> <td VALIGN=top WIDTH=200 ALIGN=center>Adres zameldowania</td> <td VALIGN=top WIDTH=80 ALIGN=center>PESEL</td> <td VALIGN=top WIDTH=80 ALIGN=center>Seria i numer dowodu osobistego</td> </tr> <tr> <td VALIGN=top>Kazimierz Przerwa-Tetmajer</td> <td VALIGN=top>adresik, 12-345 Kraków</td> <td VALIGN=top>68010118654</td> <td VALIGN=top>AB 1234567</td> </tr> </table> a css: Kod .tabelawydruku {
border: 1px #000000; border-style: solid; border-width: 1px 1px 1px 1px; border-collapse: collapse; background-color: #FFFFFF; font-family: Arial; font-size: 12px; } (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) , K |
|
|
![]()
Post
#6
|
|
Grupa: Zarejestrowani Postów: 131 Pomógł: 0 Dołączył: 13.07.2003 Skąd: Torun/Poznan Ostrzeżenie: (0%) ![]() ![]() |
Hm... odpalilem to na kilku przegladarkach i wszystko jest okay.
Upewnij sie, czy ladujesz strone bez cache (Ctrl+Shift+R w Mozilli), tak by korzystal z nowego (zmodyfikowanego) stylu css). Pozdrawiam. |
|
|
![]() ![]() |
![]() |
Aktualny czas: 23.08.2025 - 03:46 |