The problem was in controller file, saved in UTF-8 with BOM.
Thanks everybody for your help!

On 14 авг, 16:29, "rich...@home" <[email protected]> wrote:
> There are validation errors in your page:
>
> http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fcollege.ks.u...
>
> Make sure your page validates BEFORE you try and fix any CSS bugs ;-)
>
> Firebug's output, which is rendered from the DOM, not the source,
> shows you have your stylesheets linked in the <body>, not the <head>.
>
> Although the source appears to be correct, something has gone wrong
> there. It's probably due to the validation errors causing the page not
> to be parsed correctly.
>
> The first two bytes of the page, directly before the <!DOCTYPE are non-
> printable (the first validation error). They are what is causing your
> page to have gap at the top. They are still taking up space on the
> page even though they are 'invisible'.
>
> On Aug 14, 4:40 am, Matt Kaufman <[email protected]> wrote:
>
> > Are you using 1.3?  I had this problem actually yesterday!  I didn't
> > look into it at all though... But I knew it existed.  I assume somewhere
> > in your AppController or beforeFilter()s somewhere..... something is
> > being put out, as in just a space.  What happens in a blank install and
> > re-construct or drop in of that header to a fresh cake install.  >>>> It
> > works, and fixes the problem --- Right?
>
> > Argh, this happened to me on a (very, very large and active) site
> > (social network) that used Cake and it was fucking horrible to find
> > where this was happening... We were so disorganized at the time and up
> > for days and days.
>
> > Hehe..
>
> > But yes, try that?
>
> > Miles J wrote:
> > > I think you linked some wrong images.
>
> > > Try putting body { padding: 0; } and also taking a screenshot of the
> > > source in CakePHP.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to