| | |
| Stránka: 1 z 1
| [ Príspevkov: 12 ] | |
Autor | Správa |
---|
Registrovaný: 08.03.08 Prihlásený: 27.12.20 Príspevky: 2680 Témy: 216 Bydlisko: Humenne |
mam dalsi problem pri tvorbe www. na tabulku som nastavil Kód: <table border="4" bordercolor="#C89034"> v IE mi ukazuje vsetky ramceky takejto farby v FF ukazuje len to oramovanie a v opere ako keby nic sopm nezadal resp. vychodzia farba. Ak niekto viete ako to opravit tak prosim napiste dakujem vam.
|
|
Registrovaný: 30.04.08 Prihlásený: 15.05.15 Príspevky: 884 Témy: 3 |
Skus to nahradit tymto
Kód: <table style="border: solid 4px #C89034;">
_________________ 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ý: 24.01.08 Prihlásený: 13.09.17 Príspevky: 14572 Témy: 66 Bydlisko: Žilina |
a idealne
Kód: <table id="tabulka">
a nastavovat atributy az v externom css
_________________ C#, PHP, ... |
|
Registrovaný: 08.03.08 Prihlásený: 27.12.20 Príspevky: 2680 Témy: 216 Bydlisko: Humenne |
no v opere to uz ukazuje ale zas neukazuje tie vnutorne oramovania bunky ani v opere ani v FF ani v IE.
nj jasne ze to potom dam externeho css.
|
|
Registrovaný: 30.04.08 Prihlásený: 15.05.15 Príspevky: 884 Témy: 3 |
No, skus to takto, nic ine ma nenapadlo
Kód: #tabulka{ border: solid 2px #C89034; } #tabulka tr td{ border: solid 2px #C89034; }
pricom hrubka toho okraja bude 4px, nie dva (vzdy tam musis dat polovicu pozadovanej hrubky). A tabulka musi mat atribut cellspacing="0".
_________________ 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ý: 08.03.08 Prihlásený: 27.12.20 Príspevky: 2680 Témy: 216 Bydlisko: Humenne |
ok skusim dik a este by som sa chcel opytat da sa niejako nastavit vyzka resp. dlzka ramceku?(border) dakujem.
|
|
Registrovaný: 30.04.08 Prihlásený: 15.05.15 Príspevky: 884 Témy: 3 |
Vyska ramceku? Neviem presne co myslis, asi by si musel nastavit padding, v tom pripade sa bude border zobrazovat dalej od skutocneho konca elementu, alebo ako to nazvat. Aspon teda tak som to pochopil... Alebo zvacsi ramik pomocou width a height...
_________________ 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ý: 08.03.08 Prihlásený: 27.12.20 Príspevky: 2680 Témy: 216 Bydlisko: Humenne |
nj myslim to tak ze ramcek bude dlhsi ako je obsah pomocou height som aj ja nad tym uvazoval ale taky prikaz neexistuje v css lebo na jakpsatweb neni iba width. alebo sa mylim?
|
|
Registrovaný: 30.04.08 Prihlásený: 15.05.15 Príspevky: 884 Témy: 3 |
ee, normalne existuje aj height, takisto ako width, asi to bol daky preklep. Alebo potom tam (ak sa jedna o tu tabulku) mozes dat aj padding-bottom: x px; a to ti ten dolny border oddiali smerom dole...
_________________ 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ý: 08.03.08 Prihlásený: 27.12.20 Príspevky: 2680 Témy: 216 Bydlisko: Humenne |
alebo tam mozem dat len <br /> nie?
|
|
Registrovaný: 30.04.08 Prihlásený: 15.05.15 Príspevky: 884 Témy: 3 |
No mozes aj to, ale to je dost neprofesionalne riesenie, lepsie by asi bolo pouzit ten padding-bottom, ale ako chces...
_________________ 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ý: 27.07.07 Príspevky: 3948 Témy: 51 Bydlisko: Bratislava |
_________________ 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: 12 ] | |
Podobné témy | Témy | Odpovede | Zobrazenia | Posledný príspevok |
---|
| Border-radius v HTML, XHTML, XML, CSS | 1 | 362 | 16.08.2019 22:08 ux | | css: border v HTML, XHTML, XML, CSS | 23 | 1825 | 02.10.2008 15:50 kaidžas | | Chybny border v HTML, XHTML, XML, CSS | 14 | 694 | 30.01.2008 10:43 walther | | border none v PHP, ASP | 9 | 476 | 19.11.2012 14:05 BX | | Border radius v HTML, XHTML, XML, CSS | 1 | 589 | 18.09.2010 16:36 shaggy | | Border-bottom v HTML, XHTML, XML, CSS | 1 | 433 | 24.10.2018 9:44 BX | | img border v HTML, XHTML, XML, CSS | 6 | 591 | 07.10.2009 8:11 don jebot | | background-image neprekryje border v HTML, XHTML, XML, CSS | 0 | 787 | 23.10.2011 13:45 1daemon1 | | HTML navbar border bottom v HTML, XHTML, XML, CSS | 0 | 343 | 07.08.2019 1:29 misiak171 | | Nechce mi odstrániť border v HTML, XHTML, XML, CSS | 4 | 593 | 30.11.2009 11:44 HUBO | | problem s border-bottom: 0px v HTML, XHTML, XML, CSS | 3 | 556 | 28.09.2007 21:12 juho | | two css styles, ie and default, 2px solid border?! v HTML, XHTML, XML, CSS | 5 | 941 | 12.12.2008 15:48 jablko05 | | pri ulozeni obrazku v illustratore ma ikonka maly border v Grafické programy | 0 | 618 | 21.12.2007 22:38 viktorcech | | poradie v tabulke v Assembler, C, C++, Pascal, Java | 11 | 501 | 07.07.2010 21:55 hudi1 | | Otvaranie v tabulke v HTML, XHTML, XML, CSS | 3 | 620 | 05.12.2009 22:13 Ďuri | | Text v tabulke v HTML, XHTML, XML, CSS | 2 | 454 | 28.01.2010 19:30 DARSON |
| 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
|
|