Re: [css-d] Google Animation Robert Bunsen

2011-03-31 Thread John D
It is not the CSS that is doing it but scripts. The page has two scripts and 3 lots of style sheets. I can post these here if you want but I think this would not be tolerated here. The best way to analyze a page is to view it in Firefox with this Add-On

Re: [css-d] Table row border styling

2011-03-31 Thread Philippe Wittenbergh
On Apr 1, 2011, at 4:42 AM, Brian King wrote: > I don't know why this works. And I don't know why it doesn't. > > I've always heard it as canon that you can't border a table row like: tr > {border:1px solid black}, and I've accepted it. BUT. > > Why does this work in Firefox [3.6.13]: (I jus

Re: [css-d] Rule of Thumb For Naming Classes/IDs?

2011-03-31 Thread Philippe Wittenbergh
On Mar 31, 2011, at 11:49 PM, Alan Gresley wrote: > Updated test case. > > fwiw, when validating the stylesheet, I get the following 2 errors: .\3 Value Error : background #\0030\0066\0030 is not a valid colo

[css-d] Google Animation Robert Bunsen

2011-03-31 Thread Patrice Lockhart
I am fascinated by today's google animation of Robert Bunsen's lab. I have been studying the page source for quite awhile but I am unable to make much sense of it. Could someone explain a little bit about how css is used in this page to create this effect? Thank you, Patrice ___

Re: [css-d] Web Pages Shift

2011-03-31 Thread Kevin A. Cameron
I think this is acceptable and expected behaviour, and not something that needs to be 'fixed'. But to each their own... :) Kevin On Wed, Mar 30, 2011 at 10:20 AM, David Hucklesby wrote: > On 3/30/11 12:57 AM, Markus Ernst wrote: > >> Am 30.03.2011 09:25 schrieb PL: >> >>> Bob, >>> >> [...] > >

Re: [css-d] Table row border styling

2011-03-31 Thread John D
Your answer is in this pdf file: this link leads to: hth I don't know why this works. And I don't know why it doesn't. I've always heard it a

[css-d] Table row border styling

2011-03-31 Thread Brian King
I don't know why this works. And I don't know why it doesn't. I've always heard it as canon that you can't border a table row like: tr {border:1px solid black}, and I've accepted it. BUT. Why does this work in Firefox [3.6.13]: (I just sort of stumbled over it, and I take no credit for discove

Re: [css-d] how the page comes up in IE

2011-03-31 Thread Sandy
Which version of IE? Although, I am fairly certain you will say IE 6 because you mentioned seeing a gray square. For this I recommend: http://www.dillerdesign.com/experiment/DD_belatedPNG/ it's ie7. Marc, at the risk of sounding a bit thick, this looks like a link to a script that fixes ie6'

Re: [css-d] how the page comes up in IE

2011-03-31 Thread Sandy
http://burlmannconstruction.com/test/ http://burlmannconstruction.com/test/css/burlmann.css Hmm, try Google up "flash of unstyled content"? That's what it sounds like to me. well, it's not really "unstyled". It's just missing that 20px margin. http://bluerobot.com/web/css/fouc.asp/ and ht

Re: [css-d] how the page comes up in IE

2011-03-31 Thread HallMarc Websites
> I have a problem in ie... Which version of IE? Although, I am fairly certain you will say IE 6 because you mentioned seeing a gray square. For this I recommend: http://www.dillerdesign.com/experiment/DD_belatedPNG/ Thank you, Marc Hall HallMarc Websites __

Re: [css-d] how the page comes up in IE

2011-03-31 Thread Sandy
258KB is pretty large for a BG image. Saving as a medium jpg in PS, brings it down to 15KB with acceptable quality. http://i.imgur.com/WPVSm.jpg Kevin, thanks a million! I have just replaced the background image with the one you posted. best regards, and THANK YOU Sandy __

Re: [css-d] how the page comes up in IE

2011-03-31 Thread david
Sandy wrote: hey all, I have a problem in ie that I hope you can help with http://burlmannconstruction.com/test/ http://burlmannconstruction.com/test/css/burlmann.css the client is bothered by how the site comes up. Sometimes the background image loads right away, other times you see a flash

Re: [css-d] how the page comes up in IE

2011-03-31 Thread Kevin A. Cameron
258KB is pretty large for a BG image. Saving as a medium jpg in PS, brings it down to 15KB with acceptable quality. http://i.imgur.com/WPVSm.jpg Kevin On Thu, Mar 31, 2011 at 11:52 AM, Sandy wrote: > hey all, > > I have a problem in ie that I hope you can help with > > http://burlmannconstruc

[css-d] how the page comes up in IE

2011-03-31 Thread Sandy
hey all, I have a problem in ie that I hope you can help with http://burlmannconstruction.com/test/ http://burlmannconstruction.com/test/css/burlmann.css the client is bothered by how the site comes up. Sometimes the background image loads right away, other times you see a flash of solid gray

Re: [css-d] Rule of Thumb For Naming Classes/IDs?

2011-03-31 Thread Alan Gresley
Short answer to this one. On 1/04/2011 2:14 AM, Barney Carroll wrote: Is the update for the generated content tests? Did you not the 2nd, 3rd and 4th test. If an ID was like this 'id=""' the following would

[css-d] css son of suckerfish dropdowns

2011-03-31 Thread Sara Haradhvala
am running into a problem when i hover over a top-level link (drop-down appears) and click the top level link to visit a new page. when i return (back button), the hover state is still on until i move away from the back button. i guess it's due to caching. any css way to keep this from happenin

Re: [css-d] Rule of Thumb For Naming Classes/IDs?

2011-03-31 Thread Barney Carroll
On 31 March 2011 15:49, Alan Gresley wrote: >> If you're dealing with a web app that procedurally generates >> identifiers beginning with digits and you have to support IE6-7, >> you've probably got bigger things to worry about ;) > > > Are you sure. Not really — it's a hypothetical situation, an

