Hi ya
I know this is a really silly question but I have a div inside a div tag that holds a countdown clock I am trying to centre the div inside the div.
Example
The container div is call is "countdownclock inside that div is a div called "daysBox".
I am trying to centre the "daysBox" inside the "ountdownclock" so it is centred to the left.
}
#countdownclock {
padding: 5px;
height: 56px;
width: 980px;
margin-right: auto;
margin-left: auto;
margin-top: auto;
margin-bottom:auto;
border-width: 2px;
border-style: solid;
}
#daysBox {
vertical-align:auto;
height: 42px;
width: 105px;
margin-right: auto;
margin-left: auto;
border-width: 1px;
border-style: solid;
font-size: 44px;
}
Thanks Joel
I know this is a really silly question but I have a div inside a div tag that holds a countdown clock I am trying to centre the div inside the div.
Example
The container div is call is "countdownclock inside that div is a div called "daysBox".
I am trying to centre the "daysBox" inside the "ountdownclock" so it is centred to the left.
}
#countdownclock {
padding: 5px;
height: 56px;
width: 980px;
margin-right: auto;
margin-left: auto;
margin-top: auto;
margin-bottom:auto;
border-width: 2px;
border-style: solid;
}
#daysBox {
vertical-align:auto;
height: 42px;
width: 105px;
margin-right: auto;
margin-left: auto;
border-width: 1px;
border-style: solid;
font-size: 44px;
}
Thanks Joel