Jump to content

ConnieM

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by ConnieM

  1. i have been going through the CSS attribute selector tutorial and have encountered  problem i cannot resolve. I wrote my code as per the "try it yourself". As far as i can tell my code  is written identical to the CSS tutorial. Below is an example of what I wrote:

    [target~="red"]  {border: 1px solid red;}

                         or

    [title^="tulip"] {background-color: red;}

    I set up a style sheet in notepad ++ and in my style sheet, the code in bold type remains black - which tells me my app isn't recognizing that bit of code as code. I have attached the style sheet so you can see what my code is doing.   I cannot figure out where I went wrong.  has anyone else encountered this? were you able to resolve it and how?  thanks!

     

    attributeselectors-styles.css

×
×
  • Create New...