fmt:link icon could be presented better using CSS

Bug #221397 reported by Matthew Paul Thomas
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Martin Albisetti

Bug Description

Objects presented using fmt:link (for example, the name next to "Logged in as" at the top right) are currently presented using an <img> and then some text, all inside an <a> element.

If we used CSS to display the image, instead of an <img> element, the underlining would look better in graphical browsers (because the image would not be underlined, just the text), and the page would also be less noisy in text browsers.

The desired markup, while our icon size is 14px*14px, is:
<a href="..." style="background: url(...) center left no-repeat; padding-left: 18px;">text</a>

Changed in launchpad:
status: New → Confirmed
Curtis Hovey (sinzui)
Changed in launchpad-foundations:
assignee: nobody → Martin Albisetti (beuno)
importance: Undecided → High
milestone: none → 2.2.6
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.