Re: [PHP] urgent CSS question

2009-05-23 Thread LinuxManMikeC
Maybe there is another CSS rule that also matches the same context and overrides parts of the #frame1 rule, but didn't match when using the old #frame rule. Just my two cents. On Fri, May 22, 2009 at 7:15 PM, PJ af.gour...@videotron.ca wrote: Benjamin Hawkes-Lewis wrote: On 22/5/09 20:31, PJ

Re: [PHP] urgent CSS question

2009-05-22 Thread Benjamin Hawkes-Lewis
On 22/5/09 12:49, PJ wrote: Sorry, but no one suggested a mailing list for CSS and the W3 Schools Forum has problems. Actually, I did: http://www.css-discuss.org/ Why do I get completely different formatting with two identical classes? I want to change part of the formatting on just one

Re: [PHP] urgent CSS question

2009-05-22 Thread Michael A. Peters
PJ wrote: Sorry, but no one suggested a mailing list for CSS and the W3 Schools Forum has problems. This is the only reliable mailing list with professionals, so please excuse my off-path question as it is rather urgent. Why do I get completely different formatting with two identical classes? I

Re: [PHP] urgent CSS question

2009-05-22 Thread Benjamin Hawkes-Lewis
On 22/5/09 13:02, Michael A. Peters wrote: If I recall - it is illegal to end a css class name is a number. Those are actually id names not class names, but it's not illegal in either case. HTML id attributes must follow this: http://www.w3.org/TR/html401/types.html#type-id XML id

Re: [PHP] urgent CSS question

2009-05-22 Thread PJ
Benjamin Hawkes-Lewis wrote: On 22/5/09 12:49, PJ wrote: Sorry, but no one suggested a mailing list for CSS and the W3 Schools Forum has problems. Actually, I did: http://www.css-discuss.org/ My apologies... wasn't at the top of my attention at that point. :-[ Why do I get completely

Re: [PHP] urgent CSS question

2009-05-22 Thread Benjamin Hawkes-Lewis
On 22/5/09 13:27, PJ wrote: Ok, I have duplicate classes - #frame and #frame1. Let's get our terminology straight: ids are not classes; classes are not ids. ids look like: id=thing and are selected like: #thing classes look like: class=thing other-thing and are selected like .thing

Re: [PHP] urgent CSS question

2009-05-22 Thread Ashley Sheridan
On Fri, 2009-05-22 at 12:59 +0100, Benjamin Hawkes-Lewis wrote: On 22/5/09 12:49, PJ wrote: Sorry, but no one suggested a mailing list for CSS and the W3 Schools Forum has problems. Actually, I did: http://www.css-discuss.org/ Why do I get completely different formatting with two

Re: [PHP] urgent CSS question

2009-05-22 Thread Ashley Sheridan
On Fri, 2009-05-22 at 13:19 +0100, Benjamin Hawkes-Lewis wrote: On 22/5/09 13:02, Michael A. Peters wrote: If I recall - it is illegal to end a css class name is a number. Those are actually id names not class names, but it's not illegal in either case. HTML id attributes must follow

Re: [PHP] urgent CSS question

2009-05-22 Thread Daniel Brown
On Fri, May 22, 2009 at 08:02, Michael A. Peters mpet...@mac.com wrote: If I recall - it is illegal to end a css class name is a number. I'm not positive though. You are correct. They just executed a man in Texas for this. -- /Daniel P. Brown daniel.br...@parasane.net ||

Re: [PHP] urgent CSS question

2009-05-22 Thread Ashley Sheridan
On Fri, 2009-05-22 at 10:37 -0400, Daniel Brown wrote: On Fri, May 22, 2009 at 08:02, Michael A. Peters mpet...@mac.com wrote: If I recall - it is illegal to end a css class name is a number. I'm not positive though. You are correct. They just executed a man in Texas for this. --

Re: [PHP] urgent CSS question

2009-05-22 Thread Shawn McKenzie
Daniel Brown wrote: On Fri, May 22, 2009 at 08:02, Michael A. Peters mpet...@mac.com wrote: If I recall - it is illegal to end a css class name is a number. I'm not positive though. You are correct. They just executed a man in Texas for this. Yes we did, however that infraction is

Re: [PHP] urgent CSS question

2009-05-22 Thread Eddie Drapkin
Moral of the story: if you use css classes ending in numbers, you're probably a rapist and/or murderer. On Fri, May 22, 2009 at 11:46 AM, Shawn McKenzie nos...@mckenzies.netwrote: Daniel Brown wrote: On Fri, May 22, 2009 at 08:02, Michael A. Peters mpet...@mac.com wrote: If I recall - it

Re: [PHP] urgent CSS question

2009-05-22 Thread Bastien Koert
On Fri, May 22, 2009 at 11:50 AM, Eddie Drapkin oorza...@gmail.com wrote: Moral of the story: if you use css classes ending in numbers, you're probably a rapist and/or murderer. On Fri, May 22, 2009 at 11:46 AM, Shawn McKenzie nos...@mckenzies.net wrote: Daniel Brown wrote: On Fri, May

RE: [PHP] urgent CSS question

2009-05-22 Thread abdulazeez alugo
Date: Fri, 22 May 2009 11:55:55 -0400 From: phps...@gmail.com To: oorza...@gmail.com CC: nos...@mckenzies.net; php-general@lists.php.net Subject: Re: [PHP] urgent CSS question On Fri, May 22, 2009 at 11:50 AM, Eddie Drapkin oorza...@gmail.com wrote: Moral of the story: if you use

Re: [PHP] urgent CSS question

2009-05-22 Thread Dee Ayy
Find the Computed Style and how it was inherited (cascaded). In Safari, use Web Inspector. In Firefox, use Firebug. In Internet Explorer, use DebugBar. All free as in $0. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] urgent CSS question

2009-05-22 Thread PJ
Benjamin Hawkes-Lewis wrote: On 22/5/09 13:27, PJ wrote: Ok, I have duplicate classes - #frame and #frame1. Let's get our terminology straight: ids are not classes; classes are not ids. ids look like: id=thing and are selected like: #thing classes look like: class=thing

Re: [PHP] urgent CSS question

2009-05-22 Thread Benjamin Hawkes-Lewis
On 22/5/09 20:31, PJ wrote: They may have different names, but does that change their functionality? Potentially, yes! A selector including #frame will no longer match if id is changed to frame1, and vice versa. They are identical except for the 1 in the title of the id. So, if I change

Re: [PHP] urgent CSS question

2009-05-22 Thread PJ
Benjamin Hawkes-Lewis wrote: On 22/5/09 20:31, PJ wrote: They may have different names, but does that change their functionality? Potentially, yes! A selector including #frame will no longer match if id is changed to frame1, and vice versa. They are identical except for the 1 in the title