So I'm working on some one else's code. It's messy as all heck so I go through and format the code the way I like it. For example rather then having
I like my code to look like
Obvously the above example is very simplified but when the code is more complicated, it's very easy for me to see what is nested in what. All of a sudden, goofy white space was appearing out of no where. Where the browser (IE, it displays correctly in firefox) should be ignoring white space, it's putting in the white space! So in other words
Is producing a space below the image (where there shouldn't be one). But
OR
Does NOT produce the space. Any clue why IE is displaying white space where it should be ignoring it?
Code:
<table>
<tr><td>stuff here</td></tr>
</table.
Code:
<table>
<tr>
<td>
stuff here
</td>
</tr>
</table>
Code:
<tr>
<td>
<img src="../images/slices/slice_03.gif" width="690" height="17">
</td>
</tr>
Code:
<tr>
<td>
<img src="../images/slices/slice_03.gif" width="690" height="17"></td>
</tr>
Code:
<tr>
<td><img src="../images/slices/slice_03.gif" width="690" height="17"></td>
</tr>