0
I’m using css to build tables and I want to put the data in the center and I’m not getting it.
CSS:
.tabla7 .columna7 {
padding: 5px;
height: 45px;
float:left;width:89px;
border-right: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}
0
I’m using css to build tables and I want to put the data in the center and I’m not getting it.
CSS:
.tabla7 .columna7 {
padding: 5px;
height: 45px;
float:left;width:89px;
border-right: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}
Browser other questions tagged css
You are not signed in. Login or sign up in order to post.
You can use the
vertical-align:middle;
– Jorge B.
I used it and it didn’t change anything.
– ChrisAdler
You want to center the table content or the table relative to the page?
– user7261
You have to remove the
float:left;
. jsfiddle– Jorge B.