• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spaces before and after template inclusion

#1
[eluser]Unknown[/eluser]
Hi guys,

I've noticed that whenever I include a template within other templates, line breaks are added in the HTML before and after the template that's been included. This normally doesn't bother me except for in some styling instances where the line breaks add more space around a listing.

If I embed the same chunk of code within the template that I was loading it into, then it's fine (there are no spaces).

I've checked through all my code for rogue spaces, and haven't found any. I was wondering if anyone has come across this before, and how I can remedy it?


Messages In This Thread
Spaces before and after template inclusion - by El Forum - 02-11-2011, 07:20 PM
Spaces before and after template inclusion - by El Forum - 02-11-2011, 08:11 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.