4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 19, 2018, 12:43:56 PM

Login with username, password and session length
Search:     Advanced search
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Help / Hilfe
| |-+  FAQ, Tips
| | |-+  How is the default "style.css" stylesheet used?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: How is the default "style.css" stylesheet used?  (Read 41994 times)
Chris
4images Moderator
4images Guru
*****
Offline Offline

Posts: 4487

Thank You
-Given: 0
-Receive: 31

Did u ever stop to think and then forget to start?


View Profile
« 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:
1
2
3
/*--Categories------------------------------------------------*/
/*--Images----------------------------------------------------*/
/*--Comments--------------------------------------------------*/
These identify the blocks of css code that work with Categories, Images and Comments.


* style_css.gif (30.02 KB - downloaded 9910 times.)
« Last Edit: March 10, 2005, 03:18:57 PM by Chris » Logged

Jan
Administrator
4images Guru
*****
Offline Offline

Posts: 5024

Thank You
-Given: 0
-Receive: 27


View Profile WWW
« Reply #1 on: May 20, 2003, 09:37:18 AM »

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

Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search
Chris
4images Moderator
4images Guru
*****
Offline Offline

Posts: 4487

Thank You
-Given: 0
-Receive: 31

Did u ever stop to think and then forget to start?


View Profile
« 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
1
<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
Logged

spyc
Newbie
*
Offline Offline

Posts: 12

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #3 on: March 04, 2006, 04:06:32 AM »

this was extremly helpful, thank you!
Logged
MaskimXul
Pre-Newbie

Offline Offline

Posts: 2

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #4 on: March 15, 2006, 03:34:16 PM »

This is very helpful, could you possibly update the images that aren't showing?
Logged
Chester
Pre-Newbie

Offline Offline

Posts: 7

Thank You
-Given: 0
-Receive: 0


View Profile
« 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....

* index.php.jpg (137.53 KB - downloaded 1591 times.)
Logged
KurtW
4images Guru
*******
Offline Offline

Posts: 2778

Thank You
-Given: 0
-Receive: 8


View Profile WWW
« 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
Logged

Chester
Pre-Newbie

Offline Offline

Posts: 7

Thank You
-Given: 0
-Receive: 0


View Profile
« 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 » Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.171 seconds with 19 queries.