Making ahref from a div

Matze0007

New Member
I have a div as follows:\[code\] <div class="slide_items"> <div class="slide_item"><a href="http://stackoverflow.com/url"><img src="http://stackoverflow.com/questions/13781208/image"/></a></div> <div class="slide_title"><a href="http://stackoverflow.com/url">title</a></div> </div>\[/code\]What i want to do is, instead of having URL in each item in \[code\]slide_items\[/code\] div. I want user to click on \[code\]<div class="slide_items">\[/code\]. I want the \[code\]slide_items\[/code\] to be clickable as the div itself, rather than putting a href in every inner div.How can i do this?
 
Back
Top