Re: [css-d] Rule of Thumb For Naming Classes/IDs?

2011-03-31 Thread Alan Gresley
On 1/04/2011 12:31 AM, Barney Carroll wrote: On 31 March 2011 13:49, Markus Ernst wrote: I could imagine a hypothetic Web application that generates class names from any other information, which may start with a digit. Thus class names may not even be known at coding time. In that case, escapin

Re: [css-d] icon class for buttons

2011-03-31 Thread Barney Carroll
On 31 March 2011 14:43, Philippe Wittenbergh wrote: > > On Mar 31, 2011, at 10:18 PM, Barney Carroll wrote: > You can do that in webkit based browsers (Safari 5.04 + at least) and Opera > 11.10b. > > http://dev.l-c-n.com/_temp/cssD-20110331.html No idea what I was doing wro

Re: [css-d] icon class for buttons

2011-03-31 Thread Philippe Wittenbergh
not in > conjunction) Uh ? You can do that in webkit based browsers (Safari 5.04 + at least) and Opera 11.10b. http://dev.l-c-n.com/_temp/cssD-20110331.html Granted, it is a bit convoluted, but it does work according to the spec. And granted, for complex stylesheets in the example you give,

Re: [css-d] Rule of Thumb For Naming Classes/IDs?

2011-03-31 Thread Barney Carroll
On 31 March 2011 13:49, Markus Ernst wrote: > I could imagine a hypothetic Web application that generates class names from > any other information, which may start with a digit. Thus class names may > not even be known at coding time. In that case, escaping all digits might be > a valuable alterna

Re: [css-d] icon class for buttons

2011-03-31 Thread Barney Carroll
Hiya Jonas, Came up against this exact problem earlier this month. The effect you're describing is possible under the W3 spec, but (perhaps because CSS3 gradients are currently only supported in vendor-prefixed-syntax implementation, ie not production-ready according to the developers) the only p

Re: [css-d] Rule of Thumb For Naming Classes/IDs?

2011-03-31 Thread Philippe Wittenbergh
On Mar 31, 2011, at 8:12 PM, Barney Carroll wrote: > A simpler question, that has still yet to be answered, is why > digit-led class or id identifiers are banned in the first place. Alan, > Phil — any ideas? HTML 4 has / had this: http://www.w3.org/TR/html401/types.html#type-name (linked from ht

Re: [css-d] Rule of Thumb For Naming Classes/IDs?

