[Main Page] Main Page | Recent changes | View source | Page history

Printable version | Disclaimers | Privacy policy | Latest revision

Not logged in
Log in | Help
 

sl.Wiki:Tables with CSS

(Difference between revisions)

 
(merged with other table article)
 
Line 1: Line 1:
{{Directory Backlink|en|sl.Wiki}}
+
#REDIRECT [[sl.Wiki:Special CSS Styles for Tables]]
 
+
We have added a CSS-style for easy formating tables in a standardized way to give the wiki a consistent look. The CSS-style is name "sl-gray". It has depended styles "top" and "left" for table headings at the top resp. left side of the table.
+
 
+
Here some examples:
+
{|class="sl-gray"
+
|-
+
!class="top"|Example
+
!class="top"|How does it look like
+
|-
+
|<pre><nowiki>
+
{|class="sl-gray"
+
|-
+
|Lorem
+
|ipsum
+
|dolor
+
|-
+
|sit
+
|amet
+
|consectetuer
+
|-
+
|adipiscing
+
|elit
+
|Morbi
+
|}
+
</nowiki></pre>
+
|
+
{|class="sl-gray"
+
|-
+
|Lorem
+
|ipsum
+
|dolor
+
|-
+
|sit
+
|amet
+
|consectetuer
+
|-
+
|adipiscing
+
|elit
+
|Morbi
+
|}
+
|-
+
|<pre><nowiki>
+
{|class="sl-gray"
+
|-
+
!Lorem
+
!ipsum
+
!dolor
+
|-
+
!sit
+
|amet
+
|consectetuer
+
|-
+
!adipiscing
+
|elit
+
|Morbi
+
|}
+
</nowiki></pre>
+
|
+
{|class="sl-gray"
+
|-
+
!Lorem
+
!ipsum
+
!dolor
+
|-
+
!sit
+
|amet
+
|consectetuer
+
|-
+
!adipiscing
+
|elit
+
|Morbi
+
|}
+
|-
+
|<pre><nowiki>
+
{|class="sl-gray"
+
|-
+
!class="top"|Lorem
+
!class="top"|ipsum
+
!class="top"|dolor
+
|-
+
!class="left"|sit
+
|amet
+
|consectetuer
+
|-
+
!class="left"|adipiscing
+
|elit
+
|Morbi
+
|}
+
</nowiki></pre>
+
|
+
{|class="sl-gray"
+
|-
+
!class="top"|Lorem
+
!class="top"|ipsum
+
!class="top"|dolor
+
|-
+
!class="left"|sit
+
|amet
+
|consectetuer
+
|-
+
!class="left"|adipiscing
+
|elit
+
|Morbi
+
|}
+
|-
+
|<pre><nowiki>
+
{|class="sl-gray"
+
|-
+
!class="top"|Lorem
+
!class="top"|ipsum
+
!class="top"|dolor
+
|-
+
|sit
+
|amet
+
|consectetuer
+
|-
+
|adipiscing
+
|elit
+
|Morbi
+
|}
+
</nowiki></pre>
+
|
+
{|class="sl-gray"
+
|-
+
!class="top"|Lorem
+
!class="top"|ipsum
+
!class="top"|dolor
+
|-
+
|sit
+
|amet
+
|consectetuer
+
|-
+
|adipiscing
+
|elit
+
|Morbi
+
|}
+
|-
+
|<pre><nowiki>
+
{|class="sl-gray"
+
|-
+
!class="left"|Lorem
+
|ipsum
+
|dolor
+
|-
+
!class="left"|sit
+
|amet
+
|consectetuer
+
|-
+
!class="left"|adipiscing
+
|elit
+
|Morbi
+
|}
+
</nowiki></pre>
+
|
+
{|class="sl-gray"
+
|-
+
!class="left"|Lorem
+
|ipsum
+
|dolor
+
|-
+
!class="left"|sit
+
|amet
+
|consectetuer
+
|-
+
!class="left"|adipiscing
+
|elit
+
|Morbi
+
|}
+
|}
+
 
+
 
+
[[Category:Templates|Tables with CSS]]
+
{{Translation|sl.Wiki|n|en|Tables with CSS}}
+

Latest revision as of 13:54, 27 February 2008

  1. REDIRECT sl.Wiki:Special CSS Styles for Tables