I'm creating a new widget for our portal; however, the background image i added for the div element isn't showing, I could use some help.
This is the widget's code:
This is the widget's code:
- Code:
<style>
div#mainstuff {
background-image: url("http://i.imgur.com/8b0qUns.png");
background-repeat: repeat;
}
.firstrow{
float: left;
padding-left: 30px;
}
.secondrow{
float:left;
padding-left: 30px;
}
.thirdrow{
float: left;
padding-left: 30px;
}
.fourthrow{
float: left;
padding-left: 30px;
}
#imgscale {
-webkit-transition: width 2s; /* For Safari 3.1 to 6.0 */
   transition: 1s;
}
#imgscale:hover{
-ms-transform: scale(1.1,1.1); /* IE 9 */
-webkit-transform: scale(1.1,1.1); /* Chrome, Safari, Opera */
transform: scale(1.1,1.1);
}
</style>
<div id="mainstuff">
        Â
   <div class="firstrow">
           Â
      <div class="firstrowimage">
           <a href="http://www.duelacademy.net/f134-pro-decklists"><img id="imgscale" src="http://i.imgur.com/5vTc3sp.png" /></a>  Â
         <p class="fristrowparg">
               This is some text here  Â
         </p>
              Â
      </div>
           Â
   </div>
        Â
   <div class="secondrow">
           Â
      <div class="secondrowimage">
           <a href="http://www.duelacademy.net/h9-da-guide"><img id="imgscale" src="http://i.imgur.com/JBdFdTy.png" /></a>  Â
         <p class="secondrowparg">
               This is some text here 2  Â
         </p>
              Â
      </div>
           Â
   </div>
        Â
   <div class="thirdrow">
           Â
      <div class="thirdrowimage">
           <a href="http://www.duelacademy.net/f4-introductions"><img id="imgscale" src="http://i.imgur.com/5dPyeNR.png" /></a>  Â
         <p class="thirdrowparg">
               This is some text here 3  Â
         </p>
              Â
      </div>
           Â
   </div>
        Â
   <div class="fourthrow">
           Â
      <div class="fouthrowimage">
           <a href="http://www.duelacademy.net/h7-tournaments-schedule"><img id="imgscale" src="http://i.imgur.com/EkCgpFP.png" /></a>  Â
         <p class="fourthrowparg">
               This is some text 4  Â
         </p>
              Â
      </div>
           Â
   </div>
</div>