CSS: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
Line 9: Line 9:
== Mediawiki existing styles ==
== 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 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 ==
==Printable version ==

Revision as of 05:06, 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

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.


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