Hey Guys,
I'm having some trouble with my cms backend. When I view the pages section in the admin it seems to push down the menu by about 30px.
I first thought it was a css problem, and couldn't find anything. Then I thought I'd check the php code I'd just written from a tutorial I'm working with. When I removed the file containing that code from the folder and rebuilt the db, the gap disappeared. Then I put the file back and the gap reappeared. So I debugged the code (all of which I got from the tutorial - SilverStripe The Complete Guide to CMS Development - Section 5) and found the line:
"class JobCategory extends Page {"
is causing the problem.
From what I can tell the gap is being created with some space in the top of the body, you can see from the attached image. And this seems to be to do with the page rendering some of the head tags in the body. But then when you check the source code, everything looks ok; all the head tags are in the head. Also when I use firebug to delete the gap the menu jumps up.
I have also attached the php file if that helps anyone.
Thanks in advance.
Arun.