Last modified: 2007-07-15 07:56:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T12592, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10592 - change the toc from <table> to <div>
change the toc from <table> to <div>
Status: RESOLVED DUPLICATE of bug 658
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-07-15 07:22 UTC by italvet
Modified: 2007-07-15 07:56 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description italvet 2007-07-15 07:22:36 UTC
actually, a <table> is used for hack the dispay of the #toc (makes the right border sticks to the text instead to its parent right border.

With apropriate internal stylesheet it displays well, but when an external stylesheet is used with visible tables, it becomes very ugly.

I suggest something like

#toc{float:left}
h2 .firstHeadline{clear:left} /* a firstHeadline class is needed because h2:first-child is used by the #toc headline itself, and :first-child doesn't work with IE */

So we can change 

<table id="toc" class="toc" summary="Contents">
<tbody><tr>
<td>
[blabla]
</td>
</tr>
</tbody></table>

to

<div id="toc" class="toc" summary="Contents">
[blabla]
</div>
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-07-15 07:41:21 UTC

*** This bug has been marked as a duplicate of bug 658 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links