Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6327445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:16:51+00:00 2026-05-24T17:16:51+00:00

Netbeans, my IDE, marks this CSS as incorrect, but I can’t tell the problem.

  • 0

Netbeans, my IDE, marks this CSS as incorrect, but I can’t tell the problem. I can’t find anything that says contains-element is specific to CSS3, but the styling doesn’t show up in Firefox or Opera.

CSS:

span:contains-element(input[type="radio"]) {
    border:1px solid black;
}

HTML:

<span><input type="radio" name="amount" value="Cash amount"/>Cash amount</span>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T17:16:52+00:00Added an answer on May 24, 2026 at 5:16 pm

    :contains-element isn’t a CSS selector, as far as I know. Where did you get it from?

    The fact that it doesn’t exist explains why it doesn’t work in browsers and Netbeans marks it as incorrect.

    That looks like an attempted “parent selector” (maybe from some JavaScript library?) and as always, there is no parent selector in CSS:

    • Is there a CSS parent selector?
    • Complex CSS selector for parent of active child

    As pointed out by @Šime Vidas, that selector is specific to this product:

    http://www.xmlmind.com/xmleditor//_distrib/doc/csssupport/containing_child.html

    This document describes the subset of CSS2 supported by XXE, as well
    as advanced “proprietary extensions”
    needed to style complex XML
    documents.

    http://www.xmlmind.com/xmleditor//_distrib/doc/csssupport/index.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My IDE (NetBeans) thinks this is wrong code, but it compiles correctly: std::cout <<
I'm using NetBeans IDE 6.9 (Build 201006101454), and wrote this simple Java class (that
I am using Netbeans IDE for a java project. In this project i need
For starters, this question is not so much about programming in the NetBeans IDE
I am debugging in NetBeans IDE, where can I see assigned variables and their
How do you install NetBeans IDE the Android plugin? Is this link working or
I'm trying to set up my Netbeans IDE so that it is capable of
I use Maven plugin for NetBeans IDE. But i want to know how to
I am able to debug scala controller in play framework using netbeans IDE but
I have a next problem. When I'm running project from NetBeans IDE evrything is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.