Forums

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

Home Forums CSS How to make whole DIV clickable?

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #242118
    koder
    Participant

    I have an image, while hovering on image need to Show a div with background color white transperent with dummy text and button(horizontally and vertically center aligned) and the whole div should be clickable.

    Exisitng structure: don’t change anything add markup.

    http://codepen.io/kodegeek/pen/RRbgbg

    #242119
    Paulie_D
    Member

    Clickable to do what?

    This sounds like you need Javascript not CSS

    #242120
    koder
    Participant

    While clicking it will go to another page later I will add that, whole div should be in anchor tag and whithout javascript I required.

    #242125
    amanda_
    Participant

    Hi Koder,

    I am correct in understanding that you don’t want to change any of the markup and you also don’t want to use Javascript?

    That makes it a little tricky to change the functionality.

    #242126
    I.m.learning
    Participant
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.