Difference between revisions of "Template:LinkList"

From P2P Foundation
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<table style="width:100%;">
 
<table style="width:100%;">
 
<tr style="background-color:#D6E9F8; color:#333;">
 
<tr style="background-color:#D6E9F8; color:#333;">
<td style="border:1px solid #888; padding:10px; "> <h3>{{{1}}}</h3> </td>
+
<td style="border:1px solid #888; padding:5px 10px; "> <h3>{{{1}}}</h3> </td>
<td style="border:1px solid #888; padding:10px; "> <h3>{{{2}}}</h3> </td>
+
<td style="border:1px solid #888; padding:5px 10px; "> <h3>{{{2}}}</h3> </td>
 
</tr>
 
</tr>
 
<tr style="vertical-align:top; padding:10px;">
 
<tr style="vertical-align:top; padding:10px;">
<td style="border:1px solid #888; padding:10px; "> {{{3}}} </td>
+
<td style="border:1px solid #888; padding:5px 10px; "> {{{3}}} </td>
<td style="border:1px solid #888; padding:10px; "> {{{4}}} </td>
+
<td style="border:1px solid #888; padding:5px 10px; "> {{{4}}} </td>
 
</tr>
 
</tr>
 
</table>
 
</table>

Revision as of 12:52, 3 March 2009

{{{1}}}

{{{2}}}

{{{3}}} {{{4}}}
{{{1}}} {{{2}}}
{{{3}}} {{{4}}}



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