|
Posted by Leonard Blaisdell on 11/22/05 08:13
In article <%Zxgf.23110$q%.3877@newssvr12.news.prodigy.com>,
John <anonymous@anonymous_one.com> wrote:
> I'm trying to format a link to look like an H2 header (with a link
> underline), like the following:
>
> <a href="welcome.html"><h2>Welcome</h2></a>
> Any ideas, or should I just leave the warning in?
You can't put a block element <h2> inside an inline element <a>. Do
<h2><a href="welcome.html">Welcome</a></h2> which puts the inline inside
the block.
leo
--
<http://web0.greatbasin.net/~leo/>
Navigation:
[Reply to this message]
|