Autor Zpráva
baisikl
Profil *
Zdravím všechny, potřebuju aby ta druhá tabulka byla bez rámečků, jako když je samotná, přem díky

<div id="hlavni">
                    <center>
                    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
                    <link rel="stylesheet" type="text/css" href="/css/result-light.css">
                    <style type='text/css'>
                    table {border-collapse:collapse;}
                    th.col {font-weight: normal;text-align: right;}
                    th.group {vertical-align: bottom;}
                    th.row {font-weight: normal;text-align: left;height: 0em;vertical-align: bottom;}
                    th div.vertical {position: relative;-moz-transform:rotate(-90deg);-moz-transform-origin: bottom left;-webkit-transform: rotate(-90deg);-webkit-transform-origin: bottom left;-o-transform: rotate(-90deg);-o-transform-origin: bottom left;transform: rotate(-90deg);transform-origin: bottom left;filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);}
                    th div.vertical div {position: absolute;top: 0px;}
                    td, th {border: 1px solid black;}
                    td.blank {background-color: transparent;}
                    </style>
                    <table>
<tr style="background-color: rgb(0, 40, 69);"><td style="height: 180px; width: 50px;"></td>        <th style="width:180px;" class="row"><center><b>        </th><th style="width: 50px;" class="row"><div style=line-height:50px class="vertical"><div><b><span style="color: rgb(255, 102, 0);">    leden</td>
<tr height=25 style="background-color:lime"><td><p style="text-align: right;">    1.    </td><td><p style="text-align: right;">    p1    </center></td><td><center>    6</td>
<tr height=25 style="background-color:lime"><td><p style="text-align: right;">    2.    </td><td><p style="text-align: right;">    p2    </center></td><td><center>    6</td>
<tr height=25 style="background-color:#FFFF99"><td><p style="text-align: right;">    3.    </td><td><p style="text-align: right;">    p3    </center></td><td><center>    6</td>
<tr height=25 style="background-color:red"><td><p style="text-align: right;">    4.    </td><td><p style="text-align: right;">    p4    </center></td><td><center>    6</td>
                    </table>
                    </center>
                    </div>
                                                            
<html>            
<head>            
<meta http-equiv="content-type" content="text/html; charset=UTF-8">            
<title></title>            
</head>            
<body>            
<table style="text-align: left;"            
border="0" cellpadding="0" cellspacing="0">            
<tbody>            
<tr><td style="text-align: right; height: 20px; width: 30px; background-color: rgb(0, 40, 69);"><span style="color: rgb(255, 102, 0); vertical-align: bottom;">    1.    </td><td style="background-color: rgb(255, 255, 0);  width: 180px; vertical-align: bottom;">    kolo</td>
<tr><td style="text-align: right; height: 20px; background-color: rgb(0, 40, 69);"><span style="color: rgb(255, 102, 0);">        </td><td style="background-color: rgb(255, 255, 0);">    
<tr><td style="text-align: right; height: 20px; background-color: rgb(0, 40, 69);"><span style="color: rgb(255, 102, 0); vertical-align: top;">    2.    </td><td style="background-color: rgb(255, 255, 0); vertical-align: top;">    kolo</td>
</tbody>
</table>
<br>
</body>
</html>
Trejpa
Profil
baisikl:
Pro první tabulku použij třídu nebo ID a zaměř tak vykreslení jejího rámečku.

Jsi si jistý, že značky, jako <html>, <meta>, </body> patří až za první tabulku?
baisikl
Profil *
Trejpa:
pořád tápu... s ID nemám zkušenosti, tak ještě prosim o upravu vzorcde, díky předem
Trejpa
Profil
baisikl:
Řádek 15:
                    <table class=tabulka-s-rameckem>

Řádek 12:
                    .tabulka-s-rameckem td, .tabulka-s-rameckem th {border: 1px solid black;}

A řádky 25 - 30 dát úplně na začátek.
baisikl
Profil *
Trejpa:

ok, díky moc

Vaše odpověď


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm:

0