Sorry for my English :) Is there a way to apply css rule for dynamic content (album of photos added by users)? I want to avoid inline style because each photo in the album counts as one style=.
HTML code:
<div class="sys_file_search_pic bx_photos_file_search_pic" style="background-image: url('__imgUrl__');">
I tried:
.sys_file_search_pic.bx_photos_file_search_pic {
background-image: url('__imgUrl__');
}
but it doesn't work. Also tried:
<img src="__imgUrl__">
But photos are now unclicable and stretched.
My site: http://gracebook.pl.