| 
	
 | 
 Posted by David on 11/22/05 09:46 
Leonard Blaisdell wrote: 
 
> 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.  
 
But doing that doesn't result in the output I want in either IE or FF.  It  
outputs the 'Welcome' in small letters, compared to the big letters of  
regular h2 format.  The code I posted displays as I want, it just gives a  
warning, though, and I thought I'd try to resolve that. 
 
(You can try it yourself and see the difference I'm talking about.) 
 
Maybe the only way to resolve it is to create a new link class with the  
characteristics of the h2 class, but that is disappointing, to say the  
least.  I was hoping for something a little more elegant to give a link the  
characteristics of another class, except underlined and such.  But maybe  
the 'underlined and such' makes it so a new link class is the only way.  Is  
it only (mis)fortunate that my hack works? 
 
Thanks, (you too, Ed) 
David
 
  
Navigation:
[Reply to this message] 
 |