[thelist] vertical alignment of text in table cells

Nan Harbison nan at nanharbison.com
Fri Apr 18 10:26:02 CDT 2008


This is probably really old news to this list, but I hope it helps someone!
I include the style sheet, as usual,
<link href="styles-utility-ie.css" rel="stylesheet" type="text/css">
And then I put this link:

<!--[if IE]><link href="styles-utility-ie.css" rel="stylesheet"
type="text/css"><![endif]-->

Only IE will see this style sheet, and I only put css on the ie style sheet
that are not working in IE, everything else is styled from the other sheet.
Since it is after the real style sheet, IE will follow the second sheet
since it executes the last command/whatever you would call this. So I can
fix all the one pixel off places and other stuff.

There are other ways of doing this too, like all IE versions less than 6 or
something, it was on MSDN.com:
http://msdn2.microsoft.com/en-us/library/ms537512(VS.85).aspx


Nan


-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Joel D Canfield
Sent: Thursday, April 17, 2008 7:13 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] vertical alignment of text in table cells

> For IE/6.0
> * html #peopleinfo tr {
> padding-bottom:0;
> }

or how 'bout I remove that for *all* browsers, which creates exactly what I
want.

d'oh. coming down with a cold, so that thing in my head is merely preventing
skull collapse

thanks David. and thanks for the CSS method, Krystian; may just implement
that when that thing in my head returns to operative status.

joel
-- 

* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester and archives
of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! 




More information about the thelist mailing list