> I came across a CSS issue that I could not find with Google so I > thought to try this list. > > Consider the following HTML/CSS stucture: > > <a href="http://www.fi"> > <span style="display: block; width: 100%;">http://www.fi</span> > </a> > > When you right click the link to open the browser context menu to > choose the option "Open link in new tab" IE6 and IE7 don't recognize > the link and the usual options related to links are not shown in the > menu. Also the cursor does not change on mouseover but focus outline > works as usual. > > When the "width" declaration is removed or changed to "auto", the link > works as it should. Declaration display: inline-block; also triggers > the issue as well floating the span element. > > You can build around this trap if you know it is there but I noticed > that several CSS examples that use the Sliding Doors technique have > not been tested against this. > > Any ideas or similar experiences?
I just ran into the same problem when using a filter on links. Here is a simple test case: http://tjkdesign.com/lab/link_and_ie-filter.asp So the span in the markup is not really the problem. As Bill mentioned earlier, this bug has to do with *hasLayout*. Thanks for the heads up as I'm sure I ran into this before, but never noticed the issue. -- Regards, Thierry | http://www.TJKDesign.com ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/