Link to home
Start Free TrialLog in
Avatar of m110585
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.
ASKER CERTIFIED SOLUTION
Avatar of serobert
serobert

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of serobert
serobert

the width attribute in the following line (which appeared in the table of the previous code):
<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.
same goes with "height="74"".  Sorry about that, the editor I used to layout the table took a crap.
Avatar of m110585

ASKER

Turns out that IE 3.02 (4.70.1300) doesn't display what I'm trying to do in CSS. :-(