Koden endte med, at se således ud
<div id="pic-wrap">
<div id="pic-box1">
<div id="pic1">
<p>Iso-sign</p><img src="img/img-scroller/prøvepic.jpg" width="300" height="150" /></div>
<div id="pic2">
<p>Zi-light</p><img src="img/img-scroller/prøvepic.jpg" width="300" height="150" /></div>
</div>
<div id="pic-box2">
<div id="pic3">
<p>Steel-line</p><img src="img/img-scroller/prøvepic.jpg" width="300" height="150" /></div>
<div id="pic4">
<p>Zi-sign</p><img src="img/img-scroller/prøvepic.jpg" width="300" height="150" /></div>
</div>
</div>
og css:
/*PRØVE!*/
#pic-wrap{
width:1024px;
height:552px;
float:left;
}
/*Billed 1 & 2*/
#pic-box1{
width:512px;
float:left;
}
#pic1{
margin-top:65px;
margin-left:90px;
}
#pic1 p{
color:#FFFFFF;
margin-bottom:0px;
font: 20px Gill Sans, Arial, Helvetica, sans-serif;
}
#pic1 p:hover{
color:#FF0000;
text-decoration:underline;
}
#pic2{
margin-top:100px;
margin-left:90px;
}
#pic2 p{
color:#FFFFFF;
margin-bottom:0px;
font: 20px Gill Sans, Arial, Helvetica, sans-serif;
}
#pic2 p:hover{
color:#FF0000;
text-decoration:underline;
}
/*Billed 3 & 4*/
#pic-box2{
width:512px;
float:left;
}
#pic3{
margin-top:65px;
margin-left:90px;
}
#pic3 p{
color:#FFFFFF;
margin-bottom:0px;
font: 20px Gill Sans, Arial, Helvetica, sans-serif;
}
#pic3 p:hover{
color:#FF0000;
text-decoration:underline;
}
#pic4{
margin-top:100px;
margin-left:90px;
}
#pic4 p{
color:#FFFFFF;
margin-bottom:0px;
font: 20px Gill Sans, Arial, Helvetica, sans-serif;
}
#pic4 p:hover{
color:#FF0000;
text-decoration:underline;
}