4images Forum & Community

4images Help / Hilfe => FAQ, Tips => Topic started by: Chris on May 16, 2003, 09:49:07 PM

Title: How is the default "style.css" stylesheet used?
Post by: Chris on May 16, 2003, 09:49:07 PM
(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

(http://www.thefilebin.com/userfiles/VividViews/4homepages_de/images/style_css.gif)

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: [Select]
/*--Categories------------------------------------------------*/
/*--Images----------------------------------------------------*/
/*--Comments--------------------------------------------------*/
These identify the blocks of css code that work with Categories, Images and Comments.

(http://www.thefilebin.com/userfiles/VividViews/4homepages_de/images/stylesheet_color_chart.jpg)
Title: How is the default "style.css" stylesheet used?
Post by: Jan on May 20, 2003, 09:37:18 AM
Deutsche CSS Referenz:
http://selfhtml.teamone.de/css/
Title: Re: How is the default "style.css" stylesheet used?
Post by: Chris on March 14, 2005, 03:16:38 AM
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: [Select]
<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
Title: Re: How is the default "style.css" stylesheet used?
Post by: spyc on March 04, 2006, 04:06:32 AM
this was extremly helpful, thank you!
Title: Re: How is the default "style.css" stylesheet used?
Post by: MaskimXul on March 15, 2006, 03:34:16 PM
This is very helpful, could you possibly update the images that aren't showing?
Title: Re: How is the default "style.css" stylesheet used?
Post by: Chester on December 09, 2006, 05:52:14 PM
Das auf dem Bild markierte Teil heißt doch "Tablehead"?? Wenn ich die Farbe in der CSS Datei ändere, passiert jedoch nichts.

Heißt es vllt anders??

Danke im vorraus....
Title: Re: How is the default "style.css" stylesheet used?
Post by: KurtW on December 09, 2006, 07:00:47 PM
Hallo Chester,

stimmt schon...
 Du musst vielleicht deinen Browsercache löschen
und Browserfenster aktualisieren.
css formatierungen werden nicht so einfach im Browsercache ersetzt

Problem könnte werden.... Links davon in der table befinden sich auch images mit diesen Farben.


Gruß
Kurt
Title: Re: How is the default "style.css" stylesheet used?
Post by: Chester on December 09, 2006, 07:40:00 PM
Hallo Chester,

stimmt schon...
 Du musst vielleicht deinen Browsercache löschen
und Browserfenster aktualisieren.
css formatierungen werden nicht so einfach im Browsercache ersetzt

Problem könnte werden.... Links davon in der table befinden sich auch images mit diesen Farben.


Gruß
Kurt

Den Cache habe ich schon gelöscht. Es geht aber trotzdem nicht.
Alle anderen Farbänderungen die ich schon gemacht habe, funktionierten sofort.

Woran könnte es denn noch liegen???

Edit: hat sich erledigt....