Author Topic: How is the default "style.css" stylesheet used?  (Read 51099 times)

0 Members and 1 Guest are viewing this topic.

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
How is the default "style.css" stylesheet used?
« 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



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.

« Last Edit: March 10, 2005, 03:18:57 PM by Chris »

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
How is the default "style.css" stylesheet used?
« Reply #1 on: May 20, 2003, 09:37:18 AM »
Deutsche CSS Referenz:
http://selfhtml.teamone.de/css/
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Re: How is the default "style.css" stylesheet used?
« Reply #2 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">

Offline spyc

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: How is the default "style.css" stylesheet used?
« Reply #3 on: March 04, 2006, 04:06:32 AM »
this was extremly helpful, thank you!

Offline MaskimXul

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: How is the default "style.css" stylesheet used?
« Reply #4 on: March 15, 2006, 03:34:16 PM »
This is very helpful, could you possibly update the images that aren't showing?

Offline Chester

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: How is the default "style.css" stylesheet used?
« Reply #5 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....

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: How is the default "style.css" stylesheet used?
« Reply #6 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

Offline Chester

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: How is the default "style.css" stylesheet used?
« Reply #7 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....
« Last Edit: December 10, 2006, 11:11:41 AM by Chester »