Hello,
I have a central <div> which has width:70%; so there are 2 blank columns on left and right. I'd like to put on the left blank colum the css image validator; but I would like that it will be centered within the left column, like this:
More or less this works, but I need something more precise (and general). Can you suggest me something? THanks.
I have a central <div> which has width:70%; so there are 2 blank columns on left and right. I'd like to put on the left blank colum the css image validator; but I would like that it will be centered within the left column, like this:
Code:
.MAIN {
background-color: #C0C0C0;
width: 70%;
margin:0px auto;
padding: 0px;
border: 2px;
border-style: double;
}
.cssvalidator {
/* width: 5%;*/
float:left;
padding: 0px;
margin-left: 5%;
margin-right: 5%;
margin-top: 35%;
}