Top "Whitespace" questions

Whitespace, or white space, is often used to refer to any combination of spaces, tabs, and new lines which create blank space between text, either horizontally or vertically.

Can you make valid Makefiles without tab characters?

target: dependencies command1 command2 On my system (Mac OS X), make seems to require that that Makefiles have a tab …

makefile tabs whitespace spaces
Mysterious whitespace in between Bootstrap2 Navbar and row underneath

I am using Bootstrap's Navbar and Bootsrap's grid to display a Navbar with a image immediately underneath the Navbar. However, …

css twitter-bootstrap whitespace navbar removing-whitespace
How to remove trailing whitespace of all files recursively?

How can you remove all of the trailing whitespace of an entire project? Starting at a root directory, and removing …

bash whitespace
Responsive website on iPhone - unwanted white space on rotate from landscape to portrait

I am creating a responsive website, and have just noticed a strange behaviour in my content pages when viewed on …

iphone orientation whitespace rotation responsive-design
How do I add a non-breaking whitespace in JavaScript without using innerHTML?

I'm generating content dynamically and in some instances, I need to set a   as the only content of …

javascript whitespace innerhtml createelement createtextnode
Coloring white space in git-diff's output

Regarding code formatting I'm kind of purist :). I very often remove unnecessary white spaces (lines with only ws, ws at …

git colors diff whitespace
how to make svn diff show only non-whitespace line changes between two revisions

I can get diffs between two revisions using something like svn diff -r 100:200 > file.diff But the problem is …

svn diff whitespace
Remove spaces from the beginning and end of a string

I am pretty new to regular expressions. I need to clean up a search string from spaces at the beginning …

php regex preg-replace whitespace
What does "1 line adds whitespace errors" mean when applying a patch?

I'm editing some markdown files of a cloned remote repository, and wanted to test creating and applying patches from one …

git whitespace patch git-patch
Providing white space in a Swing GUI

A GUI with no white space appears 'crowded'. How can I provide white space without resorting to explicitly setting the …

java swing whitespace layout-manager