Sonja, it is a pain but put it in the <td> for straight tables not the
<tr>, ie <td valign="top">. If you are only doing it for a few that should
make it work, it ain't pretty that is the quick fix.
For CSS what browsers are you trying to get it work in?
Another suggestion, which I am not sure about for css compatability cross
browsers, but again a quick fix:
tr,td { margin-top: 0; }
or [your class] { text:-align: [value]; }
permissible [values] in CSS1 are : sub, super, top, middle, bottom,
text-top, text-bottom, baseline.
Again not sure of the full support.
You were on the right track, but wrong syntax I think [ far too late at
night/morning here :-)
I think that should work?
HTH
----- Original Message -----
From: "Van Der Westhuizen, Sonja" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 10, 2002 12:15 AM
Subject: [wdvltalk] [CSS] aligning text center center in a td tag
> Hi guys,
>
> One of the guys here is busy with a 2 column multi row table. In one row
we
> would like to align the text to the top, I tried "vertical-align: top" but
> its not working. I can use text align but it only does horizontal
alignment.
> Does anyone know how to sort it?. Im not coming up with much at the
moment.
>
> Help appreciated.
>
> Thanx
> Sonja
>
>
____________________________________________________________________________
_______________________
>
>
> The views expressed in this email are, unless otherwise stated, those of
the author and not those
> of the FirstRand Banking Group or its management. The information in this
e-mail is confidential
> and is intended solely for the addressee. Access to this e-mail by anyone
else is unauthorised.
> If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or
> omitted in reliance on this, is prohibited and may be unlawful.
> Whilst all reasonable steps are taken to ensure the accuracy and integrity
of information and data
> transmitted electronically and to preserve the confidentiality thereof, no
liability or
> responsibility whatsoever is accepted if information or data is, for
whatever reason, corrupted
> or does not reach its intended destination.
>
> ________________________________
>
> ____ . The WDVL Discussion List from WDVL.COM . ____
> To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
> Send Your Posts To: [EMAIL PROTECTED]
> To change subscription settings to the wdvltalk digest version:
> http://wdvl.internet.com/WDVL/Forum/#sub
>
> ________________ http://www.wdvl.com _______________________
>
> You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to %%email.unsub%%
>
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.385 / Virus Database: 217 - Release Date: 4/09/02
____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]