Adding javascript to my <head> tags is adding a margin... why?

by 1 replies
2
Hi everyone,

I have a minisite design which requires no margins at the top, in order to work with the background image (which repeats).

I also need to add in some javascript which requires 5 lines in the <head></head> section... BUT when I insert it in, it adds a random line above the minisite design.

All of the CSS margins are set to 0.

Anyone know why?

HELP! lol

Thanks,
- Marc
#programming #<head> #adding #javascript #margin #tags
  • This might sound like a stupid answer but are you sure you have closed the <script> tag properly? As it might negate the CSS by treating it as Javascript.

Next Topics on Trending Feed