[thelist] a cool multilingual resource
Aylard James J
jaylard at equilon.com
Tue Mar 21 10:57:28 2000
rudy limeback wrote:
> question for you javascript gurus: the [anglais] hotspot is inside <h5>
> tags, and in internet explorer the hotspot, and in fact the clickable
area,
> extends the entire width of the window -- is this weird, or what? do all
> heading links behave that way?
Rudy,
It's actually an HTML thing, and a browser thing as it turns out.
Since the Hn element is a block element, it reserves space across the entire
width of the page. In IE, when an Hn element is wrapped in an anchor, the
hotspot extends the width of the page. Communicator 4.7, however, renders
the link only for the width of the text. The Communicator rendering
certainly seems more sensible, but I'm not sure that the HTML spec actually
dictates which, if either, is correct.
James Aylard
jaylard@equilon.com