Results 1 to 3 of 3

Thread: a:hover dreamweaver css

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Location
    Greater Manchester, UK
    Posts
    476

    a:hover dreamweaver css

    How do i use two differenet a:hover styles, so that 1 style can underline and stay blue and the other can underline and stay white.
    If your question is answered then mark your thread RESOLVED and give credit to whoever answered it.

    If you fail, try and try again, its the only way to success.

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: a:hover dreamweaver css

    use two different IDs or classes....I'm guessing what you would probably want is two classes that each define their own a:hover settings.

    Then in the html when you want style A, set the class of the a href... and when you want style B, set the class of the a href to the other.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    Re: a:hover dreamweaver css

    If im not mistaken

    <a href="index.php" class="one">Blah</a>
    <a href="index.php" class="two">Blah</a>

    Then in your CSS you should have
    css Code:
    1. a:hover.one
    2. {
    3. <!-- css here -->
    4. }
    5.  
    6. a:hover.two
    7. {
    8. <!-- css here -->
    9. }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width