123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|638|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Web Development -> JavaScript, Doctypes and Firefox

Tue, 01 Jan 2008, 10:48
HoboBen
I've got this short bit of=nojavascript...



They works in "quirks" mode with no DocType, but when I have one they all equal zero and warnings will appear in the JSscript Console.



Internet Explorer and Opera cope fine, just not Firefox (unless I use quirks mode)

Any ideas?

Quirky Working Example and Iffy DocType Page : Click on the image.

(I cut 'n' pasted SoCoder's front page as Lorem Ipsum)

The only thing I can find on google is that experts-exchange.com where they show you the question and make you pay money to get an answer

-=-=-
blog | work | code | more code
Tue, 01 Jan 2008, 11:02
HoboBen
Oh cool, I got it!

I viewed their page in the Google cache here and they had all the text out to bait Google. Which is very dishonest and I believe against Google's guidelines... I'm half in the right mind to report them.

But I got the hint on the page.

I had to add "px" to the end - it's a CSS style I'm applying it to afterall. And also I needed some brackets cause I may have been converting some numbers to text prematurely.

It works! Yeay!

It's still returning zero for the scrolling though, but the width/height is ok.

I wonder how I can get it scrolling now. |edit| Got that too! |edit|

-=-=-
blog | work | code | more code