Jump to content

jamesadrian

Members
  • Posts

    69
  • Joined

  • Last visited

Posts posted by jamesadrian

  1. Devoted Member,

     

    Is there some way to do this without a CSS file, but within the HTML5 document?

     

    <a href="whateveraddress.html class="link_style01">whatever page</a>

     

    a.link_style01:hover {color: #0f0; text-decoration: none;}

     

    Thank you for your help.

     

    Jim Adrian

  2. I have recently converted some of my web pages to HTML5. I like it, not least because I don't need a CSS file to get most of what I want. Apparently, everything can be specidied in the HTHM5 doculment itself.

     

    I am having trouble discovering how to make a link (and only one particular link) have a hover color (#00FF00) and yet no underline. Everything I have read points to "text decoration none" which eliminates the underline but also eliminates the color.

     

    How can these two features be independently controled and override the global specification in the body tag for a single link only?

     

    Thank you for your help.

     

    Jim Adrian

×
×
  • Create New...