html - Making DIV table cell fill a parent table cell for jquery slideshows -
html - Making DIV table cell fill a parent table cell for jquery slideshows -
i've been searching while can't seem figure out way table cell div fill table cell div.
here's gist of situation. i'm trying adapt jquery slideshow display 4 separate slideshows in 4 responsive columns. i'm using percentage determine width , heights of each table cell.
the difficulty that, while i've managed columns work, slideshow plugin requires new div table cells within cells phone call upon. @ least, that's how it's done in examples provided. here's relevant code have far.
<body> <div class="container"> <div class="gallery"> <div id="drawc"> <div class="draws1"></div> </div><div id="graphicc"> <div class="graphics1"></div> </div><div id="pixelc"> <div class="pixels1"></div> </div><div id="animationc"> <div class="animations1"></div> </div> </div> </div> </body> body { background-image: url('http://server.dewcraft.com/doodleplex/storage/themes/kokentheme/inc/bg.jpg'); background-size: 100%; background-repeat: no-repeat; background-position: center top; background-attachment: fixed; overflow-x: hidden; overflow-y: hidden; height: 100vh; width: 100%; border-collapse: collapse; margin: 0; padding: 0; } .container { text-align: center; display: table; margin: 0 auto; height: 70%; width: 100%; padding: 0px; border-collapse: collapse; } .gallery { text-align: center; display: table-row; margin: 0 auto; padding: 0; width: 100%; height: 70%; } #drawc { display: table-cell; height: 70%; width: 25%; padding: 0; } .draws1 { background: url(https://dl.dropboxusercontent.com/u/8624213/fijian_crested_iguana_perth_zoo_smc_sept_2005.jpg) no-repeat center center local; background-size: cover; background-position: center; background-repeat: no-repeat; display: table-cell; position: relative; height: 100%; width: 100%; overflow: hidden; }
the divs loaded div class "draw#" subsequent numbers set within #drawc div.
you can see site here.
truth told don't understand jquery much. looks pretty complicated, hoping copypaste codes html , css files , it'll work, 1 time figure out div sizing issue.
if can help me understand how create slideshow work helpful, if that's involved understand.
thanks in advance tries help.
jquery html css
Comments
Post a Comment