Firefox display problem (OK in IE 6)

Discussion in 'HTML & Website Design' started by ronmojohny, Feb 14, 2006.

  1. #1
    Hi, my startpage for my computer
    http://www.stealth-shield.com/homepage.htm

    shows fine in IE6, but in Firefox (the browser I use) it has a space between the image and the links, causing me to have to scroll down. I created the page with an old program called page1, and I don't know a whole lot about HTML, could someone please take a look at it, and suggest a fix?

    Thanks, RonMo
     
    ronmojohny, Feb 14, 2006 IP
  2. mariush

    mariush Peon

    Messages:
    562
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The following code is in your page just under the image definition:

    
    <br>
      
    
    <center><font face="Arial" color="#000000" size="7">Ron's
    Computer<br>
     <font size="6"><br clear="left">
    </font></font></center>
    
    HTML:
    It's makes the browser type Ron's Computer with black, then the following <br> adds space under the text.

    Remove that code and see what happens

    Later Edit : IE does not render it properly, if you check again, the text Ron's Computer is listed on the right of the image even though there's a <br> tag before the text, telling the browser to render the text under the image.
     
    mariush, Feb 14, 2006 IP
  3. FeelLikeANut

    FeelLikeANut Peon

    Messages:
    330
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #3
    In IE's defense, the image is aligned to the left, which would cause the text to wrap around its right side. Though, the text is off the edge of the screen, so there is good reason for both renderings; neither is more correct than the other.
     
    FeelLikeANut, Feb 14, 2006 IP
  4. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #4
    I'm sorry. We're holding IE on allegations covered under the Patriot Act. IE, while an American Citizen, is not entitled to representation.

    Thank you.
     
    noppid, Feb 14, 2006 IP
  5. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i believe the real problem is with your coding, FF uses web standards to display pages, if your site was valid coding it would display properly.
     
    just-4-teens, Feb 14, 2006 IP
  6. FeelLikeANut

    FeelLikeANut Peon

    Messages:
    330
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Okay...
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
     "http://www.w3.org/TR/html4/loose.dtd">
    
    <html lang="en-us">
    
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
    </head>
    
    <body>
    
    <p>
      <img src="http://www.stealth-shield.com/Florida33.jpg" alt="" align="left"><br>
      Hello, World!
    </p>
    
    </body>
    
    </html>
    Code (markup):
    The rendering difference still exists here.
     
    FeelLikeANut, Feb 14, 2006 IP
  7. ronmojohny

    ronmojohny Well-Known Member

    Messages:
    729
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    133
    #7
    Thanks, I fiddled with it, and got it to render proprely in both browsers.

    -RonMo
     
    ronmojohny, Feb 14, 2006 IP