Topic: DOCTYPE, DHTML and mozilla ... (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=10785" title="Pages that link to Topic: DOCTYPE, DHTML and mozilla ... (Page 1 of 1)" rel="nofollow" >Topic: DOCTYPE, DHTML and mozilla ... <span class="small">(Page 1 of 1)</span>\

 
OMERA
Bipolar (III) Inmate

From: France
Insane since: Mar 2000

posted posted 08-10-2002 19:44

Ok! I'm starting to loose my patience...
I've build a great STRICT XHTML validated page, layouted it with clean and crispy CSS.
Looked perfect in both ie and mozilla 1.1

Now I started to make some DHTML manipulation. Works fine in IE, but MOZILLA didn't even frown!
No way to move my divs around...

But when I kick the doctype declaration, hey, presto, everything start moving around! (And some css rule
fall completely apart, besides that).

Can anyone here explain me why? I don't want to erase all doctype declaration to make my dhtml works.... any workaround?

Thanks!

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 08-11-2002 03:38

OMERA: Welcome to the wonderful world of DOCTYPEs. Try bumping it down to XHTML transitional or making the DOCTYPE quirky - see this discussion and links:
www.gurusnetwork.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic;f=16;t=000050

___________________
Emps

FAQs: Emperor

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 08-11-2002 10:13

Here's some reading material:




OMERA
Bipolar (III) Inmate

From: France
Insane since: Mar 2000

posted posted 08-11-2002 10:47

OOOOOOK!!!!!!!!
So... First of all, I would like to say that I've spended the last hour reading endless post or articles on that famous doctype, and whenever someone complained about the problem in Javascript, sudden silence was made. Nevertheless...
I was getting angry with that s..t, everytime I was putting a doctype in netscape, my dhtml moving things were remaining in place. I suspected it was something to see with the quirk or standard mode, but... what????
FINALLY, I found what seems to be THE problem!
When I was assigning position to my div's, I was doing that:
object.style.left = 150;

Netscape refused in standard compliant mode.
Fact is that, in this mode, I MUST WRITE that!
object.style.left = "150px";

If you don't specifie the unity, nothing happens!
few!!!
Happy to dismissed that!

OMERA ~ romantic dreamer ~

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 08-11-2002 12:57

mr.maX: Good links.

Omera: Thanks for passing that back - it might have solved a problem I was having

[edit: and I'd forgotten that there is an FAQ on this:
http://faq.ozoneasylum.com/460/ ]

___________________
Emps

FAQs: Emperor

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 08-12-2002 03:13

Speaking of this DOCTYPE - Hey Mr. Max - is the next version of HTML Beauty going to support the XHTML DOCTYPE? I try to use that DOCTYPE whenever I can, and that's my only real "issue" with HTML Beauty right now.

Other than that, awesome program, of course!

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 08-12-2002 08:25

Yes, new version of HTML Beauty will fully support XHTML. In the meantime, you can modify current HTML template to include XHTML document type. Templates are stored in folder called "Templates" and it's located inside folder where HTML Beauty is installed. The file that you have to modify is called "default.html" (you can also create a new template and assign it as default template via program options)...


Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 08-12-2002 09:25

Right, but it doesn't write the correct tags. I've heavily customized my templates, but I still need the tags written correctly. Otherwise I have to manually change them....



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu