[thelist] aligning text within inline elements

Jonathan_A_McPherson at rl.gov Jonathan_A_McPherson at rl.gov
Wed Jun 26 17:36:01 CDT 2002


Tom,

Read this article:
http://www.alistapart.com/stories/practicalcss/

Towards the end, there is a section entitled "Splitting the Difference" that
describes how to do exactly what you are trying to do. (If you have time,
the entire article is an excellent primer on using CSS to do stuff you'd
ordinarily want a table to do.)

HTH,
Jonathan.

PS. Like the gospel presentation on your blog. (-:

-----Original Message-----
From: Tom Dell'Aringa [mailto:pixelmech at yahoo.com]
Sent: Wednesday, June 26, 2002 3:16 PM
To: thelist at lists.evolt.org
Subject: [thelist] aligning text within inline elements


As we've seen on some recent emails, text-align works well for
aligning text in block level elements. My problem is this: I have
this type of thing happening --

..wrapper tables and stuff
<tr>
<td>

<span>A Title Word</span> <span>Links</span>

</td>
</tr>

I need to get my Title word aligned LEFT, and my Links aligned RIGHT.
I cannot use another TD cell to do this, because the way the tables
around it are layed out, you get a 'border' showing for the
cellspacing which I cannot have (its a nested table with a grey
background essentially).

Ideas on how to do this?

I'd rather not put yet another table inside that cell merely to
accomplish this, but I will if I have to.

(FYI, Full blown CSS isn't remotely an option here, this is a hugely
frames and table heavy application...ugh.)

Tom


=====
var me = tom.pixelmech.webDeveloper();
http://www.pixelmech.com/




More information about the thelist mailing list