Edit: Scroll down to my most recent post to see what’s up. Thanks!
Okay, so I have two fairly simple questions. I am working on a gallery, here. Scroll down until you see the photographs.
On rollover, some information pops up about each individual photograph, but I lose the image link when this happens. You have to be quick to click the image before the text scrolls up to see the image in full. How do I retain the link to the image even after the text scroll?
Secondly, I want to have five pictures span the width of the site. I measured everything so that I could do this. I am using :last-child so that the image at the end of a row will not have ten pixels of right margin. But how do I define the last child of a row? I tried to create a container div called image-row, but that seemed to screw up my website for some reason. I know I can create a second div called something like image-box-last and just give it its own properties and use that div at the end of each row in the HTML, but is there a better way to do this?
As for your first question, simply alter your markup and have the anchor wrap around everything.
I have a little trick for you for your second problem. Basically, you wrap all of the image divs in a wrapper, call it whatever you like. Give that div enough room to fit all of your divs + margins inside of it but then give it a negative margin to bring it back to 960px.