![]() |
|
Make entire album div a link? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Make entire album div a link? (/thread-11756.html) |
Make entire album div a link? - VioletStarr - 2014-04-17 I'm working in the theme Zenpage. I'd like to make the entire album area clickable, not just the thumbnail and the title, but the entire shaded div. I'm hung up on this. At first I thought that maybe I could just adjust the CSS somehow, but that doesn't seem to want to work. I did a search for " and didn't have any luck, but I feel like this is what I should be using somewhere below to adjust things. Here's the section of code that I know I need to adjust somehow:
Any thoughts? Make entire album div a link? - acrylian - 2014-04-17 Well, you can of course not change HTML structure by changin CSS… Beware of block level elements within inline elements! In HTML5 it is allowed to wrap links being inline ones around block level elements like div or headlines, on older HTML/XHTML standards it is invalid. Even if using HTML5 some older browsers will not recognize it and therefore ignore it completely respectively cause weird behaviour. This is rather web technique basics actually. |