2011-03-31 Thread Philip Taylor (Webmaster, Ret'd)
Markus Ernst wrote: I could imagine a hypothetic Web application that generates class names from any other information, which may start with a digit. Thus class names may not even be known at coding time. In that case, escaping all digits might be a valuable alternative. Far simpler would be

Re: [css-d] Rule of Thumb For Naming Classes/IDs?

2011-03-31 Thread Markus Ernst
Am 31.03.2011 13:12 schrieb Barney Carroll: But even from that angle, can this be considered good practice? Isn't it contrary to the specification's intentions in forbidding digit-led identifiers using the standard methods? Would you genuinely suggest this advice to the OP, or is this purely an

[css-d] icon class for buttons

2011-03-31 Thread Jonas Geiregat
Hello, I'm trying to create reusable buttons. Currently I've already defined the button itself and some color classes. I'm trying to implement some icon classes such as .plus .min etc. The problem is that the color classes all have a linear gradient as background and I'm trying to place the ic

Re: [css-d] Rule of Thumb For Naming Classes/IDs?

2011-03-31 Thread Barney Carroll
On 31 March 2011 11:38, Philip Taylor (Webmaster, Ret'd) wrote: > The specification says "they cannot start with a digit"; Alan says > "they can start with numbers"; the question is therefore "are there > numbers that are not digits", and Alan is arguing "yes, if the > number is encoded using a ch

Re: [css-d] Rule of Thumb For Naming Classes/IDs?

2011-03-31 Thread Philip Taylor (Webmaster, Ret'd)
Philip Taylor (Webmaster, Ret'd) wrote: > It will take me some time to decide by looking at the formal > parts of the specification whether Alan is correct in his assertion; > perhaps others more familiar with the formal syntax can save > time by answering and/or pointing us at the rule(s) invo

Re: [css-d] Rule of Thumb For Naming Classes/IDs?

2011-03-31 Thread Philip Taylor (Webmaster, Ret'd)
Alan Gresley wrote: The answer is no. Isn't the css2.1 spec clear enough ? This is not correct. You can begin ID and class selectors with numbers. The only thing is that they must be encoded properly with characters escapes (the above spe

Re: [css-d] Rule of Thumb For Naming Classes/IDs?

2011-03-31 Thread Barney Carroll
On 31 March 2011 11:21, Alan Gresley wrote: > This is not correct. You can begin ID and class selectors with numbers. The > only thing is that they must be encoded properly with characters escapes > (the above spec gives details). Very cunning stuff! >> On Mar 31, 2011, at 12:09 AM, Elli Vizcai

Re: [css-d] Erratum

2011-03-31 Thread Alan Gresley
On 31/03/2011 6:27 PM, Alan Gresley wrote: Hello Barney, Marc and Bob, I should have said Bob. Apologies barney and Marc. -- Alan http://css-class.com/ Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo __ css-di

Re: [css-d] Rule of Thumb For Naming Classes/IDs?

2011-03-31 Thread Alan Gresley
On 31/03/2011 2:01 PM, Philippe Wittenbergh wrote: On Mar 31, 2011, at 12:09 AM, Elli Vizcaino wrote: So I guess, in essence the answer is NO you cannot begin a class or ID name with numeric characters? The answer is no. Isn't the css2.1 spec clear enough ?

Re: [css-d] Erratum

2011-03-31 Thread Philip Taylor (Webmaster, Ret'd)
Alan Gresley wrote: With this statement, "the inability of browser vendors to comply with W3C specifications." I can assure that the total reverse is true. The greatest change regarding CSS is the extensive work in re-writing various parts of the CSS2.1 specs to match current browser behavi

[css-d] Automatic resizing of textareas and contenteditable elements

2011-03-31 Thread Markus Ernst
Hello Some days ago I encountered that Firefox 4 and Google Chrome implement the resize property: http://www.w3.org/TR/css3-ui/#resizing They default the textarea element to resize:both, which is IMO a nice usability boost. Now there are websites such as Facebook that use scripting to dynami

Re: [css-d] Erratum

2011-03-31 Thread Alan Gresley
On 31/03/2011 6:38 AM, Bob Rosenberg wrote: At 16:49 +0100 on 03/30/2011, Philip Taylor (Webmaster, Ret'd) wrote about [css-d] Erratum: Philip Taylor (Webmaster, Ret'd) wrote: Surely the goal is to write fully conformant documents that render reliably (if not necessarily consistently) in all