| | |
IE8 Child Selector
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Oct 2009
Posts: 12
Reputation:
Solved Threads: 0
Hi! I read that IE 8 accepts child selectors. But it does not seem to work for my IE8 (Spanish version if this even matters).
It works for firefox and not for internet explorer. What could be happening?
HTML and CSS Syntax (Toggle Plain Text)
#div > p{background-color: blue;} ======================== <div id="div"> <p>Shoud work here!</p> <div> <p>and not here</p> </div> </div>
It works for firefox and not for internet explorer. What could be happening?
0
#2 Oct 12th, 2009
•
•
•
•
Hi! I read that IE 8 accepts child selectors. But it does not seem to work for my IE8 (Spanish version if this even matters).
HTML and CSS Syntax (Toggle Plain Text)
#div > p{background-color: blue;} ======================== <div id="div"> <p>Shoud work here!</p> <div> <p>and not here</p> </div> </div>
It works for firefox and not for internet explorer. What could be happening?
But if you are working in a strict document than it will mean it doesn't support direct child selector syntax.
But this is a highly effective workaround - try this.
HTML and CSS Syntax (Toggle Plain Text)
<style type="text/css"> #div p{background-color: blue;} #div div p{background-color: transparent;} </style>
![]() |
Similar Threads
- XPath / CSS selector query (XML, XSLT and XPATH)
- help for compliance css for ie7 and firefox3 (HTML and CSS)
- News Story: Shock Horror: IE8 BETA 2 has some bugs (Windows Software)
- News Story: IE8 Beta Testers wanted, only great people need apply (Windows Software)
- CSS Style sheets (HTML and CSS)
- News Story: IE8 Beta ... Less usable than IE7 (Web Browsers)
- CSS strangenbess with td tag (HTML and CSS)
- fixing IE and FF differences (HTML and CSS)
- CSS pseudo-letter ??? (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: How important are robots.txt file?
- Next Thread: positioning problems
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






