You may have a situation where the PO was trying to diagnose the gauge failure before you bought it. The white wire coming from your fuel tank sender should be white, if it's OE. This'll link to a pink wire that goes to the frame harness connector. Other white wires in the proximity of the fuel tank are for your tail lights so be careful. John Strenk has an excellent page describing diagnosis and repair of the gauge cluster fuel and temp gauges. I can't seem to find his link here on Jeepz but here's where you can link to;
http://www.jeepforum.com/forum/f8/temp-gauge-troubleshoot-1257623/
John's details expand beyond the DARS charts found in the Jeep TSM and my hat's off to him for posting his knowledge about these troublesome gauges.