467,907 Members | 1,122 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Realy stuck on child selectors :(

I tried everything. I even tested it in combination with opera and mozilla.
(I use IE 6 mostly)
It's reduced to the simple example below.

Please tell me what is wrong with my understaning of child selectors! I
realy dont know :(

<html>
<head>
<style>
p > span { background-color: blue }
</style>
</head>
<body>
<p>
hello
<span>why isnt this blue? </span>
hello
</p>
</body>
</html>
Thank you,
Tom
Jul 20 '05 #1
  • viewed: 1353
Share:
1 Reply
Sorry for the duplicate guys.

"news.pandora.be" <tm***@hotmail.com> wrote in message
news:sL*******************@phobos.telenet-ops.be...
I tried everything. I even tested it in combination with opera and mozilla. (I use IE 6 mostly)
It's reduced to the simple example below.

Please tell me what is wrong with my understaning of child selectors! I
realy dont know :(

<html>
<head>
<style>
p > span { background-color: blue }
</style>
</head>
<body>
<p>
hello
<span>why isnt this blue? </span>
hello
</p>
</body>
</html>
Thank you,
Tom

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Tony Benham | last post: by
18 posts views Thread by news.pandora.be | last post: by
4 posts views Thread by Harlan Messinger | last post: by
19 posts views Thread by Thomas Mlynarczyk | last post: by
4 posts views Thread by Aaron Smith | last post: by
2 posts views Thread by Chris Sharman | last post: by
7 posts views Thread by Dan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.