On Wed, 12 Sep 2007, Ross Hulford wrote:

> I have a css menu
>
> <li><a href="#cad">CAD Operators</a>
>
> <a id="cad"></a>
> when I try to link to a named anchor in ie it does not work what am I doing
> wrong?

Is there some reason to think that the problem is related to CSS? Hint: 
disable CSS and test the page. (On IE, you can't disable CSS using the 
browser's basic controls, but you can test with a page version that has 
CSS code stripped away.)

The markup above works on IE, but it is _imaginable_ (though not probable) 
that some CSS code could prevent this. For analyzing this, the URL is 
needed.

The markup is somewhat odd, though. Using
   <h2 id="cad">CAD Operators</h2>
would be more natural. ObCSS: You can use CSS to prevent an h2 element 
from being too prominent; set e.g. h2 { font-size: 100%; margin: 0;
padding: 0; }, which might suit the design better than default rendering 
of h2.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

______________________________________________________________________
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/

Reply via email to