RE: [WSG] Multiple classes applied to one element

2005-04-04 Thread Trusz, Andrew
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of pixeldiva Sent: Friday, April 01, 2005 10:16 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] Multiple classes applied to one element On Apr 1, 2005 4:04 PM, Trusz, Andrew [EMAIL PROTECTED] wrote

[WSG] Multiple classes applied to one element

2005-04-01 Thread Stevio
From what I understand, if you want to apply multiple classes to the one element, you do the following: p class=class1 class2 Is this proper valid code accepted in modern browsers or is there anything I should know to concern me with about using it? Thanks, Stephen -- No virus found in this

Re: [WSG] Multiple classes applied to one element

2005-04-01 Thread Alan Trick
This is certainly valid code and as far as I know, it is accepted across modern browsers. I've used it quite a lot and have never had any trouble with it. I find it quite useful. Alan Trick Stevio wrote: From what I understand, if you want to apply multiple classes to the one element, you do

RE: [WSG] Multiple classes applied to one element

2005-04-01 Thread Tim Isenheim
Stevio wrote: Is this proper valid code accepted in modern browsers or is there anything I should know to concern me with about using it? In fact, it is valid code and supported by modern browsers. (Not supported by Netscape 4, OmniWeb and IE 4 Mac and some issues with IE in general as

Re: [WSG] Multiple classes applied to one element

2005-04-01 Thread Kornel Lesinski
On Fri, 01 Apr 2005 15:03:32 +0100, Tim Isenheim [EMAIL PROTECTED] wrote: p class=grey justified/p .grey{ color: #cc; } .justified{ text-align: justify; } I strongly disagree. You shouldn't name classes by how they look. span class=red font color=red Read

Re: [WSG] Multiple classes applied to one element

2005-04-01 Thread Stevio
- Original Message - From: Kornel Lesinski [EMAIL PROTECTED] Except that multiple classes selector doesn't really work in Internet Explorer, ofcourse. http://www.quirksmode.org/css/multipleclasses.html Are you meant/allowed to define classes like that page says: The example given is a

RE: [WSG] Multiple classes applied to one element

2005-04-01 Thread Tim Isenheim
Kornel Lesinski wrote: I strongly disagree. You shouldn't name classes by how they look. span class=red font color=red Read http://www.w3.org/QA/Tips/goodclassnames Well, you're right. Please excuse that miscarried example. I only used it arbitrarily for pointing out the multiple-class

RE: [WSG] Multiple classes applied to one element

2005-04-01 Thread Trusz, Andrew
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kornel Lesinski Sent: Friday, April 01, 2005 8:56 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] Multiple classes applied to one element On Fri, 01 Apr 2005 14:27:35 +0100, Alan Trick [EMAIL

Re: [WSG] Multiple classes applied to one element

2005-04-01 Thread pixeldiva
On Apr 1, 2005 4:04 PM, Trusz, Andrew [EMAIL PROTECTED] wrote: Actually the example works just fine in IE6. Not strictly. If you look, you'll notice that the third sentence is in smallcaps in IE6 and ordinary in FF. Not much of an issue, but an issue nonetheless. [/pedant] pix