could be stuff in your fuel tank.. my yellow mk1 had that problem and it took me ages to figure out i had something floating round in my fuel tank and every now and then it would block the fuel sender... thats after i had replaced my fuel pump without results..
try blowing all the fuel back down the fuel hose if it happens again... or if you could be bothered, clean out your tank next time you're near empty...
Bookmarks