Re: [css-d] Inline CSS with TD

2008-03-26 Thread David Dorward
On 26/03/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  I need to embed all the CSS from below into the style= attribute of the
  table HTML:
  .settings td {border:1px solid #696969;}

Shame, it isn't possible.

CSS goes in one of two places.

(1) In a style sheet as full CSS

(2) In a style attribute as the contents of a declaration block

There is no way to use selectors except in a real stylesheet.

-- 
David Dorward http://dorward.me.ukhttp://blog.dorward.me.uk
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Inline CSS with TD

2008-03-26 Thread Highpowered
David Dorward wrote:
 On 26/03/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   
  I need to embed all the CSS from below into the style= attribute of the
  table HTML:
  .settings td {border:1px solid #696969;}
 

 Shame, it isn't possible.

 CSS goes in one of two places.

 (1) In a style sheet as full CSS

 (2) In a style attribute as the contents of a declaration block

 There is no way to use selectors except in a real stylesheet.

   
He's right on that. If neither of these two methods are available, you 
have to use inline styles on each td to which you want those properties 
applied.

I'm a bit Joan Crawford-ish when it comes to inline styles: No! Inline 
Styles! Ever!
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Inline CSS with TD

2008-03-26 Thread Ryan Doherty
On Mar 26, 2008, at 3:47 PM, Highpowered wrote:
 David Dorward wrote:
 On 26/03/2008, [EMAIL PROTECTED]  
 [EMAIL PROTECTED] wrote:

 I need to embed all the CSS from below into the style= attribute  
 of the
 table HTML:
 .settings td {border:1px solid #696969;}


 Shame, it isn't possible.

 CSS goes in one of two places.

 (1) In a style sheet as full CSS

 (2) In a style attribute as the contents of a declaration block

 There is no way to use selectors except in a real stylesheet.


 He's right on that. If neither of these two methods are available, you
 have to use inline styles on each td to which you want those  
 properties
 applied.

 I'm a bit Joan Crawford-ish when it comes to inline styles: No!  
 Inline
 Styles! Ever!
 __


Except for email:

http://www.campaignmonitor.com/blog/archives/2007/04/a_guide_to_css_support_in_emai_2.html


-Ryan

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/