Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 7 of 7
Like Tree1Likes
  • 1 Post By Vapr_Arts

Thread: removing link decoration

  1. #1
    Senior Member
    Join Date
    Jan 2014
    Posts
    392
    Member #
    38172
    Liked
    4 times

    removing link decoration

    this should do it right?

    Code:
    ul li a {
    text-decoration: none;
    list-style-type: none;
    }
    because it doesnt. still shows the dot. i tried it with just a, then li a, then as it is now.

    web design isnt for me ha

  2.  

  3. #2
    Senior Member Vapr_Arts's Avatar
    Join Date
    Oct 2013
    Location
    California
    Posts
    1,930
    Member #
    37412
    Liked
    544 times
    The little dot im assuming is the bullet? That is part of the unordered list, not the link itself. You are targeting the anchor so it wont change that.


    Sent from my iPhone using Tapatalk

  4. #3
    Senior Member
    Join Date
    Jan 2014
    Posts
    392
    Member #
    38172
    Liked
    4 times
    but ive specified all three?

  5. #4
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,482
    Member #
    425
    Liked
    2784 times
    What dot? text-decoration removes the underline for a link, not the dot. It's also generally not a good practice to do that, although people seem to be doing it more and more lately.

    If you're talking about the dot related to your unordered list items, then that applies to the ul, not the a.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  6. #5
    Senior Member Vapr_Arts's Avatar
    Join Date
    Oct 2013
    Location
    California
    Posts
    1,930
    Member #
    37412
    Liked
    544 times
    Quote Originally Posted by coleio View Post
    but ive specified all three?
    U didn't specify the ul or the li, you didn't specify the a either for that matter.. U are targeting Anchors within list items within unordered lists.

    "ul li a" is different from "ul li" and so on..


    Sent from my iPhone using Tapatalk
    TheGAME1264 likes this.

  7. #6
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,482
    Member #
    425
    Liked
    2784 times
    What he said. If you want to specify all three, you'd have to do this:
    Code:
    ul, li, a
    In this case, there isn't a need to do that because the dot only applies to the ul. When you leave spaces, it says "anchors inside of list items inside of unordered lists."
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  8. #7
    Junior Member
    Join Date
    Mar 2014
    Location
    India
    Posts
    2
    Member #
    38786
    You should target li to remove dot form the list. Use this code to remove dot (bullet)

    Code:
    ul li{
    list-style:none;
    }


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:38 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com