#200 website: Use a class attribute for TOC

output: Website
closed-fixed
XSL (399)
5
2005-11-16
2004-07-21
No

Please enclose the entire navigation TOC in an element
with a class attribute such as "toc". The point is to identify
navigation elements that are only useful on a live
webpage, but aren't of any use in print. Thus, the TOC
could be excluded from print with a simple addition to the
used CSS stylesheet

@media print {
.toc {
display: none;
}
}

Michael

Discussion

  • Michael(tm) Smith

    • labels: 321174 -->
    • milestone: 112686 -->
     
  • Michael(tm) Smith

    • labels: --> 340797
     
  • Robert Stayton

    Robert Stayton - 2005-03-29
    • assigned_to: nobody --> bobstayton
    • status: open --> closed-fixed
     
  • Robert Stayton

    Robert Stayton - 2005-03-29

    Logged In: YES
    user_id=193218

    There already is a class="navtoc" used in the <p> containing
    the toc. So I just added this style to example.css.

     
  • Michael(tm) Smith

    • labels: 340797 -->
     
  • Michael(tm) Smith

    • milestone: --> output: Website
    • labels: --> XSL
     

Log in to post a comment.