Jump to content

raygold

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by raygold

  1. What about css selectors? Can I use them to solve my issue?
  2. I have the following html code: <div class="firstclass" id="firstid"> <div class="a-block-content"> <h2 class="text-align-center"><a href="#">Some text</a></h2> </div> </div> How can I edit only h2 element using #firstid? Is it possible edit the second div container style <div class="a-block-content"> <h2 class="text-align-center"><a href="#">Some text</a></h2> </div> using #firstid? P.S. I can't edit html code, only css style.
  3. Very clear. Thanks for reply
  4. I'd like to know what's the correct css syntax for code below: element>id>pseudo-classa#red:hover {color:red;} or id>element>pseudo-class#red a:hover {color:red;} I think first css example shuold be right, but the second is used in this link http://www.w3schools...rites_hover_nav and it works properly.
×
×
  • Create New...