Jump to content

CSS: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
mNo edit summary
Line 6: Line 6:


DIV tag
DIV tag

== inline style ==
(this section is a stub)
<nowiki>

{| style="your style here"


your stuff


|}
</nowiki>


== Mediawiki existing styles ==
== Mediawiki existing styles ==
Line 15: Line 28:


==Printable version ==
==Printable version ==
CSS allows certain content to be included in printing or not.
CSS allows certain content to be included in printing or not. the class name is "noprint"



==See also ==
==See also ==
Line 22: Line 34:


http://www.alistapart.com/articles/slashdot/ An article on why CSS is so much better
http://www.alistapart.com/articles/slashdot/ An article on why CSS is so much better

{{stub}}

Revision as of 05:37, 2 July 2006

Mediawiki supports en:Cascading style sheets. They should be used whenever possible instead of tables because they are much more flexible. They make it much easier to edit the wiki code, render for printing, render for small screen devices, and maintain a consistant style across the website.

Supported Elements

DIV tag

inline style

(this section is a stub) {| style="your style here" your stuff |}

Mediawiki existing styles

You may wish to use a style type that is already predeffined by mediawiki, or the site that you are visiting. you can also create a style that is unique to your page.

You will give your css tag an existing "class"

Please put a list of existing classes here.

Printable version

CSS allows certain content to be included in printing or not. the class name is "noprint"

See also

User style a person can modify the style, for accessiblity, or additional feature testing.

http://www.alistapart.com/articles/slashdot/ An article on why CSS is so much better