Really simple CSS based loader graphic weighing in at 26 rows (not counting vendor prefixes). It does not provide a fallback for unsupported browsers.
http://jsfiddle.net/jansson/rs9Ka/
<div class="loader"></div>
The method relies and CSS animations and rounded borders, so any browsers supporting that should be green.
Check Can I Use for detailed information: