Template:LinkList: Difference between revisions

From P2P Foundation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{|class="linkList" border="1" cellpadding="4" cellspacing="0" style="border-collapse: collapse; margin:0;text-align:left;border:1px grey solid;{{{666}}}"
{|class="linkList" border="1" cellpadding="4" cellspacing="0" style="border-collapse: collapse; margin:0;text-align:left;border:1px grey solid;{{{666}}}"
  | style="background-color:#D6E9F8;"| {{{title|{{{1}}}}}}
  | style="background-color:#D6E9F8;"| {{{1}}}
|  |
|  |


<span style="color:#333;display: block; width: 100%;">{{{title|{{{2}}}}}}</span>  
<span style="color:#333;display: block; width: 100%;">{{{title|{{{2}}}}}}</span>
 
|-  
| -  
|<div style="border-collapse: collapse; margin:0;text-align:left;border:1px grey solid;{{{666}}}">{{{3}}}</div>
|<div style="padding:1em 2em;text-align:left;{{{777}}}">{{{3}}}</div>
|{{{4}}}
|{{{4}}}
|}
|}

Revision as of 13:31, 13 January 2009



How does this template work?

1. class "linkList" in main.css 2. inline styling (yes it's a bit of a jungle, but workable)

{{{666}}} = style whole table

{{{777}}} = style body of cell

title=... -> displays alternative text in title bar