I'm having a little problem with my website. I have 3 three boxes side by side(box1, box2, box3). The text in Box1 will be generated dynamically according to the date().
The problem I'm having is that..some text in box1 seems to be pushing the boxes and icons on the other boxes upwards.
CSS
.box1{
margin-left: 0px;
margin-top: 60px;
width: 300px;
height: 200px;
background-color:#D8D8D8 ;
position: relative;
}
.box2{
margin-left: 350px;
margin-top: -200px;
width: 300px;
height: 200px;
background-color:#D8D8D8 ;
}
.box3{
margin-left: 700px;
margin-top: -200px;
width: 300px;
height: 200px;
background-color:#D8D8D8 ;
}
.result{
color :teal ;
font-family: cambria;
font-weight: normal;
text-align:center;
font-size:1.85em;
margin-top: 0px;
}
.mic{
position: absolute;
margin-left: 250px;
margin-top: -25px;
}
.clock{
position: absolute;
margin-left: -460px;
margin-top: -25px;
}
.calendar{
position: absolute;
margin-left: 940px;
margin-top: -25px;
}
The 3 examples are in the image below