473,386 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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
1 1467
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Tony Benham | last post by:
I have been getting to grips with css recently (very slowly), and one area I have a problem is when to use class selectors or id selectors. Are there any guidelines when to use each type ? The key...
6
by: Veerle | last post by:
Hi, Somewhere in my html page, I have the following code: <div id="main-body"> <h2>Header text</h2> <p>Some other text ...</p> ..... <h2>Another header text</h2> <p>Some more other text...
18
by: news.pandora.be | last post by:
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...
4
by: Harlan Messinger | last post by:
At http://www.gavelcade.com/tests/partial-child-recognition.html is an illustration of an apparent inconsistency in the way the child selection operator > is handled with respect to tables, rows,...
19
by: Thomas Mlynarczyk | last post by:
Hello, The following gives different results in IE and "Non-IE" browsers: <div style="background-color: green; width: 200px"> <div style="margin-top: 20px; background-color: red"> Hello...
4
by: Aaron Smith | last post by:
I post a message about this, but noone responded.. Well, I've played around as much as I can and I'm completely stuck and out of ideas. This should be a really simple task, but it seems that it...
2
by: Chris Sharman | last post by:
See http://services.ccagroup.co.uk/testform.htm Looks as intended in firefox, is valid (bulk of inputs centred in a div occupying the left half of the page). ie ignores the child selector,...
9
by: Jeff | last post by:
Does IE7 support attribute and child selectors? Jeff
7
by: Dan | last post by:
Hi, IE 7 does not seem to like child selectors for lists. I couldn't find anything addressing this with google search. Example of problem-- If I want to apply the color red to all ordered list...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.