I have and no success with this problem mainly because i am new to css. I found a CSS tutorial online, I have intergrated that into my code and have the following. In my header file i have the following defined in my styles section of code in a header file. The header is required in the main page.
.button {
display:inline;
margin:0;
padding:.5em;
}
also in that main page is the following code but this is stored as a seperate file and called using include. I am not sure if that is causing complications.
$query = "select * from announcetemp";
$rs = mysql_query($query) or die ('could not select all') ;
$list = "<table width=\"760\" colspan=\"4\" border=\"0\" cellpadding=\"2\" bgcolor=\"#FFFFFF\">";
while ( $row = mysql_fetch_array($rs)) //order by post date?
{
$list .= "<tr>-----------------------------------------------------------------------------------------------------------------------";
$list .= "<br><tr><b>Title </b>".$row["subject"]." <b>                 Posted On </b>".$row["postdate"]."</tr>";
$list .= "<br><tr>".$row["body"]."</tr>";
if ($row["filepath"] !="") //there is an associated file so show link
{
$list .= "<tr><a href=".$row["filepath"].">Click here </a> to view associated file</tr>";
}
$list .= "<tr> <ul class=\"button\">
<form action=\"approveannounces.php\" method=\"post\">
<input type=\"submit\" name=\"delete\" value=\"Delete\">
<input type=\"hidden\" name=\"user\" value=".$row["annoid"]."> </form>
<from action=\"approveannounces.php\" method=\"post\">
<input type=\"submit\" name=\"approve\" value=\"Approve\">
<input type=\"hidden\" name=\"user\" value=".$row["annoid"]."> </form>
<form action=\"editannounce.php\" method=\"post\">
<input type=\"submit\" name=\"edit\" value=\"Edit\">
<input type=\"hidden\" name=\"user\" value=".$row["annoid"]."> </form>
</ul>
</tr>";
$list .= "</tr>";
}
$list .= "</table>";
echo ($list);
The result is still the three buttons one above the other with no bullet points.
Thanks for your help so far, any more advice to get this resolved would be really helpful.