Inside a td I have 2 span. The first span is a day and the second span is the month. The second span has been rotated -90 degrees. My problem is that the right span "begins" lower than the first one. The problem seems that there is a top and bottom padding on the first span eventhough I set it at 0. In addition there seem to be margins around one of those 2 span eventhough I set everything at 0. Strange! So I am looking for 1/ No top and bottom padding on the first span. 2/ I would like "no space" between the 2 span. Hope someone can help. Thank you in advance for your help. Cheers. Marc.
My HTML :
<td> <span>12</span><span>FEB</span> </td> My CSS :
body{ font-family:"Arial Black"; } td { padding:0; margin:0; background-color:red; } span:first-child { background-color:yellow; padding:0; margin:0; font-size:30px; } span:last-child { display: inline-block; background-color:green; font-size:12px; padding:0; margin:0; -moz-transform:rotate(-90deg); -webkit-transform: rotate(-90deg); }