Closed Bug 675171 Opened 14 years ago Closed 13 years ago

standardize font weight for field labels

Categories

(Bugzilla :: User Interface, defect)

4.0.1
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.4

People

(Reporter: glob, Assigned: dkl)

Details

Attachments

(2 files)

Attached image mixed label weights
currently different field labels have different font weights. this difference isn't immediately noticeable with the default font (verdana), however it becomes evident when switching to more modern fonts. we have: <td><b> (weight 900) <th><label> (weight 700) <td><label><b> (weight 900) the standard weight is 400.
the fix should be to: - make all the field labels use <th> - drop the <b> tag or - make all the field labels use <td> - drop the <b> tag - use css to style the field_labels as bold
(In reply to comment #1) > - make all the field labels use <td> > - drop the <b> tag > - use css to style the field_labels as bold +1
The field labels are logically table headers and so should logically be <th> fields. They should all have the field_label class on them, also, which handles this one way or another. We should *definitely* remove the <b> tags.
Assignee: ui → dkl
Status: NEW → ASSIGNED
Attachment #654377 - Flags: review?(glob)
Comment on attachment 654377 [details] [diff] [review] Patch to fix field_label elements in edit.html.tmpl r=glob, with the following fixed on commit: >- <td class="field_label"> >+ <th class="field_label"> > <label for="keywords" accesskey="k"> >- <b><a href="describekeywords.cgi"><u>K</u>eywords</a></b></label>: >+ <a href="describekeywords.cgi"><u>K</u>eywords</a></label>: > </td> this </td> needs to be a </th>
Attachment #654377 - Flags: review?(glob) → review+
Flags: approval?
(In reply to Byron Jones ‹:glob› from comment #5) > this </td> needs to be a </th> Thanks. Will fix on commit. dkl
Flags: approval4.4?
Flags: approval?
Flags: approval4.4?
Flags: approval4.4+
Flags: approval+
Target Milestone: --- → Bugzilla 4.4
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/trunk modified template/en/default/bug/edit.html.tmpl Committed revision 8385. Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/4.4 modified template/en/default/bug/edit.html.tmpl Committed revision 8383.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: