20060205 Compare two pages

From LemonWiki共筆
Jump to: navigation, search

usage[edit]

  • compare two different language wiki pages

css layout[edit]

{| class="plainlinks" cellspacing="5" cellpadding="0"
|-valign="top"
| style="width:50%; border-right: 1px solid #cca; border-bottom: 1px solid #cca; padding: 10px; -moz-border-radius: 10px; color:black; background:#f9f9f9;" |
<!-- 左欄 -->
{{:頁面名稱1}}

|width="50%" style="padding:0;margin:0;"|
<div style="border-top: 40px dotted #E0EDEE; border-bottom:1px solid #CFD5D7; border-right: 1px solid #CFD5D7; padding: 10px; -moz-border-radius: 10px 10px 0 0; background:#E0EDEE">
<!-- 右欄 -->
{{:頁面名稱2}}

</div>

todo[edit]

  • the layout will destroy the 'print friendly' page
  • done: hide the TOC (automatic table of contents)
formal solution: How do I add a table of contents?
alternative solution: increase the space of top-right of right column
border-top: 40px dotted #E0EDEE;
  • add line number?