We have pretty much the same thing here in Little Rock with the River Rail Trolley.
Treat the tram/trolley tracks with the same respect that you would railroad tracks, excepet that tram tracks usiaually run parallel to your route for significant distances. On two lane streets the trolley tracks usually fill the right traffic lane, and in these cases I'll move over to the next parallel street. Where there are two lanes in each direction, the tracks make a case for moving over and riding in the left, of "fast" lane.
Always approach the tracks with your wheels perpendicular to the rails, and don't ride between the rails, or between the rails and the curb. If you should get into difficulty, you've got no place to go without getting your wheels trapped in the rails.