Please dont laugh at me for this simple doubt, bUT i have to ask . Please help me any one i am creating a html page when i minimize the page the contect in the pages are shuffled .ie normally if we minimize the page to a fixed limit . it should me minimized and scroll bars are seen to change the size or to make to go up or down . But in my page i didnt get like that and the page contents are shuffled. and my html code is
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>location</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="css/adminstylesheet.css" type="text/css"/>
</head>
<body>
<form action="locationindex.php" method="post">
<table width="100%">
<tr align="center" valign="middle">
<td colspan="3"><? include('header.php')?></td>
</tr>
<tr>
<td align="left" valign="top"><?php include('left_menu.php')?></td>
<td align="center" valign="top">
<div align="center" >
<table v align = "center" width="100%" border='0' >
<tr><a href="addlocation.php"><font class="label">NEW LOCATIONS</font></a></tr>
<tr bgcolor="#00CCFF"><th>Location Name</th><th>Active</th><th>Edit</th><th>Delete</th></tr>
<?php
$qry = "SELECT * FROM `tbl_location` ORDER BY `loc_name` ";
$A = 0;
$rst = mysql_query($qry,$con);
if($rst){
while($row = mysql_fetch_array($rst)){
if($A % 2 == 0){
echo "<tr bgcolor = '#cccc99'>";
}
else
{
echo "<tr bgcolor=' #cccccc'>";
}
//echo "<tr>";
echo "<td>$row[loc_name]</td>";
//echo "<td>$row[loc_code]</td>";
echo "<td>";
if($row['loc_active'] == 'yes'){
echo "<center><a href='locationindex.php?act=inactive&id=".$row['loc_code']."'><img src='tut.gif'></a></center>" ;
}else{
echo "<center><a href='locationindex.php?act=active&id=".$row['loc_code']."'><img src='tut.gif'></a></center>" ;
}
echo "</td>";
echo "<td>";
echo "<center> <a href='editlocation.php?act=edit&id=".$row['loc_code']."'>Edit</a></center> ";
echo "</td>";
echo "<td>";
echo "<center> <a href='deletelocation.php?act=edit&id=".$row['loc_code']."'>Delete</a> </center>";
echo "</td>";
echo "</tr>";
$A++;
}
}
?>
</table>
</div>
</td>
<td align="right" valign="top"><? include('right.php')?></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</form>
</body>
</html>
I dont know where i went wrong Please any one help me