Announcement

Collapse
No announcement yet.

problem in code

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • problem in code

    I have a snipit of javaScript running right under the <body> tag. The script works great... but in IE the script shows up as a blank line at the top of my document and is pushing my page down about 20 pixels... I tried a few CSS tricks but its not fixing the problem... Anyone know how to fix this.

  • #2
    Originally posted by desperateboy View Post
    I have a snipit of javaScript running right under the <body> tag. The script works great... but in IE the script shows up as a blank line at the top of my document and is pushing my page down about 20 pixels... I tried a few CSS tricks but its not fixing the problem... Anyone know how to fix this.
    The script should be contained within the script tags and place within the 'head' block.

    Comment


    • #3
      As Josh has said, the script goes into the head block. You then just call it when you want to use it in the body tag.
      Jonathan Crass
      Joint Partner in Checker Design
      Joint Partner in Jst Hosting



      Comment

      Working...
      X