Results 1 to 4 of 4

Thread: Anylink CSS v2.2

  1. #1
    Join Date
    Nov 2009
    Posts
    29
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Anylink CSS v2.2

    1) Script Title: Anylink CSS v2.2

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...anylinkcss.htm

    3) Describe problem: Can you tell me how to change the font color of the anchor link to white? I would also like it to be non-underlined. Also, how would I change the non-highlighted links in the menu to be red? Thanks for any help!!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    To style the anchor links, you'd just add this bit of CSS inside its tag:

    Code:
    <a href="http://www.dynamicdrive.com" class="anchorclass" rel="submenu1" style="color:white">Default Example</a>
    To style the links inside the drop down menus, you'd modify anylinkcss.css, such as:

    Code:
    .anylinkcss ul li a{
    width: 100%;
    color: red;
    display: block;
    text-indent: 3px;
    border-bottom: 1px solid black;
    padding: 1px 0;
    text-decoration: none;
    font-weight: bold;
    text-indent: 5px;
    }
    DD Admin

  3. #3
    Join Date
    Nov 2009
    Posts
    29
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Thanks!! It looks great now.

    Any chance I can edit the anchor link so that it is not underlined?

    btw, I am a novice at this. Any patience with dumb questions appreciated...

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Certainly, you'd add:

    Code:
    <a href="http://www.dynamicdrive.com" class="anchorclass" rel="submenu1" style="color:white; text-decoration:none">Default Example</a>
    DD Admin

Bookmarks

Posting Permissions

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