shane85 Posted May 6, 2010 Share Posted May 6, 2010 hey guys so ive been doing alot of testing and I tried adding some javascript to one of my pages to have a "ticker" and it works perfectly in IE, but in firefox for whatever reason it doesnt scroll properly and I have figured it out by removing bits and pieces of code and narrowing down the problem...the line of code that causes it is the <html> code and I have it as follows <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> I took it out, but then in internet explorer then the page doesnt display corretly....when its not there, the "ticker" scrolls properly in firefox...what is the solution to this?? oops..I should be more clear I still have an html tag when I take out that piece of code..under neath that I have <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> Quote Link to comment Share on other sites More sharing options...
Adam Posted May 6, 2010 Share Posted May 6, 2010 Read up on doctypes and how they effect the presentation of a web page. Most likely the doctype you're using doesn't allow something within the JS. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.