Solder resist is the green coating on top of the tracks on the PCB.
Ok so is there anything you can coat the underside of the board with to avoid jumps of electricity from one track to another?
Arcing from one track to another isn't normally a problem because of the solder resist.
It's between exposed metal surfaces, such as the soldered pads when arcing can be a problem. Most of the time arcing won't be a problem anyway, the peak voltage of the mains is only 325V which isn't enough to arc, the problem is high voltage spikes occasionally occur (up to 2kV) which can arc a few mm and is why a 7mm clearance between the mains and 24VDC control side is required.
Is there a way of restricting the flow so I only get 230v's and 0.25 amps? (I know that may be aq really stupid question but I had to ask)
There is no need to limit the current, the load will just take as much current as it needs.
would one of these do it
**broken link removed**
Yes, that will do the job, as long as you know the coil voltage is 12V, not 24V.
If yes I read somewhere that you need a diode on the 12v end so that the 230v doesn't feedback down that way.
A diode is normally only required when sensitive devices such as a transistor or IC is used to drive the relay.
The diode limits the large voltage produced when the current though the coil is interrupted and has nothing to do with the mains feeding back to the 12V end, you'd still need the diode if you used the relay to switch a 12V circuit.
Though I don't even know what a diode is so haha
A diode is just an electronic one way valve, it only allows current to flow in one direction only.
The high voltage pulse generated by the relay coil is always opposite to the voltage applied to the relay coil. The diode is wired in reverse parallel with the relay coil so that it short circuits the high voltage pulse generated when the coil is turned off.