
As you can see, the links to use the item are 'above' the actual items.
Here is the div information:
Code: Select all
<div align="left" class="itemleft"><?php echo $row["name"]; ?></div>
<div align="center" class="itemcenter"><?php echo $row["total"]; ?></div>
<div align="center" class="itemright">Adds: <?php echo $row["statadd"]; ?></div>
<input type="hidden" id="hidden" name="hidden" value="<?php echo $row["id"]; ?>">
<div align="left"><?php echo "<A href='battle1.php?randid=$row[randid]'?><font color='red'>Use Item" ?></a></font></div>
Code: Select all
.itemleft {
float: left;
width: 95px;
color:#00FF00;
margin: 20px 0px 0px 30px;
}
.itemcenter {
float: left;
width: 10px;
color:#00FF00;
margin: 20px 0px 0px 30px;
}
.itemright {
float: left;
width: 100px;
color:#00FF00;
margin: 20px 0px 0px 30px;
}*EDITED*
Now I did try and put a css and div class for the actual "Use Item" links as well, but it messed it all up