| | |
| Stránka: 1 z 1
| [ Príspevkov: 11 ] | |
Autor | Správa |
---|
Registrovaný: 11.09.08 Prihlásený: 16.12.08 Príspevky: 239 Témy: 16 |
PLS potrebujem poradit s HTML prikazom na farebnu tabulku,lebo v tomto som lama
|
|
Registrovaný: 30.04.08 Prihlásený: 15.05.15 Príspevky: 884 Témy: 3 |
Potrebujes zmenit farbu ohranicenia tabulky, alebo pozadia tabulky?
Inak toto je do sekcie HTML..
presunuté (Tomas1)
_________________ Empty your memory, with a free()… like a pointer! If you cast a pointer to an integer, it becomes the integer, if you cast a pointer to a struct, it becomes the struct… The pointer can crash…, and can overflow… Be a pointer my friend… |
|
Registrovaný: 11.09.08 Prihlásený: 16.12.08 Príspevky: 239 Témy: 16 | Napísal autor témy Ellendil: 09.12.2008 17:40 | |
|
no to ohranicenie
|
|
Registrovaný: 30.04.08 Prihlásený: 15.05.15 Príspevky: 884 Témy: 3 |
Tak pouzi CSS vlastnost border-color: farba;, myslim, ze to budes musiet aplikovat na vsetky bunky tabulky...
_________________ Empty your memory, with a free()… like a pointer! If you cast a pointer to an integer, it becomes the integer, if you cast a pointer to a struct, it becomes the struct… The pointer can crash…, and can overflow… Be a pointer my friend… |
|
Registrovaný: 20.11.07 Prihlásený: 18.01.09 Príspevky: 2929 Témy: 116 | Napísal dadmtb: 09.12.2008 19:37 | |
|
a nestaci to dat iba na table ?
|
|
Registrovaný: 30.04.08 Prihlásený: 15.05.15 Príspevky: 884 Témy: 3 |
Nie som si isty, ale ked by to dal iba na table, tak by to pravdepodobne len ohranicilo tabulku nejakym okrajom zvonku...
_________________ Empty your memory, with a free()… like a pointer! If you cast a pointer to an integer, it becomes the integer, if you cast a pointer to a struct, it becomes the struct… The pointer can crash…, and can overflow… Be a pointer my friend… |
|
|
neutronmind píše: Nie som si isty, ale ked by to dal iba na table, tak by to pravdepodobne len ohranicilo tabulku nejakym okrajom zvonku...
Ked sa da len na table tak sa ovplyvnia vsetky bordre nie len tie co su hlavne... a napirklad do tr, td, th atd. sa dava ked chces konkretne daco oznacit inac, mas to to iste ako keby si dal <table border=hodnota> zmeni ti iba okraje co ohranicuju tabulku ?
|
|
Registrovaný: 11.10.06 Prihlásený: 08.12.12 Príspevky: 192 Témy: 39 Bydlisko: Banská Byst... |
ked to das na table, tak sa zmenia vsetky okraje v celej tabulke...sa to dedí
|
|
Registrovaný: 27.07.07 Príspevky: 3948 Témy: 51 Bydlisko: Bratislava |
skusal si to uz vobec? ked nastavis cisto pre table farbu ohranicenia, tak sa to zmeni v celej tabulke? ale no... pokial viem, tak border-color sa nededi...
_________________ NTB: Acer Aspire 4820TG 14" | CPU: Intel Core i5 2,53 GHz | VGA: ATI Mobility Radeon HD5650 1GB | RAM: 8GB DDR3 1066 MHz | HDD: 1TB SSD WD BLUE |
|
Registrovaný: 11.10.06 Prihlásený: 08.12.12 Príspevky: 192 Témy: 39 Bydlisko: Banská Byst... |
ospravedlnujem sa, pomylil som sa... fakt sa to nededi...
sory
|
|
Registrovaný: 27.07.07 Príspevky: 3948 Témy: 51 Bydlisko: Bratislava |
Asi by nezaskodil mensi priklad, ako teda tu farbu borderu zmenit v celej tabulke...
CSS:
Kód: table, td { border-style:solid; border-color:red; } table { border-collapse:collapse; border-width:0 0 1px 1px; } td { border-width:1px 1px 0 0; } HTML: Kód: <table> <tr> <td>1</td> <td>2</td> <td>3</td></tr> <tr> <td>4</td> <td>5</td> <td>6</td></tr> <tr> <td>7</td> <td>8</td> <td>9</td></tr> </table>
Podobny priklad som uviedol aj na http://www.pcforum.sk/post-vp486998.html#486998
_________________ NTB: Acer Aspire 4820TG 14" | CPU: Intel Core i5 2,53 GHz | VGA: ATI Mobility Radeon HD5650 1GB | RAM: 8GB DDR3 1066 MHz | HDD: 1TB SSD WD BLUE |
|
| Stránka: 1 z 1
| [ Príspevkov: 11 ] | |
| Nemôžete zakladať nové témy v tomto fóre Nemôžete odpovedať na témy v tomto fóre Nemôžete upravovať svoje príspevky v tomto fóre Nemôžete mazať svoje príspevky v tomto fóre
|
|