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

1 replies
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
#<head> #adding #javascript #margin #tags
  • Profile picture of the author randombase
    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.
    {{ DiscussionBoard.errors[2076407].message }}

Trending Topics