To safely cross trolley tracks that run parallel to your lane, you should:

To safely cross trolley tracks or pavement seams running parallel to your lane, move to a lane position that will allow you to cross them at an angle of at least 45 degrees. Then, make a quick, sharp turn. If you try to edge across, the tracks or seam could catch your tires and throw you off balance.
DMV Writen Test