m110585
asked on
Text placement using CSS
How can I get the bottom edge of text to sit flush on the bottom border of a single-cell table using CSS?
I need to create a 300x150 px red box with the word SAMPLE sitting FLUSH on the bottom of the box.
I need to create a 300x150 px red box with the word SAMPLE sitting FLUSH on the bottom of the box.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
same goes with "height="74"". Sorry about that, the editor I used to layout the table took a crap.
ASKER
Turns out that IE 3.02 (4.70.1300) doesn't display what I'm trying to do in CSS. :-(
<td bgcolor="#FF0000" width="359" valign="BOTTOM" height="74">
can be removed so that the line appears as:
<td bgcolor="#FF0000" valign="BOTTOM" height="74">
It doesn't make any difference, but is just cleaner coding.