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

Revision as of 13:46, 27 February 2008 by Ragnar 40k (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Please keep thoriwng these posts up they help tons.

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:

Example How does it look like
{|class="sl-gray"
 |-
 |Lorem
 |ipsum
 |dolor
 |-
 |sit
 |amet
 |consectetuer
 |-
 |adipiscing
 |elit
 |Morbi 
 |}
Lorem ipsum dolor
sit amet consectetuer
adipiscing elit Morbi
{|class="sl-gray"
 |-
 !Lorem
 !ipsum
 !dolor
 |-
 !sit
 |amet
 |consectetuer
 |-
 !adipiscing
 |elit
 |Morbi 
 |}
Lorem ipsum dolor
sit amet consectetuer
adipiscing elit Morbi
{|class="sl-gray"
 |-
 !class="top"|Lorem
 !class="top"|ipsum
 !class="top"|dolor
 |-
 !class="left"|sit
 |amet
 |consectetuer
 |-
 !class="left"|adipiscing
 |elit
 |Morbi 
 |}
Lorem ipsum dolor
sit amet consectetuer
adipiscing elit Morbi
{|class="sl-gray"
 |-
 !class="top"|Lorem
 !class="top"|ipsum
 !class="top"|dolor
 |-
 |sit
 |amet
 |consectetuer
 |-
 |adipiscing
 |elit
 |Morbi 
 |}
Lorem ipsum dolor
sit amet consectetuer
adipiscing elit Morbi
{|class="sl-gray"
 |-
 !class="left"|Lorem
 |ipsum
 |dolor
 |-
 !class="left"|sit
 |amet
 |consectetuer
 |-
 !class="left"|adipiscing
 |elit
 |Morbi 
 |}
Lorem ipsum dolor
sit amet consectetuer
adipiscing elit Morbi

[Main Page]
Main Page
Community portal
Current events
Recent changes
Random page
sitesupport

View source
Discuss this page
Page history
What links here
Related changes

Special pages