<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Make all content a link</title>
	<atom:link href="http://stylizedweb.com/2008/01/03/make-whole-content-a-link/feed/" rel="self" type="application/rss+xml" />
	<link>http://stylizedweb.com/2008/01/03/make-whole-content-a-link/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
	<description>Web Design + Wordpress Tutorials &#38; Resources</description>
	<lastBuildDate>Mon, 06 Sep 2010 20:52:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ephedra</title>
		<link>http://stylizedweb.com/2008/01/03/make-whole-content-a-link/comment-page-1/#comment-6561</link>
		<dc:creator>Ephedra</dc:creator>
		<pubDate>Fri, 06 Jun 2008 08:05:59 +0000</pubDate>
		<guid isPermaLink="false">http://stylizedweb.com/2008/01/03/make-whole-content-a-link/#comment-6561</guid>
		<description>&lt;strong&gt;Ephedra...&lt;/strong&gt;

...</description>
		<content:encoded><![CDATA[<p><strong>Ephedra&#8230;</strong></p>
<p>&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Beats Programming Timbaland Style Javascript Tutorial J2ee</title>
		<link>http://stylizedweb.com/2008/01/03/make-whole-content-a-link/comment-page-1/#comment-5159</link>
		<dc:creator>Beats Programming Timbaland Style Javascript Tutorial J2ee</dc:creator>
		<pubDate>Thu, 29 May 2008 09:05:21 +0000</pubDate>
		<guid isPermaLink="false">http://stylizedweb.com/2008/01/03/make-whole-content-a-link/#comment-5159</guid>
		<description>&lt;strong&gt;Beats Programming Timbaland Style Javascript Tutorial J2ee...&lt;/strong&gt;

I didn&#039;t agree with you first, but last paragraph makes sense for me...</description>
		<content:encoded><![CDATA[<p><strong>Beats Programming Timbaland Style Javascript Tutorial J2ee&#8230;</strong></p>
<p>I didn&#8217;t agree with you first, but last paragraph makes sense for me&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://stylizedweb.com/2008/01/03/make-whole-content-a-link/comment-page-1/#comment-1248</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Sat, 29 Mar 2008 19:40:39 +0000</pubDate>
		<guid isPermaLink="false">http://stylizedweb.com/2008/01/03/make-whole-content-a-link/#comment-1248</guid>
		<description>Sadly it doesn&#039;t work with Firefox 3 (Beta 4)</description>
		<content:encoded><![CDATA[<p>Sadly it doesn&#8217;t work with Firefox 3 (Beta 4)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kilburn</title>
		<link>http://stylizedweb.com/2008/01/03/make-whole-content-a-link/comment-page-1/#comment-151</link>
		<dc:creator>Kilburn</dc:creator>
		<pubDate>Thu, 31 Jan 2008 10:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://stylizedweb.com/2008/01/03/make-whole-content-a-link/#comment-151</guid>
		<description>@YGW

As you said, replacing the  and  tags some semantic meaning is lost.  The replaced tags degrade worse and are less accessible (specially strong vs h2), so it should be seriously considered.

If you don&#039;t want to sacrifice the page meaning, use a behavioral specification (yeah, javascript :P) to link the whole li and achieve any hover effect through the &quot;:hover&quot;:

&lt;ul&gt;
&lt;li&gt;
&lt;h2&gt;&lt;a href=&quot;somehwere&quot;&gt;Some headline&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Some text…&amp;lt/p&gt;
&lt;/li&gt;
&lt;/ul&gt;


Notice the missing . It think it should be specified throught CSS&#039;s background-image property (it has no meaning!).</description>
		<content:encoded><![CDATA[<p>@YGW</p>
<p>As you said, replacing the  and  tags some semantic meaning is lost.  The replaced tags degrade worse and are less accessible (specially strong vs h2), so it should be seriously considered.</p>
<p>If you don&#8217;t want to sacrifice the page meaning, use a behavioral specification (yeah, javascript <img src='http://stylizedweb.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ) to link the whole li and achieve any hover effect through the &#8220;:hover&#8221;:</p>
<p>&lt;ul&gt;<br />
&lt;li&gt;<br />
&lt;h2&gt;&lt;a href=&#8221;somehwere&#8221;&gt;Some headline&lt;/a&gt;&lt;/h2&gt;<br />
&lt;p&gt;Some text…&amp;lt/p&gt;<br />
&lt;/li&gt;<br />
&lt;/ul&gt;</p>
<p>Notice the missing . It think it should be specified throught CSS&#8217;s background-image property (it has no meaning!).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fadern</title>
		<link>http://stylizedweb.com/2008/01/03/make-whole-content-a-link/comment-page-1/#comment-77</link>
		<dc:creator>fadern</dc:creator>
		<pubDate>Thu, 17 Jan 2008 13:14:03 +0000</pubDate>
		<guid isPermaLink="false">http://stylizedweb.com/2008/01/03/make-whole-content-a-link/#comment-77</guid>
		<description>Thanks</description>
		<content:encoded><![CDATA[<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: milo</title>
		<link>http://stylizedweb.com/2008/01/03/make-whole-content-a-link/comment-page-1/#comment-59</link>
		<dc:creator>milo</dc:creator>
		<pubDate>Wed, 09 Jan 2008 08:57:12 +0000</pubDate>
		<guid isPermaLink="false">http://stylizedweb.com/2008/01/03/make-whole-content-a-link/#comment-59</guid>
		<description>Interesting note,  here is the  another approach on the block hover effect at &lt;a href=&quot;http://www.smileycat.com/miaow/archives/000230.php&quot; rel=&quot;nofollow&quot;&gt;smileycat&lt;/a&gt;

</description>
		<content:encoded><![CDATA[<p>Interesting note,  here is the  another approach on the block hover effect at <a href="http://www.smileycat.com/miaow/archives/000230.php" rel="nofollow">smileycat</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jermayn Parker</title>
		<link>http://stylizedweb.com/2008/01/03/make-whole-content-a-link/comment-page-1/#comment-58</link>
		<dc:creator>Jermayn Parker</dc:creator>
		<pubDate>Wed, 09 Jan 2008 01:07:23 +0000</pubDate>
		<guid isPermaLink="false">http://stylizedweb.com/2008/01/03/make-whole-content-a-link/#comment-58</guid>
		<description>I like this tip :)

I have been after something like this for a while and so thanks.</description>
		<content:encoded><![CDATA[<p>I like this tip <img src='http://stylizedweb.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I have been after something like this for a while and so thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dejan</title>
		<link>http://stylizedweb.com/2008/01/03/make-whole-content-a-link/comment-page-1/#comment-57</link>
		<dc:creator>Dejan</dc:creator>
		<pubDate>Tue, 08 Jan 2008 22:50:46 +0000</pubDate>
		<guid isPermaLink="false">http://stylizedweb.com/2008/01/03/make-whole-content-a-link/#comment-57</guid>
		<description>&lt;em&gt;@ Ywg&lt;/em&gt;
Yes, of course you are right, so let&#039;s respect containment rules and put allowed tags into &lt;a&gt; i will make a correction</description>
		<content:encoded><![CDATA[<p><em>@ Ywg</em><br />
Yes, of course you are right, so let&#8217;s respect containment rules and put allowed tags into &lt;a&gt; i will make a correction</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ywg</title>
		<link>http://stylizedweb.com/2008/01/03/make-whole-content-a-link/comment-page-1/#comment-54</link>
		<dc:creator>Ywg</dc:creator>
		<pubDate>Tue, 08 Jan 2008 22:25:24 +0000</pubDate>
		<guid isPermaLink="false">http://stylizedweb.com/2008/01/03/make-whole-content-a-link/#comment-54</guid>
		<description>@Dejan

Breaking containment rules is an extremly bad habit, even if in cases like that it can be convenient.

I regulary have to fix some co-workers bugs caused by innapropriate tag nesting. In your example browser aren&#039;t too strict, but try to nest a list inside a paragraph and look at the DOM output : your list is rejected from your  tag.
There&#039;s no guaranty that upoming versions of browser won&#039;t do the same thing with your code (as this is the correct behaviour), therefore you shouldn&#039;t do that.

A more correct method would be to write your file like that :
&lt;code&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=”#”&gt;
&lt;img src=”someimage.gif” border=”0″ /&gt;
&lt;strong&gt;Some Headline&lt;/strong&gt;
&lt;span&gt;Some text will go here&lt;/span&gt;
&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;/code&gt;
  

&lt;code&gt;
li *{
  display: block;
  }&lt;/code&gt;

It may be less specific from a semantic view, but it&#039;s correct and there&#039;s no risk for it to be broked in the future.</description>
		<content:encoded><![CDATA[<p>@Dejan</p>
<p>Breaking containment rules is an extremly bad habit, even if in cases like that it can be convenient.</p>
<p>I regulary have to fix some co-workers bugs caused by innapropriate tag nesting. In your example browser aren&#8217;t too strict, but try to nest a list inside a paragraph and look at the DOM output : your list is rejected from your  tag.<br />
There&#8217;s no guaranty that upoming versions of browser won&#8217;t do the same thing with your code (as this is the correct behaviour), therefore you shouldn&#8217;t do that.</p>
<p>A more correct method would be to write your file like that :<br />
<code><br />
&lt;ul&gt;<br />
&lt;li&gt;<br />
&lt;a href=”#”&gt;<br />
&lt;img src=”someimage.gif” border=”0″ /&gt;<br />
&lt;strong&gt;Some Headline&lt;/strong&gt;<br />
&lt;span&gt;Some text will go here&lt;/span&gt;<br />
&lt;/a&gt;<br />
&lt;/li&gt;<br />
&lt;/ul&gt;</code></p>
<p><code><br />
li *{<br />
  display: block;<br />
  }</code></p>
<p>It may be less specific from a semantic view, but it&#8217;s correct and there&#8217;s no risk for it to be broked in the future.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dejan</title>
		<link>http://stylizedweb.com/2008/01/03/make-whole-content-a-link/comment-page-1/#comment-48</link>
		<dc:creator>Dejan</dc:creator>
		<pubDate>Tue, 08 Jan 2008 14:50:55 +0000</pubDate>
		<guid isPermaLink="false">http://stylizedweb.com/2008/01/03/make-whole-content-a-link/#comment-48</guid>
		<description>&lt;em&gt;@ Laszlo&lt;/em&gt;
That&#039;s correct, thanks for the note, I&#039;ve forgotten to mention it in text ;)

&lt;em&gt;@ Country&lt;/em&gt;
Yes you are right it can&#039;t pass validation this way, but it works. If you want it that way, you&#039;ll have to make all elements &lt;code&gt;blok&lt;/code&gt; and place &lt;a&gt; inside all of them, but then you won&#039;t have hover effect </description>
		<content:encoded><![CDATA[<p><em>@ Laszlo</em><br />
That&#8217;s correct, thanks for the note, I&#8217;ve forgotten to mention it in text <img src='http://stylizedweb.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><em>@ Country</em><br />
Yes you are right it can&#8217;t pass validation this way, but it works. If you want it that way, you&#8217;ll have to make all elements <code>blok</code> and place &lt;a&gt; inside all of them, but then you won&#8217;t have hover effect</p>
]]></content:encoded>
	</item>
</channel>
</rss>
