Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS li sorrounding is also clickable..

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #46291
    tirengarfio
    Participant

    Hi!

    I have this site:

    http://www.estebancortijo.com/

    As you see there is a tile with circles. This circles are clickable, but the li’s around them are also clickable..why?
    I just want the circles to be clickable

    #142157
    Paulie_D
    Member

    Not much you can do as I recall.

    All elements are rectangular, you can fake a circle using border-radius but it will still be a rectangle.

    I seem to recall there **may** be a way but I’m struggling to find it.

    #142199
    Kitty Giraudel
    Participant

    > As you see there is a tile with circles. This circles are clickable, but the li’s around them are also clickable..why? I just want the circles to be clickable

    Because you are not using border-radius but circle images. Basically, this is your image (graphic layer) which is rounded instead of your element.

    Try a normal image with border-radius: 50%. It should give you what you’re looking for.

    Edit: however Chrome has some problem with this. You can’t do much about it. But it will work for other browsers.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.