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
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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.