Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Jan 2006
    Posts
    39
    Thanks
    9
    Thanked 1 Time in 1 Post

    Thumbs up Help me fix this please

    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

  • #2
    met
    met is offline
    Regular Coder
    Join Date
    Oct 2009
    Location
    United Kingdom
    Posts
    728
    Thanks
    4
    Thanked 119 Times in 119 Posts
    no doctype

    Code:
    <!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>

  • Users who have thanked met for this post:

    raja19 (11-03-2009)

  • #3
    New Coder
    Join Date
    Jan 2006
    Posts
    39
    Thanks
    9
    Thanked 1 Time in 1 Post

    Thumbs up

    Quote Originally Posted by met View Post
    no doctype

    Code:
    <!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">

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    I see no doctype in the url you posted.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • Users who have thanked _Aerospace_Eng_ for this post:

    raja19 (11-03-2009)

  • #5
    New Coder
    Join Date
    Jan 2006
    Posts
    39
    Thanks
    9
    Thanked 1 Time in 1 Post
    yes i added it and thanks its fixed now.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •