...

View Full Version : Help me fix this please



raja19
11-02-2009, 06:33 PM
hi this site is made by my friend and its so weird the feedback page is showing different in IE 8 its margined to the left . In firefox and chrome its working good. help me fix this please

Regards
raja

Click here (http://astrovastu.in/feedback.php)

met
11-02-2009, 06:52 PM
no doctype



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>~~Contact Us~~</title>

raja19
11-03-2009, 05:57 AM
no doctype



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>~~Contact Us~~</title>



i added the doc type still the page is not centered in IE .Please help me


<?php
session_start();
if($_REQUEST['action']=="submit")
{
if( $_SESSION['security_code'] == $_POST['security_code'] && !empty($_SESSION['security_code'] ) ) {

$mail='<b>Name : </b>'.$_POST[firstname].' '.$_POST[lastname].'<br/><b>Gender : </b>'.$_POST[gender].'<br/><b>Date Of Birth :</b>'.$_POST[day].'-'.$_POST[month].'-'.$_POST[year].'<br/><b>Time Of Birth : </b>'.$_POST[timeofbirth].'<br><b>Country : </b>'.$_POST[country].'<br><b>Email : </b>'.$_POST[emailid].'<br><b>Payment Mode :</b>'.$_POST[payment].'<br><b>Comments : </b>'.$_POST[comments];
$to = $_POST[email];
$to="raja19_2003@hotmail.com@gmail.com";
$object="Contact";
$from=$_POST[emailid];
mail($to, $object, $mail, "From: $from\nReply-To: $from\nContent-Type: text/html");
}
else{
echo"Incorrect Captcha";
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>~~Contact Us~~</title>
<link href="raja.css" rel="stylesheet" type="text/css" />
<script language="javascript">

_Aerospace_Eng_
11-03-2009, 06:08 AM
I see no doctype in the url you posted.

raja19
11-03-2009, 11:42 AM
yes i added it and thanks its fixed now.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum