Giulietta Simone Del Viscontie wrote:Umm, what's CSS and how does it magically change the background to green? It's so interesting...
CSS = Cascading Style Sheets. It's a tidy way for web programmers to separate content (the text you see in the web browser) from presentation (what it looks like, colors, etc).
CSS is basically special code inside the web page, which says, whenever certain things are found in the HTML (like paragraphs, or headers, or sections saying they want to use a custom style), that they should have the specified colors, fonts, etc.
The CSS code that I used on the wiki:
- Code: [ Select all ]
What that means, is that the page's "body" (the main part, that contains most of the others), will have a background color of light green.
You could for instance use it on your Fanhymns page, so that you don't have to specify the fonts and colors etc for each of your paragraphs. You'd define a section earlier in your page, where you say what certain styles look like (fonts, colors, etc), and then in the Hymns, say that those "spans" use the styles you declared earlier. That way, you could for instance change the look of your entire hymn by just changing a few lines, instead of every place where you set those colors and fonts.
You can read more about Cascading Style Sheets here:http://www.w3schools.com/css/css_intro.asp