Hallo,
Ik probeer een tabel the centeren maar het lukt niet:
Hier is de code:
HTML
CSS:
Ik zou het waarderen als iemand dit kan maken of er een div tabel van zou kunnen maken.
Ik probeer een tabel the centeren maar het lukt niet:
Hier is de code:
HTML
<div class="centered">
<table class="mainbody">
<tr>
<td colspan="2">
<div class="table" style="display: block; color: #000000;">
<h4 class="modal-title">Multibet.io</h4>
</div>
</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</table>
</div> CSS:
body{
background:#FFF url(../images/bg.png) repeat;
color: #FFFFFF;
font-family: MuseoSans-100;
-webkit-font-smoothing: subpixel-antialiased !important;
margin:auto;
}
li{
list-style: none outside none;
display: inline;
}
.header{
text-align: center;
margin-top: 25px;
width: 100%;
}
.logos{
float: left;
text-align: center;
margin-top: 25px;
margin-left: -19px;
width: 100%;
}
.menu{
background: none repeat #0d0d0d;
float: left;
width: 100%;
height: 50px;
box-shadow: 0px 3px 5px #000;
box-sizing: border-box;
vertical-align: text-top middle;
padding-right: 20px;
}
#buttons{
text-align: center;
margin-top: 15px;
}
.empty{
height: 25px;
}
.centered{
margin: 0 auto;
}
.mainbody{
width: 75%;
}
ul li a {
color: #fff;
font-weight: bold;
text-decoration: none;
padding-top:15px;
padding-bottom:15px;
padding-left:20px;
padding-right:20px;
background:#0d0d0d;
vertical-align:text-top middle;
height:50px;
text-align:center;
}
ul li a:hover{
color: #fff;
text-decoration: none;
background:#272727;
border-radius:4px;
}
.table {
float: left;
width: 100%;
margin-top: 25px;
background-color: #ffffff;
}
.topbar{
width: 100%;
border-bottom:thin #000;
}
.topbar right{
text-align:right;
position:relative;
right:auto;
}
.topbar left{
left:auto;
position:relative;
text-align:left;
}
.balanceleft{
height:60px;
border-bottom:solid #00AAB5 medium;
text-align:center;
background:#8CC1C1;
color:#FFF;
width:200px;
vertical-align:text-bottom;
padding-top:13px;
border-right:solid #00AAB5 thin;
}
.deposit{
height:60px;
width:60px;
background:#00AAB5;
position:relative;
position:fixed;
} Ik zou het waarderen als iemand dit kan maken of er een div tabel van zou kunnen maken.

