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 wrote: > Benjamin Hawkes-Lewis wrote: >> On 22/5/09 20:31, PJ wrote: >>> They may ha

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

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 cha

Re: [PHP] urgent CSS question

2009-05-22 Thread Dee Ayy
I had an id killing me the other day. Turned out I was going blind. A different font or glasses would have helped me see that I was not using the id I thought I was. Just a thought. The following are 5 different characters: iIl1! Also, the debug tools I mentioned should confirm that they have

Re: [PHP] urgent CSS question

2009-05-22 Thread PJ
Ashley Sheridan wrote: > 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/ >>

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: > > c

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 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 wrote: > > > Mora

Re: [PHP] urgent CSS question

2009-05-22 Thread Bastien Koert
On Fri, May 22, 2009 at 11:50 AM, Eddie Drapkin 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 >wrote: > > > Daniel Brown wrote: > > > On Fri, May 22, 2009 at 08:02, Michael A

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 wrote: > Daniel Brown wrote: > > On Fri, May 22, 2009 at 08:02, Michael A. Peters > wrote: > >> If I recall - it is illegal to end a css class

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 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 what led t

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 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 Daniel Brown
On Fri, May 22, 2009 at 08:02, Michael A. Peters 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.br...@parasane.net || danbr...@php.net http://www.parasane.net/ ||

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

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

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 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 comp

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" attr

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 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 page