i teraz chciałem go rozciągnąć na całą stronę za pomocą takiego stylu css:
Kod
.calendar {
display: table;
width: 100%;
}
.caption {
font-weight: bold;
text-align: center;
display: table-caption;
}
.row-names {
display: table-header-group;
}
.names {
display: table-cell;
font-weight: bold;
width: 15%;
}
.row-days {
display: table-row-group;
}
.day-empty {
display: table-cell;
width: 15%;
height: 150px;
}
.day-current {
display: table-cell;
font-weight: bold;
width: 15%;
height: 150px;
}
.day {
display: table-cell;
width: 15%;
height: 150px;
}
display: table;
width: 100%;
}
.caption {
font-weight: bold;
text-align: center;
display: table-caption;
}
.row-names {
display: table-header-group;
}
.names {
display: table-cell;
font-weight: bold;
width: 15%;
}
.row-days {
display: table-row-group;
}
.day-empty {
display: table-cell;
width: 15%;
height: 150px;
}
.day-current {
display: table-cell;
font-weight: bold;
width: 15%;
height: 150px;
}
.day {
display: table-cell;
width: 15%;
height: 150px;
}
Opera ladnie go rozciąga ale FF tylko w poziomie a IE wogóle wszystko olewa :/