opentripplanner / OpenTripPlanner

An open source multi-modal trip planner
http://www.opentripplanner.org
Other
2.2k stars 1.03k forks source link

All text is bold in Firefox #151

Closed novalis closed 13 years ago

novalis commented 13 years ago

Just noticed that all the text in the itinerary in Firefox is bold, which looks pretty bad (cp. with Chrome).

novalis commented 13 years ago

Attached is a patch which removes the bold text from the itinerary in firefox. It seems to look fine in chrome too.

To make the itinerary items clickable, it looks like they are wrapped in anchor tags. Is it valid markup to wrap headers, lists, and other block level elements inside an anchor? If so, maybe we should reconsider using anchors, and use divs instead. We could have javascript listen to hover events and make the mouse cursor into a pointer.

The boldness was coming from the a:link a:visited style in planner.css. Since the anchor wrapped all of the markup there, it was inheriting the boldness from the anchor. The patch adds a more specific rule for the itinerary anchor to override the rule.

--rmarianski

novalis commented 13 years ago

fixed in r618

--rmarianski