CI adding margin/padding at top of page? |
[eluser]KingSkippus[/eluser]
[quote author="esset" date="1279648713"]I have the wierdest issue. Take a look at this page: http://mstportalen.se/test.html Now take a look at the exact same code, but loaded via a standard CI view: http://mstportalen.se/ Why is the header DIV being pushed down? *confused* Thanks in advance[/quote] In the http://mstportalen.se/ version, you have some non-renderable character in front of your DOCTYPE declaration. Check your view and make sure that there is nothing being rendered between the DOCTYPE line and the top of your page. Looking at the DOM, whatever is wrong is causing your link declaration to fall down into the body instead of staying up in the head. I wouldn't have thought an invalid DOCTYPE delcaration could cause that, but I dunno, I don't see anything else. |
Messages In This Thread |
CI adding margin/padding at top of page? - by El Forum - 07-20-2010, 06:58 AM
CI adding margin/padding at top of page? - by El Forum - 07-20-2010, 07:42 AM
CI adding margin/padding at top of page? - by El Forum - 07-20-2010, 07:49 AM
CI adding margin/padding at top of page? - by El Forum - 07-20-2010, 08:21 AM
CI adding margin/padding at top of page? - by El Forum - 07-20-2010, 08:36 AM
CI adding margin/padding at top of page? - by El Forum - 07-20-2010, 08:45 AM
CI adding margin/padding at top of page? - by El Forum - 07-20-2010, 01:41 PM
|