This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 19394 - WIKI Reference pages Index tables overflow the page wrapper.
Summary: WIKI Reference pages Index tables overflow the page wrapper.
Status: NEW
Alias: None
Product: webplatform.org
Classification: Unclassified
Component: skin (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Doug Schepers
QA Contact: public-webplatform-bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-09 16:12 UTC by jaredhall05
Modified: 2012-10-31 20:53 UTC (History)
2 users (show)

See Also:


Attachments

Description jaredhall05 2012-10-09 16:12:37 UTC
Index tables on the WIKI reference pages overflow the mw-content-text wrapper div.

This can be fixed by adding the following CSS:

For the table:
{
  table-layout: fixed;
}

For every td
{
  overflow: hidden;
  text-overflow: ellipsis;
  whitespace: nowrap;
}

and add a title to the anchor tag under each td so that a mouseover will display the full text in a tooltip.
Comment 1 ggurgone 2012-10-15 12:58:14 UTC
table {
    width: auto; /* or remove that width: 98% */    
    table-layout: fixed;
    word-break: break-word;
}

would be a better fix :)