When crossing angled railroad tracks, it is usually best to:

In most cases, it is safest to ride straight within your lane to cross angled railroad or trolley tracks. Changing the angle of your path to cross tracks may send you into another lane, causing a collision with oncoming traffic.
DMV Writen Test