Closed Bug 291444 Opened 20 years ago Closed 13 years ago

Use :target to emphasize FAQ #answer

Categories

(www.mozilla.org :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: danielwang, Unassigned)

References

()

Details

Attachments

(1 file)

When the user visits a #bookmark link and the bookmark is near the bottom of the
page, the content in interest is somewhere in the middle of the view. Create CSS
rules for
  .question:target
and
  .question:target + dd.answer
so that all FAQ answers can be found easily. This is mainly for the
support/xxx/faq's
Attached patch patchSplinter Review
blue bg/white text for .question, and blue text for .answer

I haven't been around for a while. Is fantasai still alive?
Attachment #181519 - Flags: review?(fantasai.bugs)
Yes. However, this is the wrong approach as we have a general CLASS name for
FAQs applied on the DL element.
Comment on attachment 181519 [details] [diff] [review]
patch

Yes, I'm still alive. :)
Anne is right -- it will be much better if we just have rules for a
  <dl class='qandaset"> 
    <dt>q1
    <dd>a1
    <dt>q2
    <dd>a2
  </dl>

It's a lot less typing to make a FAQ that way. :)
Attachment #181519 - Flags: review?(fantasai.bugs) → review-
Assignee: www-mozilla-org → nobody
QA Contact: danielwang → www-mozilla-org
Product: mozilla.org → Websites
Blocks: 521707
I presume this bug is referring to:
http://www.mozilla.org/faq.html

If so, that page has been archived, so resolving this as WONTFIX.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: