Android Use Spaces for Indentation

We use 4 space indents for blocks. We never use tabs. When in doubt, be consistent with code around you. We use 8 space indents for line wraps, including function calls and assignments. For example, this is correct: Instrument i = someLongExpression(that, wouldNotFit, on, one, line); and this is not correct: Instrument i = someLongExpression(that,

Read More

Removing Spaces Between Images in HTML

When using images in HTML you might want to remove the white spaces in between. There are two things you should be aware of when using images. First thing is to make sure there is no spaces between the <img> tags. Like in this example there is an unwanted gap between image1 and 2: <img src=”img1.gif”/>

Read More