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

[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

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

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

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

2011-03-31 Thread Barney Carroll
On 31 March 2011 11:21, Alan Gresley a...@css-class.com 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

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 ? http://www.w3.org/TR/CSS21/syndata.html#characters 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

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)

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) p.tay...@rhul.ac.uk 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

[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

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

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

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

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

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

2011-03-31 Thread Barney Carroll
On 31 March 2011 13:49, Markus Ernst derer...@gmx.ch 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

Re: [css-d] icon class for buttons

2011-03-31 Thread Philippe Wittenbergh
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, it is currently not really usable, unless you use some kind of of pre-processor

Re: [css-d] icon class for buttons

2011-03-31 Thread Barney Carroll
On 31 March 2011 14:43, Philippe Wittenbergh e...@l-c-n.com 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 wrong

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 Ernstderer...@gmx.ch 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

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

2011-03-31 Thread Barney Carroll
On 31 March 2011 15:49, Alan Gresley a...@css-class.com 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

[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

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: http://css-class.com/test/css/selectors/identifiers-character-encoding2.htm 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 all

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 sfeld...@sympatico.ca wrote: hey all, I have a problem in ie that I hope you can help with

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

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

[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

Re: [css-d] Table row border styling

2011-03-31 Thread John D
Your answer is in this pdf file: http://tinyurl.com/5t7sxcb this link leads to: http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/dreamweaver/pdfs/bk_getting_started_css_ch09.pdf hth I don't know why this works. And I don't know why it doesn't. I've always heard it as

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 huckle...@gmail.comwrote: On 3/30/11 12:57 AM, Markus Ernst wrote: Am 30.03.2011 09:25 schrieb PL: Bob,

[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] 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. http://css-class.com/test/css/selectors/identifiers-character-encoding2.htm fwiw, when validating the stylesheet, I get the following 2 errors: .\3 Value Error : background #\0030\0066\0030 is not a valid color 3

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 just

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