I have my code perfectly tabbed in Notepad++, but it is a mess in the source code in Google Chrome.
How can I fix this?
Thanks in advance!
I have my code perfectly tabbed in Notepad++, but it is a mess in the source code in Google Chrome.
How can I fix this?
Thanks in advance!
Replace all occurrences of a tab (\t
) with two spaces (), or replace all occurrences of two consecutive spaces with a tab.
This is because of Tabs vs Spaces,
There is an answer https://stackoverflow.com/a/7471232/184201 for how to do that.