Code and preview: 
<html> <head> <title>Testing some CSS</title> <style type='text/css'> .dDay { font-size:205% } .dMon { font-weight:bold; font-variant:small-caps; font-size:130%; margin-top:-.7em; } .detailContainer { vertical-align:middle; display:table-cell; padding:0em 0em 0em 1em; } #dContainer { border:1px solid green; display:table; height:3.25em; } </style> <body> <div id='dContainer'> <div class='dDay'>31</div> <div class='dMon'>sep</div> <div class='detailContainer'>Test O.O</div> </div> </body> </html>
My question is: is it possible to place another date section next to the first one, so it appears like this: what i want http://img505.imageshack.us/img505/2787/previewsp2.gif
EDIT: strange, I tried floating before I asked the question and it didn’t work…thanks everyone 😀
1 Answer