I use a server-side scripting language that leaves blank lines in the source code after parsing the server-side tags. What is the best way to remove these lines?
- Grant
| SitePoint Sponsor |

I use a server-side scripting language that leaves blank lines in the source code after parsing the server-side tags. What is the best way to remove these lines?
- Grant





Not enough info to help you out, sorry. The solution is to look at your php/asp/whatever code, your blank lines are created somewhere in there.
It might also be useful to know which server-side language you are using so we may be more able to guide you as to which code creates a new line, in asp for example it's vbCrLF. Knowing which server-side language it is, you might also have more chance to get help if you post it in the respective subforum.
Dan G
Marketing Strategist & Consultant





Why do you want to remove the blank lines? They will only be line breaks, and won't be making much difference to your overall page weight (at least not compared to even the smallest image).
Bookmarks