Jump to content

IE


Lambneck

Recommended Posts

 

why doesn't this css code work in IE?

(specifically the padding)

 

<style>
body {font-family: Times New Roman;}

#buttons {background-image: url(images/perpetualGradient.jpg);
	  background-repeat: repeat-x;}

#table1 {padding-top: 0px;
    	     padding-right: 0px;
             padding-bottom: 0px;
    	     padding-left: 100px;}

#subcontent {margin-left: 100px;}

</style>

Link to comment
https://forums.phpfreaks.com/topic/126881-ie/
Share on other sites

css:

#table1 {padding-top: 0px;
    	 padding-right: 0px;
   	padding-bottom: 0px;
    	 padding-left: 100px;}

 

 

html:

echo "<table id=table1>";
	 echo "<tr><td><b>";
	 echo '<a href="jobsDisplay.php?id='.$row['submission_id'].'">'.$row['col_4'].'</a>';
	 echo "</b><br />";
  	echo $row['col_2'];
  	echo "  |  ";
  	echo $row['submission_date'];
  	echo "</font></tr></td>";
  	echo "</table>";

Link to comment
https://forums.phpfreaks.com/topic/126881-ie/#findComment-656773
Share on other sites

I get the same problem with this page too:

 

 

$sql = "SELECT * FROM $table WHERE submission_id=$id";
$result = mysql_query($sql) or die("Error ". mysql_error(). " with query ". $sql);
if(mysql_num_rows($result) == 1){
$row = mysql_fetch_array($result);

echo "<table id=table1>";
echo "<tr><td><h3><b>";
echo $row['col_4'];
echo "</b></td></tr>";
echo "<tr><td>Name: <b>";
echo $row['col_2'];
echo "  |  ";
echo "</b>Email: <b>";
echo $row['col_3'];
echo "</b></font></td></tr>";
echo "<tr><td>Date: <b>";
echo $row['submission_date'];
echo "</b></font></td></tr>";
echo "<tr><td><br>".(nl2br($row['col_5']))."</td></tr>";
echo "</table>";

 

is it the sql that causes the css padding not to work in IE?

Link to comment
https://forums.phpfreaks.com/topic/126881-ie/#findComment-656939
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.