If this is my container
div#AdsContainer
{
border:solid 2px #8DA6CE;
background:#EEF3FB;
width:160px;
margin:0px 0px 0px 0px;
padding:0px 0px 0px 0px;
}
and I want to have a box within the container then is the code below correct? ie with the width set to 152px?
.Ads1
{
border:solid 1px #8DA6CE;
background:#EEF3FB;
width:152px;
margin: 2px 2px 2px 2px;
padding: 1px 1px 1px 1px;
}
div#AdsContainer
{
border:solid 2px #8DA6CE;
background:#EEF3FB;
width:160px;
margin:0px 0px 0px 0px;
padding:0px 0px 0px 0px;
}
and I want to have a box within the container then is the code below correct? ie with the width set to 152px?
.Ads1
{
border:solid 1px #8DA6CE;
background:#EEF3FB;
width:152px;
margin: 2px 2px 2px 2px;
padding: 1px 1px 1px 1px;
}