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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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