New line tag doesn't parse in Internet Explorer

Discussion in 'HTML & Website Design' started by Tom__, Aug 6, 2008.

  1. #1
    I was working at my new niche website when I suddenly saw that Firefox parsed my <br /> tags correctly but Internet explorer only parses <br>. Now, when you are busy with trying to keep your website XHTML valid (just for professionalism) you must make this error so Internet Explorer users can also see your website as it supposed to be or does anyone have a new line tag that is also xhtml valid and IE supports?

    Thank you
     
    Tom__, Aug 6, 2008 IP
  2. SibTiger33

    SibTiger33 Peon

    Messages:
    203
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    SibTiger33, Aug 7, 2008 IP
  3. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #3
    I have not experienced that in either IE6 or 7. I don't care about 5. Please link us to the offending page, or post a test case.

    cheers,

    gary
     
    kk5st, Aug 7, 2008 IP
  4. WatchCount.com

    WatchCount.com Active Member

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
    #4
    It might also depend on the 1st line in your HTML code, defining the type of HTML/xHTML you are using. I don't know much about it, but you may need to specify a DocType of Transitional. Try:

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
     
    WatchCount.com, Aug 7, 2008 IP
  5. SibTiger33

    SibTiger33 Peon

    Messages:
    203
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    we really need an example to help
     
    SibTiger33, Aug 8, 2008 IP
  6. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Internet Explorer parses <br />, including 5.5 (just checked). Something else is causing the issue.
     
    Stomme poes, Aug 11, 2008 IP