Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Sep 2004
    Posts
    63
    Thanks
    0
    Thanked 0 Times in 0 Posts

    two different link style

    Hi,

    I was wondering how can I have two different syle links? Meaning I have a link style that has a dashed with different color and then another link with a solid with a different color.

    How would I do that?

    Thanks

  • #2
    Regular Coder
    Join Date
    Jul 2004
    Location
    engoku no anime
    Posts
    354
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Give them classes:

    /* CSS: */
    a.dashed {
    border: 1px dashed #00f;
    }

    a.solid {
    border: 1px solid #f00;
    }


    <!-- HTML: -->

    <a class="dashed"....>
    ---
    <a class="solid" ....>



    You get the basic idea right? Without code, it is a bit hard to give you an answer as to where and how to apply them.


  •  

    Posting Permissions

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