How to create this using css only
Its looking crap here but you get the idea. How can I create this layout using only CSS. Dunno why is it inserting so many br tags :S
Start |
Date | Time |
---|---|---|
e.g. 15/1 or Jan 15 | e.g. 5pm | |
End |
Date | Time |
e.g. 15/1 or Jan 15 | e.g. 5pm |
0
This discussion has been closed.
Comments
e.g. 15/1 or Jan 15
e.g. 5pm
e.g. 15/1 or Jan 15
e.g. 5pm
Stay tuned for the CSS.
Here's the CSS:
dl dt { /* Make the start & end date blocks start flush left. */ clear: left; } dl dd { /* Align the date and time inputs side-by-side */ width: 35%; display: inline; float: left; padding: 0 6px } dl dd * { /* Stack all dd contents with equal width: */ display: block; width: 100%; }