<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Three separated layers, capisce?</title>
	<atom:link href="http://www.robertnyman.com/2005/04/25/53/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.robertnyman.com/2005/04/25/53/</link>
	<description>Web development and Internet trends</description>
	<pubDate>Fri, 05 Dec 2008 10:13:54 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: ingilizce Zamanlar</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-354576</link>
		<dc:creator>ingilizce Zamanlar</dc:creator>
		<pubDate>Sun, 27 Jul 2008 13:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-354576</guid>
		<description>HI i need your help i really want to create my own website/web page but i dont know how to go about doing it so can you please help me out</description>
		<content:encoded><![CDATA[<p>HI i need your help i really want to create my own website/web page but i dont know how to go about doing it so can you please help me out</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: javascript</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-340231</link>
		<dc:creator>javascript</dc:creator>
		<pubDate>Tue, 15 Jul 2008 13:24:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-340231</guid>
		<description>css layer examples / properties and layer attributes
http://css-lessons.ucoz.com/css-layer-properties.htm</description>
		<content:encoded><![CDATA[<p><acronym title="Cascading Style Sheets">CSS</acronym> layer examples / properties and layer attributes<br />
<a href="http://css-lessons.ucoz.com/css-layer-properties.htm" rel="nofollow">http://css-lessons.ucoz.com/css-layer-properties.htm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad&#8217;s dailies &#187; Blog Archive &#187; links for 2007-03-25</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-44457</link>
		<dc:creator>Chad&#8217;s dailies &#187; Blog Archive &#187; links for 2007-03-25</dc:creator>
		<pubDate>Sun, 25 Mar 2007 23:28:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-44457</guid>
		<description>[...] Three separated layers, capisce? (tags: webdev bestpractices) [...]</description>
		<content:encoded><![CDATA[<p>[...] Three separated layers, capisce? (tags: webdev bestpractices) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Easy Reader</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-419</link>
		<dc:creator>Easy Reader</dc:creator>
		<pubDate>Fri, 27 May 2005 02:46:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-419</guid>
		<description>&lt;strong&gt;Trash + DOM = Treasure?&lt;/strong&gt;

I was browsing the popular links on del.icio.us today and stumbled onto Nifty Corners and (via that page) More Nifty Corners. I have to say that I am incredibly impressed with the scripting, but I fear there is something wrong with this picture.
Late...</description>
		<content:encoded><![CDATA[<p><strong>Trash + <acronym title="Document Object Model">DOM</acronym> = Treasure?</strong></p>
<p>I was browsing the popular links on del.icio.us today and stumbled onto Nifty Corners and (via that page) More Nifty Corners. I have to say that I am incredibly impressed with the scripting, but I fear there is something wrong with this picture.<br />
Late&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Nyman</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-412</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Tue, 24 May 2005 13:54:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-412</guid>
		<description>MHayes,

Thanks for a long and thourough comment, and for contributing with your two cents!

When it comes to accessibility, it is a factor that someone have to consider, where to demand of the visitor to have JavaScript activated or making sure the web site works when JavaScript is off (or, of course, ommit those functions).

Regarding:
&lt;blockquote&gt;...Iâ€™m betting the odds are higher that this CSS is gonna work vs this javascript&lt;/blockquote&gt;

As I (and &lt;a href="http://www.adactio.com/" rel="nofollow"&gt;Jeremy Keith&lt;/a&gt;) state, &lt;acronym title="Document Object Model"&gt;DOM&lt;/acronym&gt; scripting has a more wide-spread support than &lt;acronym title="Cascading Style Sheets"&gt;CSS&lt;/acronym&gt; 2, so, when done right, it should be guaranteed to work in most web browsers.

As you probably know by know, my personal belief is that one needs to be skilled in all three layers (&lt;acronym title="HyperText Markup Language"&gt;HTML&lt;/acronym&gt;, &lt;acronym title="Cascading Style Sheets"&gt;CSS&lt;/acronym&gt; and JavaScript) to achieve the most structurally correct web interfaces.</description>
		<content:encoded><![CDATA[<p>MHayes,</p>
<p>Thanks for a long and thourough comment, and for contributing with your two cents!</p>
<p>When it comes to accessibility, it is a factor that someone have to consider, where to demand of the visitor to have JavaScript activated or making sure the web site works when JavaScript is off (or, of course, ommit those functions).</p>
<p>Regarding:</p>
<blockquote><p>&#8230;Iâ€™m betting the odds are higher that this <acronym title="Cascading Style Sheets">CSS</acronym> is gonna work vs this javascript</p></blockquote>
<p>As I (and <a href="http://www.adactio.com/" rel="nofollow">Jeremy Keith</a>) state, <acronym title="Document Object Model"></acronym><acronym title="Document Object Model">DOM</acronym> scripting has a more wide-spread support than <acronym title="Cascading Style Sheets"></acronym><acronym title="Cascading Style Sheets">CSS</acronym> 2, so, when done right, it should be guaranteed to work in most web browsers.</p>
<p>As you probably know by know, my personal belief is that one needs to be skilled in all three layers (<acronym title="HyperText Markup Language"></acronym><acronym title="HyperText Markup Language">HTML</acronym>, <acronym title="Cascading Style Sheets"></acronym><acronym title="Cascading Style Sheets">CSS</acronym> and JavaScript) to achieve the most structurally correct web interfaces.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MHayes</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-411</link>
		<dc:creator>MHayes</dc:creator>
		<pubDate>Tue, 24 May 2005 12:57:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-411</guid>
		<description>While I'm way late coming around the back side of the track on this one the comment by Mark/novemberborn.net kinda captures it for me... 
"because there are browsers out there which aren't capable of managing the state of elements internally".

While the 3 layers of separation is a good principle somewhere as a designer you reach that point of okay what are the trade-offs.  CSS or Javascript?  It's kinda been drilled into our minds at this point that hey, "the user could have javascript turned off!"

You kinda of reach a point where you say okay I'm gonna jump around semantics or whatever because I'm betting the odds are higher that this CSS is gonna work vs this javascript.  Not to mention the CSS is alot quicker to drop in to achieve the same effect-don't have to be a programmer.  Coming from a long ago (don't laugh) COBOL background I'd much rather tangle with HTML &#38; CSS (2 elements) than have to worry about Javascript as a third element.  

I thought to myself this is wonderful I can achieve the mouseover/mouseout stuff without even programming--getting twisted and tangled in all of these states and extra quotes and apostrophes.


If you said DOM this versus standard (css) that.... pseudo codes (with some limits) wouldn't trash the css too offly bad per se.  Anyway, my two cents.  2 more cents... to heck with IE and it's proprietary action x self--3 year plus Mozilla Suite user (some firefox lately).</description>
		<content:encoded><![CDATA[<p>While I&#8217;m way late coming around the back side of the track on this one the comment by Mark/novemberborn.net kinda captures it for me&#8230;<br />
&#8220;because there are browsers out there which aren&#8217;t capable of managing the state of elements internally&#8221;.</p>
<p>While the 3 layers of separation is a good principle somewhere as a designer you reach that point of okay what are the trade-offs.  <acronym title="Cascading Style Sheets">CSS</acronym> or Javascript?  It&#8217;s kinda been drilled into our minds at this point that hey, &#8220;the user could have javascript turned off!&#8221;</p>
<p>You kinda of reach a point where you say okay I&#8217;m gonna jump around semantics or whatever because I&#8217;m betting the odds are higher that this <acronym title="Cascading Style Sheets">CSS</acronym> is gonna work vs this javascript.  Not to mention the <acronym title="Cascading Style Sheets">CSS</acronym> is alot quicker to drop in to achieve the same effect-don&#8217;t have to be a programmer.  Coming from a long ago (don&#8217;t laugh) COBOL background I&#8217;d much rather tangle with <acronym title="HyperText Markup Language">HTML</acronym> &amp; <acronym title="Cascading Style Sheets">CSS</acronym> (2 elements) than have to worry about Javascript as a third element.  </p>
<p>I thought to myself this is wonderful I can achieve the mouseover/mouseout stuff without even programming&#8211;getting twisted and tangled in all of these states and extra quotes and apostrophes.</p>
<p>If you said <acronym title="Document Object Model">DOM</acronym> this versus standard (<acronym title="Cascading Style Sheets">CSS</acronym>) that&#8230;. pseudo codes (with some limits) wouldn&#8217;t trash the <acronym title="Cascading Style Sheets">CSS</acronym> too offly bad per se.  Anyway, my two cents.  2 more cents&#8230; to heck with <acronym title="Internet Explorer">IE</acronym> and it&#8217;s proprietary action x self&#8211;3 year plus Mozilla Suite user (some firefox lately).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-254</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Tue, 03 May 2005 07:06:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-254</guid>
		<description>Hi Jeroen,

You can join the party anytime!

It is a tough and interesting subject, but I think it's good to have these kind of discussions to become aware of and see people's different opinions and experiences about it.</description>
		<content:encoded><![CDATA[<p>Hi Jeroen,</p>
<p>You can join the party anytime!</p>
<p>It is a tough and interesting subject, but I think it&#8217;s good to have these kind of discussions to become aware of and see people&#8217;s different opinions and experiences about it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeroen Mulder</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-253</link>
		<dc:creator>Jeroen Mulder</dc:creator>
		<pubDate>Mon, 02 May 2005 20:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-253</guid>
		<description>I suppose I am late to the party? Sorry guys, just going through my backlog of feeds! 

I really like this subject and I haven't made up my mind completely yet. Yes, I am a criminal and abuse the hell out of the :hover class (mind you that this is a 1 year old experiment, if not older). 

The thing is, I am not sure where to draw the line. While reading Robert's original entry and the comments and finally Faruk's entry (implement comments already! ;)), I noticed Faruk's first half of the entry basically says what I think. I don't agree entirely with the second half though, mainly because I am not sure where to draw the line between presentation and behaviour.

Hmmm, good stuff. Really good. More to think about while sitting in the train! :P</description>
		<content:encoded><![CDATA[<p>I suppose I am late to the party? Sorry guys, just going through my backlog of feeds! </p>
<p>I really like this subject and I haven&#8217;t made up my mind completely yet. Yes, I am a criminal and abuse the hell out of the :hover class (mind you that this is a 1 year old experiment, if not older). </p>
<p>The thing is, I am not sure where to draw the line. While reading Robert&#8217;s original entry and the comments and finally Faruk&#8217;s entry (implement comments already! ;)), I noticed Faruk&#8217;s first half of the entry basically says what I think. I don&#8217;t agree entirely with the second half though, mainly because I am not sure where to draw the line between presentation and behaviour.</p>
<p>Hmmm, good stuff. Really good. More to think about while sitting in the train! <img src='http://www.robertnyman.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-211</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Wed, 27 Apr 2005 05:53:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-211</guid>
		<description>Faruk,

I think we're reached some acceptable middle-ground here.

Problem is, just as with HTML, if something is allowed (avoid closing P tags in regular HTML, or doing &lt;em&gt;all&lt;/em&gt; the interactivity through CSS and so on), then people will do it.

My belief is that it is easier to keep a firm and consistent standpoint, like all interactivity should be handled in another layer etc, instead of even making people aware of the exceptions to the rule.

We'll see what the future holds...

But don't worry, we will definitely find something else that we have different opinions about!  :-D</description>
		<content:encoded><![CDATA[<p>Faruk,</p>
<p>I think we&#8217;re reached some acceptable middle-ground here.</p>
<p>Problem is, just as with <acronym title="HyperText Markup Language">HTML</acronym>, if something is allowed (avoid closing P tags in regular <acronym title="HyperText Markup Language">HTML</acronym>, or doing <em>all</em> the interactivity through <acronym title="Cascading Style Sheets">CSS</acronym> and so on), then people will do it.</p>
<p>My belief is that it is easier to keep a firm and consistent standpoint, like all interactivity should be handled in another layer etc, instead of even making people aware of the exceptions to the rule.</p>
<p>We&#8217;ll see what the future holds&#8230;</p>
<p>But don&#8217;t worry, we will definitely find something else that we have different opinions about!  <img src='http://www.robertnyman.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Faruk Ates</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-210</link>
		<dc:creator>Faruk Ates</dc:creator>
		<pubDate>Tue, 26 Apr 2005 22:14:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-210</guid>
		<description>Fair enough, and I share your concern and I agree with you entirely.

How'd you think we have different opinions, again? ;)

Seriously though, if it's purely visual, only a color/background change or whatever, then it's CSS. It's 100% style. But the moment someone does more with that, yes, it should be done with javascript.</description>
		<content:encoded><![CDATA[<p>Fair enough, and I share your concern and I agree with you entirely.</p>
<p>How&#8217;d you think we have different opinions, again? <img src='http://www.robertnyman.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Seriously though, if it&#8217;s purely visual, only a color/background change or whatever, then it&#8217;s <acronym title="Cascading Style Sheets">CSS</acronym>. It&#8217;s 100% style. But the moment someone does more with that, yes, it should be done with javascript.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-205</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Tue, 26 Apr 2005 15:13:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-205</guid>
		<description>Mark,

Thank you for your answer.
I see your point and the difference you point out, but to me it is like handling interaction in the CSS file, which feels incorrect.


Faruk,

Thanks for the link.

As a reply to not belonging in the specification: As said above, it's only the dynamic pseudo-classes I'm talking about. The other ones, like :first-letter should definitely be in the specification, no question about it.

I think you and I only have different opinions when it comes to replacing dynamic pseudo-classes with JavaScript when it comes to solely changing the look of something.

If that's true, I &lt;em&gt;think&lt;/em&gt; I can give in a little...
For instance, if :hover is only used to change the color of a link but not displaying another element or something similar.

What my rant was about is that people &lt;em&gt;will&lt;/em&gt; use it for more interactivity, though, as soon as it is availible in more web browsers, hence I wanted to preach about separating it before it's too late.

Mark my words, if/when IE supports :hover on any element, the web will be littered with CSS menus and their likes.</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>Thank you for your answer.<br />
I see your point and the difference you point out, but to me it is like handling interaction in the <acronym title="Cascading Style Sheets">CSS</acronym> file, which feels incorrect.</p>
<p>Faruk,</p>
<p>Thanks for the link.</p>
<p>As a reply to not belonging in the specification: As said above, it&#8217;s only the dynamic pseudo-classes I&#8217;m talking about. The other ones, like :first-letter should definitely be in the specification, no question about it.</p>
<p>I think you and I only have different opinions when it comes to replacing dynamic pseudo-classes with JavaScript when it comes to solely changing the look of something.</p>
<p>If that&#8217;s true, I <em>think</em> I can give in a little&#8230;<br />
For instance, if :hover is only used to change the color of a link but not displaying another element or something similar.</p>
<p>What my rant was about is that people <em>will</em> use it for more interactivity, though, as soon as it is availible in more web browsers, hence I wanted to preach about separating it before it&#8217;s too late.</p>
<p>Mark my words, if/when <acronym title="Internet Explorer">IE</acronym> supports :hover on any element, the web will be littered with <acronym title="Cascading Style Sheets">CSS</acronym> menus and their likes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Faruk Ates</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-203</link>
		<dc:creator>Faruk Ates</dc:creator>
		<pubDate>Tue, 26 Apr 2005 14:37:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-203</guid>
		<description>&lt;a href="http://kurafire.net/log/archive/2005/04/26/on-separating-style-and-behaviour" rel="nofollow"&gt;I wrote a Log post about this&lt;/a&gt;, which I had told Robert in private but I may as well let the rest of the people in this discussion know about it. :)

I think I've summed up my view on the entire thing rather completely, there...</description>
		<content:encoded><![CDATA[<p><a href="http://kurafire.net/log/archive/2005/04/26/on-separating-style-and-behaviour" rel="nofollow">I wrote a Log post about this</a>, which I had told Robert in private but I may as well let the rest of the people in this discussion know about it. <img src='http://www.robertnyman.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I think I&#8217;ve summed up my view on the entire thing rather completely, there&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Wubben</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-201</link>
		<dc:creator>Mark Wubben</dc:creator>
		<pubDate>Tue, 26 Apr 2005 14:27:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-201</guid>
		<description>Robert, I think they should be used. They are there to style an element in a specific state, they don't contain the logic to allow for that state.</description>
		<content:encoded><![CDATA[<p>Robert, I think they should be used. They are there to style an element in a specific state, they don&#8217;t contain the logic to allow for that state.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-200</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Tue, 26 Apr 2005 10:25:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-200</guid>
		<description>Faruk,

Target is evil. Relieve us from it.

I think it's an interesting aspect you bring up with dividing the pseudo-classes into styling ones and dynamic ones.
It was good that you clarified that. Of course, the ones like :first-line should definitely be in the CSS, it was the dynamic ones I was adressing.

I have also thought about the content ones, and I totally agree with you there: the content should be in the content file/-s, not in the CSS file.</description>
		<content:encoded><![CDATA[<p>Faruk,</p>
<p>Target is evil. Relieve us from it.</p>
<p>I think it&#8217;s an interesting aspect you bring up with dividing the pseudo-classes into styling ones and dynamic ones.<br />
It was good that you clarified that. Of course, the ones like :first-line should definitely be in the <acronym title="Cascading Style Sheets">CSS</acronym>, it was the dynamic ones I was adressing.</p>
<p>I have also thought about the content ones, and I totally agree with you there: the content should be in the content file/-s, not in the <acronym title="Cascading Style Sheets">CSS</acronym> file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Faruk Ates</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-199</link>
		<dc:creator>Faruk Ates</dc:creator>
		<pubDate>Tue, 26 Apr 2005 10:17:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-199</guid>
		<description>Tommy,

"Target is definitely behaviour" ?

Correct me if I'm wrong, but I thought that the TARGET attribute was a gigantic mistake? It should be completely and solely up to the user (person using the browser) to decide whether or not a window should open in a new window (or tab), and at most the website author may specify what they PREFER to happen for the link, but the browser (user agent) should make it completely and easily possible to override such preferences on the user level.

Given that, the TARGET attribute seems to have no behavioural purpose or definition at all. It's a browser behaviour, sure, but not website behaviour (it doesn't change anything on the website, it 'changes' the browser).

As for pseudoclasses...

&lt;strong&gt;Robert:&lt;/strong&gt;

&lt;blockquote&gt;But pseudo-classes arenâ€™t the way to go, and I donâ€™t know what theyâ€™re doing in the CSS specification in the first place.&lt;/blockquote&gt;

Pseudo-classes and pseudo-elements are nearly all completely visual. Their purpose is to access (style) elements in a more dynamic way, i.e. not via ID or CLASS selectors. &lt;code&gt;:first-line&lt;/code&gt; is something that you can't specify with a class or id attribute, and separating it in the markup is an even worse idea.

My point is, the pseudo-classes have a very distinct and valuable purpose, and the only thing that they do (except for the dynamic pseudo-classes, being :hover, :active, :focus) is allow you to add visual styling, which is what CSS is for.

That said, I do question the need for dynamic "content-styling" done through CSS, and with that I'm talking about the pseudo-elements (:before and :after) in conjunction with Generated Content. The name itself, to me, indicates that it is content -- obviously -- so, shouldn't it be in the actual content, then? Thus, in the structure layer that contains the content: HTML/XHTML/XML.</description>
		<content:encoded><![CDATA[<p>Tommy,</p>
<p>&#8220;Target is definitely behaviour&#8221; ?</p>
<p>Correct me if I&#8217;m wrong, but I thought that the TARGET attribute was a gigantic mistake? It should be completely and solely up to the user (person using the browser) to decide whether or not a window should open in a new window (or tab), and at most the website author may specify what they PREFER to happen for the link, but the browser (user agent) should make it completely and easily possible to override such preferences on the user level.</p>
<p>Given that, the TARGET attribute seems to have no behavioural purpose or definition at all. It&#8217;s a browser behaviour, sure, but not website behaviour (it doesn&#8217;t change anything on the website, it &#8216;changes&#8217; the browser).</p>
<p>As for pseudoclasses&#8230;</p>
<p><strong>Robert:</strong></p>
<blockquote><p>But pseudo-classes arenâ€™t the way to go, and I donâ€™t know what theyâ€™re doing in the <acronym title="Cascading Style Sheets">CSS</acronym> specification in the first place.</p></blockquote>
<p>Pseudo-classes and pseudo-elements are nearly all completely visual. Their purpose is to access (style) elements in a more dynamic way, i.e. not via ID or CLASS selectors. <code>:first-line</code> is something that you can&#8217;t specify with a class or id attribute, and separating it in the markup is an even worse idea.</p>
<p>My point is, the pseudo-classes have a very distinct and valuable purpose, and the only thing that they do (except for the dynamic pseudo-classes, being :hover, :active, :focus) is allow you to add visual styling, which is what <acronym title="Cascading Style Sheets">CSS</acronym> is for.</p>
<p>That said, I do question the need for dynamic &#8220;content-styling&#8221; done through <acronym title="Cascading Style Sheets">CSS</acronym>, and with that I&#8217;m talking about the pseudo-elements (:before and :after) in conjunction with Generated Content. The name itself, to me, indicates that it is content &#8212; obviously &#8212; so, shouldn&#8217;t it be in the actual content, then? Thus, in the structure layer that contains the content: <acronym title="HyperText Markup Language">HTML</acronym>/XHTML/XML.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-198</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Tue, 26 Apr 2005 09:13:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-198</guid>
		<description>I have now...  :-)

But I'm not sure what your conclusion is. :hover is something that can be discussed for a long time, but regarding other pseudo-classes, would you encourage using them or using JavaScript?</description>
		<content:encoded><![CDATA[<p>I have now&#8230;  <img src='http://www.robertnyman.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>But I&#8217;m not sure what your conclusion is. :hover is something that can be discussed for a long time, but regarding other pseudo-classes, would you encourage using them or using JavaScript?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Wubben</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-196</link>
		<dc:creator>Mark Wubben</dc:creator>
		<pubDate>Tue, 26 Apr 2005 08:39:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-196</guid>
		<description>Robert, have you read my &lt;a href="http://novemberborn.net/javascript/using-dom-for-hover/seriously" rel="nofollow"&gt;follow-up&lt;/a&gt; already?</description>
		<content:encoded><![CDATA[<p>Robert, have you read my <a href="http://novemberborn.net/javascript/using-dom-for-hover/seriously" rel="nofollow">follow-up</a> already?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-194</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Tue, 26 Apr 2005 06:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-194</guid>
		<description>From an accessibility point of view, I understand you.
That's the weak point in my argument...  :-)

I just fear that the CSS will we riddled with pseudo-classes in the future that does just about anything.</description>
		<content:encoded><![CDATA[<p>From an accessibility point of view, I understand you.<br />
That&#8217;s the weak point in my argument&#8230;  <img src='http://www.robertnyman.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I just fear that the <acronym title="Cascading Style Sheets">CSS</acronym> will we riddled with pseudo-classes in the future that does just about anything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tommy Olsson</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-193</link>
		<dc:creator>Tommy Olsson</dc:creator>
		<pubDate>Mon, 25 Apr 2005 20:35:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-193</guid>
		<description>Presentational effects (which is all you can to with &lt;code&gt;:hover&lt;/code&gt; et al.) belong in CSS, if you ask me.

If a site uses a hover effect that makes it hard to use for someone, e.g. due to a disability, they can simply override it with a user style sheet. You can't do that with JavaScript, even if I think Opera 8 now supports user JavaScript as well as user style sheets.

So from an accessibility point of view, CSS is more appropriate.

While I do understand how you think, I'd say it's going way overboard, like marking up sentences as ordered lists of words. :)</description>
		<content:encoded><![CDATA[<p>Presentational effects (which is all you can to with <code>:hover</code> et al.) belong in <acronym title="Cascading Style Sheets">CSS</acronym>, if you ask me.</p>
<p>If a site uses a hover effect that makes it hard to use for someone, e.g. due to a disability, they can simply override it with a user style sheet. You can&#8217;t do that with JavaScript, even if I think Opera 8 now supports user JavaScript as well as user style sheets.</p>
<p>So from an accessibility point of view, <acronym title="Cascading Style Sheets">CSS</acronym> is more appropriate.</p>
<p>While I do understand how you think, I&#8217;d say it&#8217;s going way overboard, like marking up sentences as ordered lists of words. <img src='http://www.robertnyman.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.robertnyman.com/2005/04/25/53/#comment-192</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Mon, 25 Apr 2005 13:53:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2005/04/23/53/#comment-192</guid>
		<description>Tommy,

Thank you for your input.
I'd avoid labeling hover as state or behavior, rather as an event. And events, IMHO, belongs to the programming, not presentational, code.

This sounds easy in theory and almost impossible in practice, but I think the security issues are the web browser vendors/OS vendors problem, that shouldn't affect good coding practice (I know, I know, in a perfect world...).

It is a tough question, but I'm just afraid that too much functionality will be added into the CSS file because of lazy developers/those who don't know JavaScript and those few, like you, that bring up the security aspect.

I can forgive hovers (I sin with them too...), but generally, I think it's better to draw the line now before CSS becomes the new bloated HTML equivalent.</description>
		<content:encoded><![CDATA[<p>Tommy,</p>
<p>Thank you for your input.<br />
I&#8217;d avoid labeling hover as state or behavior, rather as an event. And events, IMHO, belongs to the programming, not presentational, code.</p>
<p>This sounds easy in theory and almost impossible in practice, but I think the security issues are the web browser vendors/OS vendors problem, that shouldn&#8217;t affect good coding practice (I know, I know, in a perfect world&#8230;).</p>
<p>It is a tough question, but I&#8217;m just afraid that too much functionality will be added into the <acronym title="Cascading Style Sheets">CSS</acronym> file because of lazy developers/those who don&#8217;t know JavaScript and those few, like you, that bring up the security aspect.</p>
<p>I can forgive hovers (I sin with them too&#8230;), but generally, I think it&#8217;s better to draw the line now before <acronym title="Cascading Style Sheets">CSS</acronym> becomes the new bloated <acronym title="HyperText Markup Language">HTML</acronym> equivalent.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
