How to align text at the top left-hand corner?
- by OverTheRainbow
I'd like to use stylesheet instead of hard-coding HTML so that text within cells are aligned vertically, ie. text starts at the upper left-hand corner.
However, neither of this works:
<head>
<link rel="STYLESHEET" href="display.css" type="text/css">
<style>
td {vertical-align:top; font-size:x-small}
td {vertical-align:text-top; font-size:x-small}
</style>
</head>
Does someone know?
Thank you.
Edit: Problem solved. Turns out the HTML editor I'm using is a bit old and didn't display things as expected, but they do show OK in a modern browser with "vertical-align:top".