Kod
table {
width: 100%;
text-align: left;
}
th, td {
padding: 10px 10px;
}
th {
color: #fff;
background: #E66000 none repeat-x scroll left top;
}
td {
border-bottom: 1px solid #ccc;
}
width: 100%;
text-align: left;
}
th, td {
padding: 10px 10px;
}
th {
color: #fff;
background: #E66000 none repeat-x scroll left top;
}
td {
border-bottom: 1px solid #ccc;
}
Jednak mam stronnicowanie i tabela nie ma byc szeroka 100%
Wiec probuje tak:
Kod
{@ css_inline @}
.paginationStandard table {
width: 250px;
}
.paginationStandard td {
height: 20px;
width: 50px;
padding: 2px;
background-color: #ffffff;
border: 1px solid #000000;
}
{@ end @}
<table class="paginationStandard">
.......................
.......................
......................
</table>
.paginationStandard table {
width: 250px;
}
.paginationStandard td {
height: 20px;
width: 50px;
padding: 2px;
background-color: #ffffff;
border: 1px solid #000000;
}
{@ end @}
<table class="paginationStandard">
.......................
.......................
......................
</table>
Ale nic szerokos jest zawsze 100%
Jak to obejc?