The bit to look at is the "-moz-border-radius: 15px;" area.
It makes the corner turn into a curve in Firefox, but in IE9 it won't.
Code: Select all
if ($cookietype == "admin")
{
$id=$_GET['id'];
$edit=$_GET['edit'];
$comment=$_POST['comment'];
if ($edit == "y")
{
if ($comment != NULL) { mysql_query ("UPDATE usercomments SET comments = '$comment' WHERE id = '$id'");
}
echo "
<a name='comment'></a><br/>
<div style='-moz-border-radius: 15px;
border-radius: 15px;
padding: 5px;
background-color:#00FF00'>";
if ($comment == NULL)
{
$result = mysql_query ("SELECT * FROM usercomments WHERE id = '$id'");
while ($row = mysql_fetch_object($result))
{ echo "
<form method='post' action='index.php?page=home&edit=y&id=$id#comment'>
Comment made:<br/>
<textarea name='comment' style='width: 650px; height: 50px'>$row->comments</textarea><br/><br/>
<input type='submit' value='Update'>
</form>";
} mysql_free_result($result);
}
echo "</div>";
}
}Code: Select all
<style>
.test {
-moz-border-radius: 15px;
border-radius: 15px;
padding: 5px;
background-color:#00FF00
}
</style>
</head>
<body>
<div class='test'>
This is a test
<form method='post' action='#'>
<textarea name='ddd'></textarea>
<input type="submit" value="submit" />
</form>
</div>What the heck is it that stops it working?