<?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: Can&#8217;t make links (appear ) clickable in IE</title>
	<atom:link href="http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/</link>
	<description>Web development and Internet trends</description>
	<pubDate>Mon, 08 Sep 2008 07:21:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Peter</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-336174</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Fri, 11 Jul 2008 18:48:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-336174</guid>
		<description>Thanks, 

a{
cursor:pointer
}

 fixed it for me! Images that previously had the regular pointer now appear to be clickable in ie6. 

Cheers!</description>
		<content:encoded><![CDATA[<p>Thanks, </p>
<p>a{<br />
cursor:pointer<br />
}</p>
<p> fixed it for me! Images that previously had the regular pointer now appear to be clickable in ie6. </p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ellen</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-252703</link>
		<dc:creator>Ellen</dc:creator>
		<pubDate>Sat, 19 Apr 2008 05:23:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-252703</guid>
		<description>Yes it works with images in span too. I just tested it with his code above.
&#60; div id="container"&#62;
	&#60;ul&#62;
		&#60;li&#62;&#60;a href="http://www.robertnyman.com/"&#62;
                    &#60;span&#62;&#60;img src="file.jpg" alt="pic"&#62;&#60;/span&#62;&#60;/a&#62;
		&#60;/li&#62;
	&#60;/ul&#62;
&#60;/div&#62;
</description>
		<content:encoded><![CDATA[<p>Yes it works with images in span too. I just tested it with his code above.<br />
&lt; div id=&#8221;container&#8221;&gt;<br />
	&lt;ul&gt;<br />
		&lt;li&gt;&lt;a href=&#8221;http://www.robertnyman.com/&#8221;&gt;<br />
                    &lt;span&gt;&lt;img src=&#8221;file.jpg&#8221; alt=&#8221;pic&#8221;&gt;&lt;/span&gt;&lt;/a&gt;<br />
		&lt;/li&gt;<br />
	&lt;/ul&gt;<br />
&lt;/div&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glook</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-245091</link>
		<dc:creator>Glook</dc:creator>
		<pubDate>Tue, 08 Apr 2008 11:47:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-245091</guid>
		<description>Ok, but what if in span not just text, but image ???</description>
		<content:encoded><![CDATA[<p>Ok, but what if in span not just text, but image ???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Nyman</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-240054</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Mon, 31 Mar 2008 08:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-240054</guid>
		<description>Eric,

Great, that soultion works!

Ellen,

That's &lt;code&gt;even&lt;/code&gt; better! Fantastic, thank you!</description>
		<content:encoded><![CDATA[<p>Eric,</p>
<p>Great, that soultion works!</p>
<p>Ellen,</p>
<p>That&#8217;s <code>even</code> better! Fantastic, thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ellen</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-238381</link>
		<dc:creator>Ellen</dc:creator>
		<pubDate>Sat, 29 Mar 2008 00:10:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-238381</guid>
		<description>Simply add a:link in front of the span tag.  works in IE fine now. 
I'd seen in in a menu before where the a held one image and the span another image for menu buttons. This is how it is coded without the images

a {
	display: block;
}
a:link span {
	display: block;
	height: 20px;
}</description>
		<content:encoded><![CDATA[<p>Simply add a:link in front of the span tag.  works in <acronym title="Internet Explorer">IE</acronym> fine now.<br />
I&#8217;d seen in in a menu before where the a held one image and the span another image for menu buttons. This is how it is coded without the images</p>
<p>a {<br />
	display: block;<br />
}<br />
a:link span {<br />
	display: block;<br />
	height: 20px;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-238373</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Fri, 28 Mar 2008 23:52:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-238373</guid>
		<description>Give this a shot:
&lt;code&gt;
a {
display: block;
zoom: 1;
}

span {
display: block;
height: 20px;
position: relative;
z-index:-1
}
&lt;/code&gt;
If you give the anchor layout and add the position and z-index to the span, it'll move the span backward so it's no longer a click-blocker. Haven't tested much, but seems to work. (via &lt;a href="http://www.brunildo.org/test/IEaL.html" rel="nofollow"&gt;brunildo&lt;/a&gt;)</description>
		<content:encoded><![CDATA[<p>Give this a shot:<br />
<code><br />
a {<br />
display: block;<br />
zoom: 1;<br />
}</p>
<p>span {<br />
display: block;<br />
height: 20px;<br />
position: relative;<br />
z-index:-1<br />
}<br />
</code><br />
If you give the anchor layout and add the position and z-index to the span, it&#8217;ll move the span backward so it&#8217;s no longer a click-blocker. Haven&#8217;t tested much, but seems to work. (via <a href="http://www.brunildo.org/test/IEaL.html" rel="nofollow">brunildo</a>)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Nyman</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-229082</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Wed, 12 Mar 2008 14:17:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-229082</guid>
		<description>Rick K,

The problem is if you set a height on the element inside the link, or make it into a block. Then the problem occurs.</description>
		<content:encoded><![CDATA[<p>Rick K,</p>
<p>The problem is if you set a height on the element inside the link, or make it into a block. Then the problem occurs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary Hides</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-228378</link>
		<dc:creator>Gary Hides</dc:creator>
		<pubDate>Tue, 11 Mar 2008 09:06:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-228378</guid>
		<description>My problem was in an online store part of a CMS wiwth images not being clickable in the span tag. So I have changed the product category template to not show the image using an img tag, but give the span which was removing the clickable area a background of the image in question, with no repeat.

Then adding cursor: pointer; to the &lt;a&gt; tag seems to work fine for me.</description>
		<content:encoded><![CDATA[<p>My problem was in an online store part of a <acronym title="Content Management System">CMS</acronym> wiwth images not being clickable in the span tag. So I have changed the product category template to not show the image using an img tag, but give the span which was removing the clickable area a background of the image in question, with no repeat.</p>
<p>Then adding cursor: pointer; to the <a> tag seems to work fine for me.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary Hides</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-228367</link>
		<dc:creator>Gary Hides</dc:creator>
		<pubDate>Tue, 11 Mar 2008 08:49:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-228367</guid>
		<description>You could use IE conditional statements to provide IE with different HTML.

I'm stuck with the same problem and that's the only thing I can think of at the minute.</description>
		<content:encoded><![CDATA[<p>You could use <acronym title="Internet Explorer">IE</acronym> conditional statements to provide <acronym title="Internet Explorer">IE</acronym> with different <acronym title="HyperText Markup Language">HTML</acronym>.</p>
<p>I&#8217;m stuck with the same problem and that&#8217;s the only thing I can think of at the minute.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick K</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-219485</link>
		<dc:creator>Rick K</dc:creator>
		<pubDate>Wed, 27 Feb 2008 20:00:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-219485</guid>
		<description>&#60; div style="width:200px; height:100px;"&#62;
   &#60;a href="#" style="display:block; width:200px; height:100px"&#62;
      words, images, whatever...
   &#60;/a&#62;
&#60;/div&#62;

seems to work for me.</description>
		<content:encoded><![CDATA[<p>&lt; div style=&#8221;width:200px; height:100px;&#8221;&gt;<br />
   &lt;a href=&#8221;#&#8221; style=&#8221;display:block; width:200px; height:100px&#8221;&gt;<br />
      words, images, whatever&#8230;<br />
   &lt;/a&gt;<br />
&lt;/div&gt;</p>
<p>seems to work for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maxime Blaquiere</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-219282</link>
		<dc:creator>Maxime Blaquiere</dc:creator>
		<pubDate>Wed, 27 Feb 2008 14:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-219282</guid>
		<description>I'm having the exact same problem, except that i have an img element inside the span. And because span's displayed as a block, my image is not clickable.

Still I can't find a solution for this...!</description>
		<content:encoded><![CDATA[<p>I&#8217;m having the exact same problem, except that i have an img element inside the span. And because span&#8217;s displayed as a block, my image is not clickable.</p>
<p>Still I can&#8217;t find a solution for this&#8230;!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Nyman</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-191492</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Wed, 23 Jan 2008 09:44:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-191492</guid>
		<description>Anders,

Yes, and that's the gist of it. Also, next time you comment, please provide a valid e-mail address. Anonymous comments (to me that is; anonymous to the public is just fine) will be removed.</description>
		<content:encoded><![CDATA[<p>Anders,</p>
<p>Yes, and that&#8217;s the gist of it. Also, next time you comment, please provide a valid e-mail address. Anonymous comments (to me that is; anonymous to the public is just fine) will be removed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anders</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-191482</link>
		<dc:creator>Anders</dc:creator>
		<pubDate>Wed, 23 Jan 2008 09:20:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-191482</guid>
		<description>Jeff L:

I believe that setting an elements display property to "block", doesn't really make it a block level element, but rather behave as one. Thus the document won't validate. Am I wrong here?</description>
		<content:encoded><![CDATA[<p>Jeff L:</p>
<p>I believe that setting an elements display property to &#8220;block&#8221;, doesn&#8217;t really make it a block level element, but rather behave as one. Thus the document won&#8217;t validate. Am I wrong here?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olivier G.</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-191479</link>
		<dc:creator>Olivier G.</dc:creator>
		<pubDate>Wed, 23 Jan 2008 09:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-191479</guid>
		<description>a * {cursor: pointer;} works but will be disregarded ^^

Can't find a solution... :(</description>
		<content:encoded><![CDATA[<p>a * {cursor: pointer;} works but will be disregarded ^^</p>
<p>Can&#8217;t find a solution&#8230; <img src='http://www.robertnyman.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Nyman</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-191477</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Wed, 23 Jan 2008 09:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-191477</guid>
		<description>Olivier,

Yes, anything triggering hasLayout causes the error.</description>
		<content:encoded><![CDATA[<p>Olivier,</p>
<p>Yes, anything triggering hasLayout causes the error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olivier G.</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-191474</link>
		<dc:creator>Olivier G.</dc:creator>
		<pubDate>Wed, 23 Jan 2008 09:05:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-191474</guid>
		<description>Fun, you have to add position: relative; to the a to get back the cursor on the padding space of the a.

And giving a em element a hasLayout property triggers the incorrect behavior (try with an em element with zoom: 1).</description>
		<content:encoded><![CDATA[<p>Fun, you have to add position: relative; to the a to get back the cursor on the padding space of the a.</p>
<p>And giving a em element a hasLayout property triggers the incorrect behavior (try with an em element with zoom: 1).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olivier G.</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-191471</link>
		<dc:creator>Olivier G.</dc:creator>
		<pubDate>Wed, 23 Jan 2008 09:02:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-191471</guid>
		<description>Strange. If i modify your css in :

a {
	border: 1px solid blue;
	display: block;
	padding: 5px;
}
span {
	border: 1px solid red;
	display: block;
	height: 20px;
}

The cursor is not trigged over the padding part of the a.</description>
		<content:encoded><![CDATA[<p>Strange. If i modify your <acronym title="Cascading Style Sheets">CSS</acronym> in :</p>
<p>a {<br />
	border: 1px solid blue;<br />
	display: block;<br />
	padding: 5px;<br />
}<br />
span {<br />
	border: 1px solid red;<br />
	display: block;<br />
	height: 20px;<br />
}</p>
<p>The cursor is not trigged over the padding part of the a.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Nyman</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-191450</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Wed, 23 Jan 2008 08:05:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-191450</guid>
		<description>Pablo, Halans,

The problem with your respective solutions it that the SPAN element doesn't take the desired height into account. It displays a cursor, but it won't respect the pixel height.

Put a border, for instance, on the SPAN and you'll see.

NICCAI,

Padding can definitely be a solution to some extent (and probably the one I'll use in the real-case scenario that started this). but I want height to make sure that it matches the height of the background image.

If I have padding, even if it's set in pixels, the height of the SPAN will still depend on font-size of its text. hence if the user has a smaller font size, the SPAN won't get the height I want.</description>
		<content:encoded><![CDATA[<p>Pablo, Halans,</p>
<p>The problem with your respective solutions it that the SPAN element doesn&#8217;t take the desired height into account. It displays a cursor, but it won&#8217;t respect the pixel height.</p>
<p>Put a border, for instance, on the SPAN and you&#8217;ll see.</p>
<p>NICCAI,</p>
<p>Padding can definitely be a solution to some extent (and probably the one I&#8217;ll use in the real-case scenario that started this). but I want height to make sure that it matches the height of the background image.</p>
<p>If I have padding, even if it&#8217;s set in pixels, the height of the SPAN will still depend on font-size of its text. hence if the user has a smaller font size, the SPAN won&#8217;t get the height I want.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Halans</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-191421</link>
		<dc:creator>Halans</dc:creator>
		<pubDate>Wed, 23 Jan 2008 06:19:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-191421</guid>
		<description>How about:

span {
		display: compact;
		height: 20px;
}

That seems to work in IE6 (not tested in IE7)</description>
		<content:encoded><![CDATA[<p>How about:</p>
<p>span {<br />
		display: compact;<br />
		height: 20px;<br />
}</p>
<p>That seems to work in IE6 (not tested in IE7)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NICCAI</title>
		<link>http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-191238</link>
		<dc:creator>NICCAI</dc:creator>
		<pubDate>Tue, 22 Jan 2008 22:07:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/22/cant-make-links-appear-clickable-in-ie/#comment-191238</guid>
		<description>Are you sure you need the height?  Can you not use padding instead?  Could we see what you are trying to achieve?</description>
		<content:encoded><![CDATA[<p>Are you sure you need the height?  Can you not use padding instead?  Could we see what you are trying to achieve?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
