In order to capture the same amount of energy dispensed from an average gas station in one day from the sun, you'd need 100% efficient solar panels that cover the entire state of Florida. Fossil fuels have a shit ton (yes that is a precise term) of energy within them.
Nuclear is better but impractical for transportation.