[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?
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.
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 :lol:
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 was the sort of thing that should work no matter how crap your code is - isn't it what Frontpage relies on!
Re: 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.
Re: breaking in IE6
ok, i'll look into that, cheers
Re: breaking in IE6
Quote:
Originally Posted by bushmobile
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?
Explain 'breaking correctly', because I don't see what you're talking about.
2 Attachment(s)
Re: 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:
http://www.vbforums.com/attachment.p...id=49492&stc=1
In IE:
http://www.vbforums.com/attachment.p...id=49493&stc=1
Re: breaking in IE6
Ehhh... what's wrong with <br/> ? :D
Re: 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
Re: 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
Re: 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.
Re: 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 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! :p :D
Re: breaking in IE6
You're trying to get exact display with HTML. It's a doomed and pointless endeavour. Just generate PDFs.
Re: 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 :thumb: