4images Help / Hilfe > FAQ, Tips

How is the default "style.css" stylesheet used?

(1/2) > >>

Chris:
(The picture is large. Internet Explorer & Mozilla 1.3 users can press F11 to toggle between normal and full screen)

A stylesheet is used to control the appearance of the default template pack that ships with 4images. 
It governs things such as table background colors, etc. 

If you are unfamiliar with stylesheets, here is an excellent reference:
http://webdesign.about.com/cs/css/

This is a picture of how templates/default/style.css is used



There are more classes and selectors used than are pictured above. 
If you open style.css in a text editor, you will find comment lines such as:

--- Code: ---/*--Categories------------------------------------------------*/
/*--Images----------------------------------------------------*/
/*--Comments--------------------------------------------------*/
--- End code ---
These identify the blocks of css code that work with Categories, Images and Comments.

Jan:
Deutsche CSS Referenz:
http://selfhtml.teamone.de/css/

Chris:
NOTE:

The color of the text links is NOT found in the stylesheet.  Instead they are set as attributes on the <body> tag inside header.html

--- Code: ---<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
--- End code ---

spyc:
this was extremly helpful, thank you!

MaskimXul:
This is very helpful, could you possibly update the images that aren't showing?

Navigation

[0] Message Index

[#] Next page

Go to full version