469,288 Members | 2,357 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,288 developers. It's quick & easy.

li:hover > ul

I wonder if someone would be kind enough to enlighten me about the use
of the > character in a stylesheet. E.g.

li:hover > ul {display: block;}

I think I know what the > achieves by looking at a page that uss it,
but I can't find an explanation anywhere. It would appear to be valid
css as a page which uses it
(http://www.meyerweb.com/eric/css/edge/menus/demo.html) validates, but
I can't find it mentioned in the CSS2 spec. (I'm not saying it's not
in there, I'm saying I can't find it in there.)

thanks,

mike.
Jul 20 '05 #1
6 28581
in post: <news:80*************************@posting.google.c om>
mike <in********************@hotmail.com> said:
I wonder if someone would be kind enough to enlighten me about the use
of the > character in a stylesheet. E.g.


http://localhost/www.w3.org/TR/REC-C...hild-selectors
--
b r u c i e
Jul 20 '05 #2
/brucie/:
http://localhost/www.w3.org/TR/REC-C...hild-selectors


Not Found

The requested URL /www.w3.org/TR/REC-CSS2/selector.html was not
found on this server.
Apache/2.0.49 (Win32) DAV/2 SVN/1.0.4 mod_auth_sspi/1.0.1 Server at
localhost Port 80

;-)
Jul 20 '05 #3
brucie <us********@brucie.name> wrote:
http://localhost/www.w3.org/TR/REC-C...hild-selectors
or even
http://www.w3.org/TR/REC-CSS2/select...hild-selectors


--
Spartanicus
Jul 20 '05 #4
in post: <news:2k************@uni-berlin.de>
Stanimir Stamenkov <s7****@netscape.net> said:
http://localhost/www.w3.org/TR/REC-C...hild-selectors
Not Found
localhost Port 80
;-)


doh!

http://www.w3.org/TR/REC-CSS2/select...hild-selectors

--
b r u c i e
Jul 20 '05 #5
in post:
<news:2g********************************@news.spar tanicus.utvinternet.ie>
Spartanicus <me@privacy.net> said:
http://localhost/www.w3.org/TR/REC-C...hild-selectors
or even
http://www.w3.org/TR/REC-CSS2/select...hild-selectors


mine downloads a hell of a lot faster

--
b r u c i e
Jul 20 '05 #6
Spartanicus <me@privacy.net> wrote in message news:<2g********************************@news.spar tanicus.utvinternet.ie>...
brucie <us********@brucie.name> wrote:
http://localhost/www.w3.org/TR/REC-C...hild-selectors


or even
http://www.w3.org/TR/REC-CSS2/select...hild-selectors


Ah there it is. Very helpful. :)

Thanks a lot to all who replied.

mike.
Jul 20 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Michael | last post: by
1 post views Thread by Randall Sell | last post: by
5 posts views Thread by toylet | last post: by
2 posts views Thread by Andrew Donaldson | last post: by
13 posts views Thread by windandwaves | last post: by
4 posts views Thread by bne | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.