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
    May 2007
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    IE/FF different. not sure why

    Can anyone tell me why the pages in IE and FF are different.

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta name="description" content="Website short description." />
    <meta name="keywords" content="website main keywords" />
    	<title>Captive Clothing</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    .style4 {
    	font-size: 14px;
    	color: #D1BD8B;
    }
    .style5 {color: #D1BD8B}
    a:link {
    	color: #A40008;
    	text-decoration: none;
    }
    a:visited {
    	color: #A40008;
    	text-decoration: none;
    }
    .style6 {
    	font-size: 16px;
    	font-weight: bold;
    	color: #000000;
    }
    .style8 {
    	font-size: 14px;
    	color: #000000;
    }
    .style9 {
    	color: #A40008;
    	font-size: 16px;
    	font-weight: bold;
    }
    .style10 {font-size: 14px}
    a:hover {
    	text-decoration: none;
    }
    a:active {
    	text-decoration: none;
    }
    -->
    </style>
    </head>
    
    <body>
    
    <div id="container">
    
      <div id="sub_header">
        <div align="left">
          <p>&nbsp;</p>
          <p><img src="images/main1.gif" alt="" width="775" height="90" /></p>
        </div>
      </div>
      <div id="main_content_top"><img src="images/main2.gif" alt="" width="241" height="487" /></div>
    
      <div id="main_content">
    
    <div class="content">
    <h2 align="center">Thank You For Visiting </h2>
    <p align="center" class="style6">We are a small clothing company out of Utica, NY. We only have a few  designs available right now, but we're working on a bunch more. Soon  enough we will have all kinds of clothing available. Hoodies, Long  Sleeve, Tank Tops, Tees , Basically any type of clothing you can think  of. If you have any special requests. Or designs you created and would  like to see us print. Send us an email. All contact info can be found  on the <a href="http://www.captive-clothing.com/contact.htm">Contact Us</a> page.</p>
    <p align="center" class="quote">&nbsp;</p>
    <h2 align="center">News &amp; Info </h2>
    <p><span class="style9">5/27/07</span><br />
      <span class="style8">Our new website was created and is 10X better than the last one. </span><br />
    
      <br />
      <span class="style9">5/19/07</span> <br />
      <span class="style10">Justin is working on a new website and should be complete in a few days</span></p>
    <p> <span class="style9">5/18/07 </span><br />
      <span class="style8">We currently only have one design in the store, but we will have two more designs coming within a few weeks.  </span></p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    
    <p align="center">&nbsp;</p>
    </div>
    
    <div id="clear"></div>
    
    </div>
    
    <div id="main_content_bottom">
    </div>
    
    <div id="footer">
      <p>&nbsp;</p>
      <p align="center" class="style4"><a href="http://www.captive-clothing.com/index.html">Home</a> | <a href="http://www.captive-clothing.com/about.html">About</a> | <a href="http://captiveclothing.bigcartel.com">Store</a> | <a href="http://www.captive-clothing.com/friends.html">Friends</a> | <a href="http://www.captive-clothing.com/contact.html">Contact</a></p>
    
      <p><span class="style5"><strong>Copyright &copy; 2007</strong> | <a href="#">www.captive-clothing.com</a></span></p>
      <p><html>&nbsp;
      <p align=center>
    <a href="http://www.easycounter.com/">
    <img src="http://www.easycounter.com/counter.php?captiveclothing"
    border="0" 
    </body>
    </div>
    </div>
    
    
    </html>

  • #2
    New to the CF scene
    Join Date
    Jun 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Of course they're different.

    I'm not an expert at browsers, but the way I see it

    Different browsers have different "dialects", they have different ways of "translating" HTML, and the results might turn out different in IE and FF, since they are coded differently.

    This is a common problem among Web coders, you're gonna have to try to come with a compromise between the two browsers to find a exact results for both browsers, if not more browsers, or have very slight differences.
    Last edited by yoonkwun; 06-03-2007 at 06:36 AM.

  • #3
    Regular Coder kewlceo's Avatar
    Join Date
    Mar 2006
    Location
    California, US
    Posts
    484
    Thanks
    1
    Thanked 3 Times in 3 Posts
    A link is worth a thousand words.
    UBERHOST.NET
    Shared, reseller, semidedicated hosting and dedicated server plans.
    DirectAdmin • Installatron • Money-Back Guarantee • 24/7 Support
    Providing "Service Above All Else" since 2005.

  • #4
    New Coder
    Join Date
    May 2007
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

  • #5
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    I would recommend that you run the page through the validator to tidy it code first.

    http://validator.w3.org/check?verbos...lothing.com%2F

    bazz


  •  

    Posting Permissions

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