File:LavaFenceposts.png

Summary
Fire created by lava doesn't replace anything but air, and the only air adjacent to the fences is below; fire is rarely, if ever created below the lava that creates it. Therefore, the pictured fences can't burn.