Posts: 2
Threads: 1
Joined: Jan 2011
After adding this file to template all content of site moves down. If I look at source of page in IE there is some strange symbol at the top of the page, right before <!DOCTYPE html PUBLIC...
Am i doing something wrong? Here you can see it
http://divorcelawyers.ru/
Thanks
Posts: 1,108
Threads: 70
Joined: Aug 2009
Your code looks fine as does your HTML.
Looks like one of your Javascripts is messing up the Header of your page.
Look at it with Firebug or CTRL-I in Chrome.
Header/Body are all messed up.
Delete the Javascripts and add them in one by one to see if one of them is causing it.
Mike.
Posts: 1,204
Threads: 30
Joined: Jun 2010
2011-01-05, 22:20:59
(This post was last modified: 2011-01-05, 22:22:25 by BlackRose.)
Easiest way would be to add to body element css a negative top margin.
But! It would be against good practices.
Because: why the hell didn't you put those
Code:
<link rel="canonical" href="http://divorcelawyers.ru/">
<link rel="stylesheet" type="text/css" href="20jure_pliki/default.css">
in <head> section ?
edit: Mike's faster :<
AND ! save functions.php as UTF8 document without bom. That is the cause of your main problem.
Addons: blue business theme, Online Visitors, Notepad
Posts: 2
Threads: 1
Joined: Jan 2011
yojoe Wrote:]
AND ! save functions.php as UTF8 document without bom. That is the cause of your main problem.
Yes it works! Thank you all very very much ))
Posts: 30
Threads: 3
Joined: Dec 2010
I had a similar problem last week, spent ages chasing round trying to work out why the <link...> headers were being moved to the body and eventually spotted the BOM in one of the files...