|
-
Jul 18th, 2006, 10:02 PM
#1
[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?
-
Jul 19th, 2006, 12:03 AM
#2
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.
-
Jul 19th, 2006, 05:12 AM
#3
Re: breaking in IE6
 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 was the sort of thing that should work no matter how crap your code is - isn't it what Frontpage relies on!
-
Jul 19th, 2006, 05:19 AM
#4
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.
-
Jul 19th, 2006, 05:45 AM
#5
Re: breaking in IE6
ok, i'll look into that, cheers
-
Jul 19th, 2006, 02:36 PM
#6
Re: breaking in IE6
 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.
-
Jul 19th, 2006, 02:51 PM
#7
Re: breaking in IE6
 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:
-
Jul 19th, 2006, 02:58 PM
#8
Re: breaking in IE6
Ehhh... what's wrong with <br/> ?
-
Jul 19th, 2006, 03:03 PM
#9
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
-
Jul 19th, 2006, 05:07 PM
#10
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
-
Jul 19th, 2006, 05:33 PM
#11
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.
-
Jul 19th, 2006, 05:37 PM
#12
Re: breaking in IE6
 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.
 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!
-
Jul 19th, 2006, 05:47 PM
#13
Re: 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.
-
Jul 19th, 2006, 05:48 PM
#14
Re: breaking in IE6
 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|