December 22, 201312 yr <style><!-- #row { text-align: center; } #row .box{ display: inline-block; width: 271px; margin: 10px 10px 13px 13px; height: 177px; background: #ff8c00; } #row .box:hover img { opacity: 0.74; } --></style> <div id="row"> <div class="box"><a><img src="http://puu.sh/5LSQD.png" width="271" height="177" /></a></div> <div class="box"><a><img src="http://puu.sh/5LSQD.png" width="271" height="177" /></a></div> <div class="box"><a><img src="http://puu.sh/5LSQD.png" width="271" height="177" /></a></div> </div> <div id="row"> <div class="box"><a><img src="http://puu.sh/5LSQD.png" width="271" height="177" /></a></div> <div class="box"><a><img src="http://puu.sh/5LSQD.png" width="271" height="177" /></a></div> <div class="box"><a><img src="http://puu.sh/5LSQD.png" width="271" height="177" /></a></div> </div> <div id="row"> <div class="box"><a><img src="http://puu.sh/5LSQD.png" width="271" height="177" /></a></div> <div class="box"><a><img src="http://puu.sh/5LSQD.png" width="271" height="177" /></a></div> <div class="box"><a><img src="http://puu.sh/5LSQD.png" width="271" height="177" /></a></div> </div> I need to add to this so that when I hover over one of the images, it will say the images title, or have text in the center, how can I do this? I don't have enough money to pay and I hope someone can just help me kindly?
December 28, 201312 yr <style><!-- #row { margin:0 auto; width: 900px; } #row .box{ float:left; width: 271px; margin: 10px 10px 13px 13px; height: 177px; background: #000; } #row .box img { position:absolute; z-index:2; } span{ z-index:1; color:#FFFFFF; display:block; text-align:center; margin-top:80px;} #row .box img:hover { opacity: 0.2; cursor:pointer; z-index:0; } --></style> <div id="row"> <div class="box"><img src="http://puu.sh/5LSQD.png" width="271" height="177" /><span>Text #1</span></div> <div class="box"><img src="http://puu.sh/5LSQD.png" width="271" height="177" /><span>Text #2</span></div> <div class="box"><img src="http://puu.sh/5LSQD.png" width="271" height="177" /><span>Text #3</span></div> </div> <div id="row"> <div class="box"><img src="http://puu.sh/5LSQD.png" width="271" height="177" /><span>Text #4</span></div> <div class="box"><img src="http://puu.sh/5LSQD.png" width="271" height="177" /><span>Text #5</span></div> <div class="box"><img src="http://puu.sh/5LSQD.png" width="271" height="177" /><span>Text #6</span></div> </div> <div id="row"> <div class="box"><img src="http://puu.sh/5LSQD.png" width="271" height="177" /><span>Text #7</span></div> <div class="box"><img src="http://puu.sh/5LSQD.png" width="271" height="177" /><span>Text #8</span></div> <div class="box"><img src="http://puu.sh/5LSQD.png" width="271" height="177" /><span>Text #9</span></div> </div> By Xee Studios Edited December 28, 201312 yr by xeestudios
Create an account or sign in to comment