pucilpet Posted December 12, 2013 Share Posted December 12, 2013 Hi, I would need to remove the empty space from the beginning of the code of our website. If you take a look at the source of www.hersecret.fi you can see that there is a a line in the beginning of the code that's empty and some empty space in the 2nd line, too. Can you please instruct me which file to edit to remove this empty space? I already removed the beginning of header.tpl which actually removed an empty line (there were 2 empty lines before this). Thanks, Petteri Link to comment Share on other sites More sharing options...
pucilpet Posted December 12, 2013 Author Share Posted December 12, 2013 While you're at it, is there an easy of way of checking why the website doesn't work correctly with IE<=9? Thanks, Petteri Link to comment Share on other sites More sharing options...
vekia Posted December 12, 2013 Share Posted December 12, 2013 hello you're talking about this: ? Link to comment Share on other sites More sharing options...
pucilpet Posted December 12, 2013 Author Share Posted December 12, 2013 Hi vekia, Thank you for your answer. I was actually talking about this empty space before the DOCTYPE declaration: - Petteri Link to comment Share on other sites More sharing options...
vekia Posted December 12, 2013 Share Posted December 12, 2013 check header.tpl file, does the blank space appear there? (header.tpl file located in your theme directory) Link to comment Share on other sites More sharing options...
pucilpet Posted December 12, 2013 Author Share Posted December 12, 2013 Hi Vekia, As I mentioned I already checked the header.tpl and removed the blank space there. Some of the blank space disappeared from the source after that but not all of it as seen in the image. Thanks, Petteri Link to comment Share on other sites More sharing options...
pucilpet Posted December 13, 2013 Author Share Posted December 13, 2013 Any idea where that empty space might be coming from? thanks, Petteri Link to comment Share on other sites More sharing options...
vekia Posted December 13, 2013 Share Posted December 13, 2013 im back, sorry i missed your reply. can you attach header.tpl file? you can attach only first part (with {$HOOK_HEADER} what charset type you use for that file? Link to comment Share on other sites More sharing options...
pucilpet Posted December 13, 2013 Author Share Posted December 13, 2013 Hi, the header.tpl is as following: http://pastebin.com/LdM96f9W Thanks, Petteri Link to comment Share on other sites More sharing options...
Abity Posted January 27, 2014 Share Posted January 27, 2014 I have the same problem that you are reporting... any solution for it? Im really worried about it. I have empty space before the <!doctype... <!doctype html> <!--[if lt IE 7 ]><html class="ie ie6 no-js" lang="en"> <![endif]--> Please help me! Link to comment Share on other sites More sharing options...
vekia Posted January 28, 2014 Share Posted January 28, 2014 verify charset (filetype) it's utf-8 without bom? it must be! Link to comment Share on other sites More sharing options...
Recommended Posts