123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|704|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Web Development -> Please HELP !

Thu, 01 Apr 2010, 19:01
steve_ancell
I've been having another crack at learning how to make a website.

The document below works OK in FireFox but a bit dodgy in Internet Explorer.

If I uncomment the DTD however, it bloomin' well wont work at all.

Any ideas ?


Thu, 01 Apr 2010, 19:16
HoboBen
Internet explorer wants "gray", not "grey".

In strict mode, empty div elements are considered not to exist - either add text to them or use (ampersand)nbsp; (non-breaking space) if you want them to *look* empty without being empty.



-=-=-
blog | work | code | more code
Thu, 01 Apr 2010, 19:24
steve_ancell
OK thanx Ben, I'll go and try that now
Thu, 01 Apr 2010, 19:43
steve_ancell
That sort of helped, but the divisions are only one text line high. The percentage values do what they say on the tin when there's no DTD.

I'm not too sure if I should be using percentages for the height of the divisions !
Thu, 01 Apr 2010, 20:01
steve_ancell
I was also having a play around with AJAX. What is weird though, it works OK straight from my HDD in FireFox but not in Internet Explorer. But it works fine in Internet Explorer if I upload it to some webspace first

Here are the files... AJAX Practice
Thu, 01 Apr 2010, 20:14
Stealth
The doctype switches IE in to standards rendering mode. Without it, IE uses quirks rendering mode. Quirks is a lot sloppier of a rendering engine.

-=-=-
Quit posting and try Google.
Fri, 02 Apr 2010, 05:26
steve_ancell
OK thanx Stealth, I guess I need to do more research on doctype then.