Jump to content

<html> tag screwing up my java script!?


shane85

Recommended Posts

 

 

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">

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.