Posted by Jonathan N. Little on 03/24/07 03:35
Jon Slaughter wrote:
>
> A site I found uses display:block and display:unknown
There is *no* property "display: known"
> or all child lists
> inside the link.
You cannot put "block" elements withing an "A" element.
> 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.
> 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>
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|