Re: [WSG] advertising

2011-04-20 Thread Anthony Gr.
Interesting )

2011/4/20 Carl Heaton c...@webcoursesbangkok.com

 HI Everyone,

 I was just chatting with some of my instructors and I think it would be of
 semantic value to have a cpc or advertising tag so that paid adverts can
 be taken out of the documents semantic value.

 Thoughts?

 C

 --
 Carl Heaton
 Managing Director and Instructor
 www.WebCoursesBangkok.com



 Training Centre
 253 Building 18th Floor,
 Sukhumvit 21
 Asoke
 Bangkok
 10110


 Mobile: 0867824118
 Skype: carl68
 Twitter: @webcoursesbkk


 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***

Re: [WSG] why :first-child pseudo-class doesn't work for some selectors/elements?

2011-03-10 Thread Anthony Gr.
I think, it's doesn't work but h2 is not a first child element in
parent element (div).

div
pThis is the first child/p!-- first child element --
h2First header/h2!-- second child element--
pA paragraph/p
h2Second header/h2
pA paragraph/p
/div

2011/3/10 tee weblis...@gmail.com:

 On Mar 6, 2011, at 4:52 PM, Rob Crowther wrote:

 On 06/03/11 20:22, tee wrote:
 but I can never get h2:first-child works

 Here's an example, specifically using h2 elements since you mentioned them:

 http://www.boogdesign.com/examples/css3/first-child.html

 By default, every element has a blue border, but any element which is a 
 :first-child has a red border:

 :first-child {
    border: 1px solid red;
 }

 In addition, h2 elements which are children of #content and first-child 
 within their parent have white text on a black background:

 #content h2:first-child {
    color: #fff;
    background: #000;
 }

 Indeed. I'd just got a chance to check one of the sites that the h2 is used 
 for accordion title and still doesn't work. But if I bring it to JSBin 
 without other code, it works. So something must be conflicting with it.

 Thanks!

 tee

 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] disallow IE6 to load the main style sheet

2010-12-18 Thread Anthony Gr.
Hi. I think, this example will help you:

!--[if gte IE 6]!--
link rel=stylesheet href=style.css
!--![endif]--


Best,
Anton


2010/12/18 tee weblis...@gmail.com:
 I am finally to begin to stop supporting IE6 starts from 2011 as the usage 
 has fallen below 5%. I don't want the IE6 users to see a broken page due to 
 no special treatment made for the browser, rather, I would like them to see 
 an un-styled page as if the style sheet has switch off.

 Can this be done?

 Thanks!

 tee

 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] disallow IE6 to load the main style sheet

2010-12-18 Thread Anthony Gr.
Sorry :)
!--[if gt IE 6]!--
...
of course.

Best,
Anton.


2010/12/18 Anthony Gr. ant.grak...@gmail.com:
 Hi. I think, this example will help you:

 !--[if gte IE 6]!--
 link rel=stylesheet href=style.css
 !--![endif]--


 Best,
 Anton


 2010/12/18 tee weblis...@gmail.com:
 I am finally to begin to stop supporting IE6 starts from 2011 as the usage 
 has fallen below 5%. I don't want the IE6 users to see a broken page due to 
 no special treatment made for the browser, rather, I would like them to see 
 an un-styled page as if the style sheet has switch off.

 Can this be done?

 Thanks!

 tee

 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***




 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] Problem with onclick and onClick

2009-10-14 Thread Anthony Gr.
How does onclick become to onClick?

2009/10/14 designer desig...@gwelanmor-internet.co.uk:
 Can anyone help me with what is a basic question please?

 I have a library item (in Dreamweaver) which includes an onclick:

 a href=# onclick=window.print();return false  . . . etc

 When the library item is inserted (into 37 pages) the format remains lower
 case and all pages validate, but when uploaded to the server the pages don't
 validate because they change to onClick.  How can I stop this?

 What's going on? Anyone come across this?

 Any help gratefully received.

 Bob
 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***