| 
 Posted by Jon Slaughter on 03/24/07 13:21 
"Jonathan N. Little" <lws4art@centralva.net> wrote in message  
news:95a41$46049c37$40cba7cb$11956@NAXS.COM... 
> Jon Slaughter wrote: 
> 
>> 
>> A site I found uses display:block and display:unknown 
> 
> There is *no* property "display: known" 
> 
 
yeah, I ment none. 
 
>> or all child lists inside the link. 
> 
> You cannot put "block" elements withing an "A" element. 
 
No, I ment that inside the lists. Each element in the list is a link or  
another list. 
 
>> It works in IE7 and FF 2.0 but not sure about IE6. They 
> 
> Pseudo class :hover only works on "A" elements in MSIE <=6 (not sure if 7  
> now supports it. For MSIE your either have to supplement with JavaScript  
> or an HTA file. 
> 
 
Yeah, this is the issue that the site was dealing with. 
 
>> mention something about having to use behaviors to get it to work there  
>> but I'm probably just going to take the easy route and require a modern  
>> browser to view my site. 
> 
> DIV.peekaboo DIV { display: none; } 
> DIV.peekaboo:hover DIV { display: block; } 
> 
> 
> <div class="peekaboo"> 
>   The nested DIV will appear when you hover a mouse over 
>   me in a modern web browser... 
>   <div>Hello World!</div> 
> </div> 
> 
 
Ok, thanks. This was essentially what the code I was looking at was doing  
but with lists instead.  I was initially trying to use the visibility  
property but that didn't work so well. 
 
Thanks, 
Jon
 
[Back to original message] 
 |