Image Map Image Map
Results 1 to 5 of 5

Thread: do different browsers display HTML differently?

  1. #1

    Default do different browsers display HTML differently?

    i just started about a month or so ago, reading up on how to write web pages.

    i have been doing up some pages just using a text editor, and then uploading them to my freenet space.

    one thing that i have noticed, is that the web pages look slightly different if i view them using mozilla and then view them using explorer.

    it is just little things like explorer not having say only having one blank line between text yet mozilla having two.

    why would this be?

    here is an example:
    -----
    <PRE>



    Peter Cushing Movies

    2 of 2 stories
    1. <LI>Dr. Who and the Daleks (dvd)
      <LI>Daleks Invasion Earth 2150 A.D. (dvd)

    -----

    if i use explorer, the text appears like this:

    -----
    Peter Cushing Movies

    2 of 2 stories
    1. Dr. Who and the Daleks (dvd)
    2. Daleks Invasion Earth 2150 A.D. (dvd)
    -----

    if i use mozilla, the text appears like this:

    -----
    Peter Cushing Movies
    2 of 2 stories

    1. Dr. Who and the Daleks (dvd)
    2. Daleks Invasion Earth 2150 A.D. (dvd)
    -----

    I am not the swiftest when it comes to browsers or HTML, so maybe it is something very simple?

    chris
    The vic rocks!

  2. #2

    Default

    jj
    The vic rocks!

  3. #3

    Default

    one more time,

    >PRE<

    >P<>B<Peter Cushing Movies>/B<

    2 of 2 stories>OL<>LI<Dr. Who and the Daleks (dvd) 1965
    >LI<Daleks Invasion Earth 2150 A.D. (dvd) 1966
    >/OL<


    Peter Cushing Movies

    2 of 2 stories
    1. Dr. Who and the Daleks (dvd)
    2. Daleks Invasion Earth 2150 A.D. (dvd)
    The vic rocks!

  4. #4
    Join Date
    Jul 2003
    Location
    Västerås, Sweden
    Posts
    6,277

    Default

    Maybe taking a screenshot and upload to your web page is a better way to explain what you mean. But yes, there are minor differences both in the rendering engines and the default fonts etc.

    Even more interesting it gets that day you're ready to read up on cascading style sheets and try to apply it according to the specification and find that some of the items does not seem to make any difference at all, while other only work in one browser or some work in all browsers but give different results. Some browsers follow the specification, while other on purpose (?) break it, and it is not one which always is "bad" and one which always is "good".
    Anders Carlsson

  5. #5

    Default

    There are supposed to be standards set by the W3C (I think they are the ones) but some browsers are more compliant than others.
    I just remembered this on Slashdot:
    http://www.howtocreate.co.uk/browserSpeed.html
    it's a browser speed comparison. Sort of off the topic, but interesting.

Bookmarks

Posting Permissions

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