CSS


Introduction

 

Cascading

 

The order of the cascade is basically:

 

  1. External .css files. PBwiki skins are all external files linked with the <link> tag. The files themselves are simply text files with multiple CSS declarations. If many files are linked, the last one takes precedence. Therefore, if the first file defines the body background to "green" but the second file defines it as "black", the background will be black.
  2. <style> tags. Blocks of CSS declarations in an HTML document. Possible, but not particularly useful in PBwiki.
  3. Inline styles. CSS declarations defined for an individual element in the tag, i.e. <span style="color:red">red text</span>. Also not too useful for PBwiki, especially for collaborative situations (most wikis).

 

@@@@@