Results 1 to 14 of 14

Thread: [RESOLVED]   breaking in IE6

  1. #1

    Thread Starter
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Resolved [RESOLVED]   breaking in IE6

    I've got this line of text:
    HTML Code:
    Products In Training Support and Protection (Total Products 5, Showing: 1 -> 5)
    which is breaking correctly (at the first bracket) in Fx, but breaking whereever it likes in IE6.

    Can someone tell me why? Am I doing something wrong?

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re:   breaking in IE6

    I am not aware of a related bug in IE.

    Is your page in quirks mode by any chance? By this I mean, do you have a standards-mode inducing doctype present, and well-formed HTML code?

    A good general-purpose standards-mode doctype to use is HTML 4.01 Strict. And remember to validate your pages.

  3. #3

    Thread Starter
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Re:   breaking in IE6

    Quote Originally Posted by penagate
    I am not aware of a related bug in IE.

    Is your page in quirks mode by any chance? By this I mean, do you have a standards-mode inducing doctype present, and well-formed HTML code?

    A good general-purpose standards-mode doctype to use is HTML 4.01 Strict. And remember to validate your pages.
    hmmm, well that just went straight over my head

    There's no doctype declaration - it's code generated by that template thingy-ma-bob that I've been wrestling with - i know for a fact it doesn't close any <p> tags.

    this is the page in question: http://www.gymnasticexpress.co.uk/sh...ion.php?xSec=7

    it fails validation because it finds "one or more bytes that I cannot interpret as utf-8"

    i would've thought a &nbsp; was the sort of thing that should work no matter how crap your code is - isn't it what Frontpage relies on!

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: &nbsp; breaking in IE6

    The ways and wonders of Frontpage are not for us mere mortals to ponder, much less comprehend.

    I fear I will be violently ill if I gaze upon the HTML source for too long, but I can't help much more than suggest trying to add a doctype somehow. And to fix the validation problem you need to somehow get the server to send an ISO-8859-1 charset header.

  5. #5

    Thread Starter
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Re: &nbsp; breaking in IE6

    ok, i'll look into that, cheers

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: &nbsp; breaking in IE6

    Quote Originally Posted by bushmobile
    I've got this line of text:
    HTML Code:
    Products In Training Support and Protection (Total&nbsp;Products&nbsp;5,&nbsp;Showing:&nbsp;1&nbsp;->&nbsp;5)
    which is breaking correctly (at the first bracket) in Fx, but breaking whereever it likes in IE6.

    Can someone tell me why? Am I doing something wrong?
    Explain 'breaking correctly', because I don't see what you're talking about.

  7. #7

    Thread Starter
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Re: &nbsp; breaking in IE6

    Quote Originally Posted by mendhak
    Explain 'breaking correctly', because I don't see what you're talking about.
    I've changed that page now - made the text shorter. This is what it was doing. In Fx:


    In IE:
    Attached Images Attached Images   

  8. #8
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: &nbsp; breaking in IE6

    Ehhh... what's wrong with <br/> ?

  9. #9

    Thread Starter
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Re: &nbsp; breaking in IE6

    it runs off of templates, so for other pages it might not need to be on two lines as it will all fit on 1

  10. #10
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: &nbsp; breaking in IE6

    can't be the same code then....there's nothing there to tell either browser to move to the next line.... so technically, IE was correct.... how or why Fx happened to be breaking where you wanted it to.. dunno.

    and brackets are square [ or curly { or angled < .... ( is a parenthesis, or a paren.


    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  11. #11
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: &nbsp; breaking in IE6

    HTML Code:
    <h1><span style="white-space:nowrap;">Now I could call this interesting way</span> <span style="white-space:nowrap;">if it was special at all.</span></h1>
    Try having that on a simple page and resize browser window.

  12. #12

    Thread Starter
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Re: &nbsp; breaking in IE6

    Quote Originally Posted by techgnome
    can't be the same code then....there's nothing there to tell either browser to move to the next line.... so technically, IE was correct.... how or why Fx happened to be breaking where you wanted it to.. dunno.
    the text is too wide for the cell, so it wraps - adding the &nbsp; should allow me to control where it wraps shouldn't it? It does in Fx, and it's exactly the same code for both browsers.

    Quote Originally Posted by techgnome
    and brackets are square [ or curly { or angled < .... ( is a parenthesis, or a paren.
    the word 'bracket' can be applied any of (), [], {}, <>.

    () can also be described as round brackets as well as parentheses.

    Since there was only one class of bracket in the text, i didn't feel it needed futher qualification - Don't get pedantic with me tg!

  13. #13
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: &nbsp; breaking in IE6

    You're trying to get exact display with HTML. It's a doomed and pointless endeavour. Just generate PDFs.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  14. #14

    Thread Starter
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Re: &nbsp; breaking in IE6

    Quote Originally Posted by Merri
    HTML Code:
    <h1><span style="white-space:nowrap;">Now I could call this interesting way</span> <span style="white-space:nowrap;">if it was special at all.</span></h1>
    Try having that on a simple page and resize browser window.
    I tried it straight into the page - it works! Solved my problem once again Merri - thank you

Posting Permissions

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



Click Here to Expand Forum to Full Width