Hi
Instead of posting my whole code, here are just the relevent partsThe buttons look fine in IE but aren't well aligned when using mozilla.
css files
htmlCode:.permissionContainer { margin: auto; width: 450px; border: 1px dashed #3e5c92; } .permission { float: left; width: 150px; text-align: center; }
thanks a lot if you can help meCode:<?php if ($_SESSION['loggedin'] == 2 ) { ?> <div class="permissionContainer"> <h6>admin options</h6> <form action="admin/editAdmin.php" method="POST"> <div class="permission"> <input type="hidden" name="text" value="<?=$row['pk']?>" /> <input type="submit" value="edit" /> </div> </form> <form action="admin/editDeleteAdmin.php" method="POST"> <div class="permission"> <input type="hidden" name="textID[]" value="<?=$row['pk']?>" /> <input type="submit" value="delete" /> </div> </form> <form action="textsHighlightsRecords.php" method="POST"> <div class="permission"> <input type="hidden" name="textID" value="<?=$row['pk']?>" /> <input type="hidden" name="highlighterID" value="<?=$_SESSION['userID']?>" /> <input type="submit" value="highlight" /> </div> </form> </div> <?php } ?>![]()










Bookmarks