Re: [PHP] CSS and Tables

2005-12-09 Thread Stephen Leaf
On Friday 09 December 2005 21:53, Chris wrote: > I believe, for IE (though I haven't tested it) this would work: > > table.table1 > tbody > tr > td { css here; } How I wish this would work. it doesn't handle the parent>child at all. I've tested it. found it to be good to use to -fix- other problem

Re: [PHP] CSS and Tables

2005-12-09 Thread Michael B Allen
On Fri, 9 Dec 2005 19:07:36 -0800 Curt Zirzow <[EMAIL PROTECTED]> wrote: > On Fri, Dec 09, 2005 at 09:16:32PM -0500, Michael B Allen wrote: > > This question is a little OT but no doubt everyone and their brother is > > generating tables here so heres my question. > > well, i try to only use tabl

Re: [PHP] CSS and Tables

2005-12-09 Thread Chris
I believe, for IE (though I haven't tested it) this would work: table.table1 > tbody > tr > td { css here; } I think IE assumes a tbody, even when there isn't one specified. table.table1 td { css here; } Would also do fairly well, but , since this would apply to all tds within the table tag (

Re: [PHP] CSS and Tables

2005-12-09 Thread Stephen Leaf
Not IE friendly but you could always do table.table1>tr>td { css here; } IE will simply ignore it.. even if you set other rules that it _does_ understand. :) On Friday 09 December 2005 21:07, Curt Zirzow wrote: > On Fri, Dec 09, 2005 at 09:16:32PM -0500, Michael B Allen wrote: > > This question

Re: [PHP] CSS and Tables

2005-12-09 Thread Curt Zirzow
On Fri, Dec 09, 2005 at 08:42:14PM -0600, Afan Pasalic wrote: > table, tr, th, td, p, { (note there is no dot in front of the class name!) > font-size: small; > border-bottom: 1px lightgrey solid; > border-right: 1px lightgrey solid; > } > > and yo don't ned to add class=t any mo

Re: [PHP] CSS and Tables

2005-12-09 Thread Michael B Allen
On Fri, 9 Dec 2005 20:42:14 -0600 Afan Pasalic <[EMAIL PROTECTED]> wrote: > table, tr, th, td, p, { (note there is no dot in front of the class name!) > font-size: small; > border-bottom: 1px lightgrey solid; > border-right: 1px lightgrey solid; > } > > and yo don't ned to add c

Re: [PHP] CSS and Tables

2005-12-09 Thread Curt Zirzow
On Fri, Dec 09, 2005 at 09:16:32PM -0500, Michael B Allen wrote: > This question is a little OT but no doubt everyone and their brother is > generating tables here so heres my question. well, i try to only use tables when I present tabular data, i wonder mabey if i'm a cousin or something. And, ye

Re: [PHP] CSS and Tables

2005-12-09 Thread Afan Pasalic
table, tr, th, td, p, { (note there is no dot in front of the class name!) font-size: small; border-bottom: 1px lightgrey solid; border-right: 1px lightgrey solid; } and yo don't ned to add class=t any more :) similar for input, body, p, a... -afan On Friday 09 December

[PHP] CSS and Tables

2005-12-09 Thread Michael B Allen
This question is a little OT but no doubt everyone and their brother is generating tables here so heres my question. I'm a little frustrated with CSS. Sure I can define styles for TH, TD, and so on. But mildly sophisticated pages are buried in tables within tables. Specifying global styles for the