[SOLVED] CSS funktioniert nicht

Hier bekommst Du deutschsprachigen Support. Keine Fehlermeldungen oder Erweiterungswünsche bitte!
Post Reply
EFabian
Posts: 79
Joined: Sun 26. Mar 2006, 12:57

[SOLVED] CSS funktioniert nicht

Post by EFabian »

Hallo Zusammen,

Ich war schon lange nicht mehr im Forum.

Seit dem Update einer Internetseite von 1.2.8 auf 1.4.2, hat sich das Layout verändert.
Es sieht so aus, als würde das CSS Script nicht mehr greifen.
Ich bin schon total am verzweifeln, weil ich den Fehler nicht finde.

hier die Seite: http://www.cic-systems.de/

nachfolgend der CSS Code:

Code: Select all

/****  CIC.css  ***/

body {
	font-family: Arial, Verdana;
	font-size: 11px;
         background-color: #D8D8D8;
}
a {text-decoration: none;}

/****  "servicebreich" im Head  ***/
.head a:link, .head a:visited, .head a:hover {
	color:#002c5c;
	font-size:18px;
	text-decoration:none;
	font-weight:bold;
}

form, div {
	margin: 0;
	padding: 0;
}

td, th, div, span {
	font-size: 11px;
	margin: 0;
	padding: 0;
}

p{
        text-align: justify;
}

/* alle Links*/

table tr td a:link, a:visited, a:active{
	color: #002c5c;
        font-style: none;
}

.articleLinkInternal{
	margin-bottom: 15px;
	padding: 0;
	display: block;
}

/*********** Text Formatierungen **********/

h1, h2, h3, h4 {
         font-family: Arial, Verdana;
}

/* Ueberschrift */
h1 {
        font-size: 16px;
}

/* Untertitel */
h2 {
         font-size: 12px;
}

/* Ueberschrift (wie h1) */
h3 { 
         font-size: 16px;
}

/* Untertietel */
h4 { 
         font-size: 11px;
}

/*********** Text Formatierungen fuer Editor **********/

/* Ueberschrift */
.h5 {
        font-family: Arial, Verdana;
        font-size: 16px;
		font-weight:bold;
}

/* Untertitel */
.h6 {
        font-family: Arial, Verdana;
        font-size: 12px;
		font-weight:bold;
}

/* Text */
.h7 { 
        font-family: Arial, Verdana;
        font-size: 11px;
}

/* Text fett */
.h8 {
        font-family: Arial, Verdana;
        font-size: 11px;
		font-weight:bold;
}

/* keine Ahnung ??? :) haha!(ksc)*/
.v09 {  font-family: Arial, Verdana; font-size: 10px; }
.v10 {  font-family: Arial, Verdana; font-size: 10px; }
.v11 {  font-family: Arial, Verdana; font-size: 11px; }
.v12 {  font-family: Arial, Verdana; font-size: 12px; }
.v13 {  font-family: Arial, Verdana; font-size: 13px; }
.v14 {  font-family: Arial, Verdana; font-size: 14px; }


/****** Menue links******/

.navigation {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
         font-weight: bold;
	margin: 0;
	padding: 0;}

.navigation ul{
  	margin: 0;
	padding: 0;}

.navigation ul li{
	margin: 0;
	padding:5px 0 5px 20px;
        list-style-type: none;
}

div.navigation ul li.sub_no a{
  color:            #FFFFFF;
  text-decoration: none;
}
div.navigation ul li.sub_no a:hover {
  color:            #CF3939;
  text-decoration: none;
}
div.navigation ul li.sub_no a:active {
  color:            #CF3939;
  text-decoration: none;
}

/* aktiver MenuePunkt */

div.navigation ul li.active a{
color: #CF3939;
}

/* Content */

div.content{color: black;}


/****** Rahmen tabelle ******/

.rahmeno {background-color: #333333;
          color: white;}

.rahmeno a{color: #333333;}

.rahmenu {background-color: #333333;}

.rahmenu table tr td div a{color: white;}

.rahmenl {background-color: #333333;}

.rahmenr {border-right: solid #333333 15px;}

.copy {color: #ffffff;}


/****** Seit Update ******/

.listEntry {
	margin-bottom: 10px;
}

a, a:link, a:visited, a:active, a:focus {
	color: #FF3300;
	text-decoration: none
}
a:hover {
	color: #FF3300;
	text-decoration: underline;
}

.articleText { 
	margin-bottom: 3px;
	text-align: justify;
}

.articleCode {
	margin-bottom: 3px;
	font-family: "Courier New", Courier, monospace;
	font-size: 12px;
}

.articleSummary {
	font-family: Helvetica, Arial, Verdana, sans-serif;
	font-size: 11px;
	color: #000000;
	line-height: 135%;
}

.nav_table, .nav_table a, .nav_table a:link, .nav_table a:active, .nav_table a:visited, .nav_table a:hover {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 10px;
	color: #4A5966;
	font-weight: normal;
	text-decoration: none;
}
.nav_table a:hover {
	text-decoration: underline;
}

.nav_table_active, .nav_table_active a, .nav_table_active a:link, .nav_table_active a:active, .nav_table_active a:visited, .nav_table_active a:hover {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 10px;
	color: #4A5966;
	font-weight: bold;
	text-decoration: none;
}

.articleList_toptext {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 10px;
}

.articleList_listhead {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 11px;
	font-weight: bold;
}


/* CSS for the top level list */
ul.list_top, ul.list_level {
	padding: 3px 0;
	margin-left: 0;
	border-bottom: 1px solid #5E747F;
	font: bold 12px Verdana, sans-serif;
}
ul.list_top li, ul.list_level li {
	list-style: none;
	margin: 0;
	display: inline;
	padding: 0;
}
ul.list_top li a, ul.list_level li a {
	padding: 3px 0.5em;
	margin: 0px;
	border: 1px solid #778;
	border-bottom: none;
	background: #D7DEE5;
	text-decoration: none;
}
ul.list_top li a:link, ul.list_level li a:link { color: #5E747F; }
ul.list_top li a:visited, ul.list_level li a:visited { color: #5E747F; }
ul.list_top li a:hover, ul.list_level li a:hover {
	color: Black;
	background: #92A1AF;;
	border-color: #227;
}
ul.list_top li.active a, ul.list_level li.active a {
	background: white;
	border-bottom: 1px solid white;
}



/** 
 * Sample CSS for DIV pagelayout 
 */
#container {
	width: 760px;
	\width: 780px;
	w\idth: 760px;
	border: 1px solid gray;
	margin: 10px;
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
}

#headerBlock {
	padding: 5px;
	margin-bottom: 5px;
	background-color: rgb(213, 219, 225);
}

#mainBlock {
	padding: 5px;
	margin-left: 215px;
	margin-right: 215px;
	background-color: gray;
}

#leftBlock {
	float: left;
	width: 200px;
	\width: 210px;
	w\idth: 200px;
	margin: 0;
	margin-right: 5px;
	padding: 5px;
	background-color: rgb(235, 235, 235);
}

#rightBlock {
	float: right;
	width: 200px;
	\width: 210px;
	w\idth: 200px;
	margin: 0;
	margin-left: 5px;
	padding: 5px;
	background-color: rgb(235, 235, 235);
}

#footerBlock {
	clear: both;
	padding: 5px;
	margin-top: 5px;
	background-color: rgb(213, 219, 225);
}

.imgDIVinTextLeft {
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
	padding: 0;
}
.imgDIVinTextRight {
	float: right;
	margin-left: 5px;
	margin-bottom: 5px;
	padding: 0;
} 
.imgDIVtopLeft { 
	margin:8px 10px 5px 20px; 
	padding:0px; 
	border:0; 
} 
.imgDIVtopCenter { 
	margin:8px -50% 5px -50%; 
	padding:0px; 
	border:0; 
}

.imgDIVblockImgLeft { 
	margin-right: 10px;
}
.imgDIVblockImgRight {
	margin-left: 10px; 
} 

.phpwcmsImgListRight {
	text-align: right;
	margin: 0;
	padding: 0;
}
.phpwcmsImgListLeft {
	text-align: right;
	margin: 0;
	padding: 0;
}


.phpwcmsSearchResult {
	margin: 15px 0 15px 0;
}
.phpwcmsSearchResult h3 {
	margin: 10px 0 1px 0;
	font-size: 12px;
	font-weight: bold;
}
.phpwcmsSearchResult p {
	margin: 0;
}
.phpwcmsSearchResult em.highlight, em.highlight {
	background-color: #FFFF00;
	font-style:inherit;
}

.phpwcmsArticleListEntry {
	clear: both;
}
.phpwcmsArticleListImage {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
	padding-top: 3px;
}
.phpwcmsArticleListImageCaption {
	padding-top: 5px;
}

div.cpPagination {
	margin: 10px 0 10px 0;
	text-align: right;
}
a.cpPaginate, a.cpPaginateActive, a.cpPaginationPrev, a.cpPaginationNext {
	padding: 0px 3px 1px 3px;
	background-color: #FFFFFF;
	color: #BBBBBB;
	text-decoration: none;
	font-weight: bold;
	border: 1px solid #CBCBCB;
}
a.cpPaginateActive {
	background-color: #CBCBCB;
	color: #FFFFFF;
	border: 1px inset #CBCBCB;
}

a.cpPaginationPrev:hover, a.cpPaginationNext:hover, a.cpPaginate:hover {
	background-color: #DDDDDD;
	color: #666666;
	border: 1px inset #CBCBCB;
}
conf.inc.php

Code: Select all

// site values
$phpwcms['site']              = 'http://www.cic-systems.de/';
$phpwcms['admin_email']       = 'info@cic-systems.de';

// paths
$phpwcms['DOC_ROOT']          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms['root']              = '';
$phpwcms['file_path']         = 'filearchive';
$phpwcms['templates']         = 'template';
$phpwcms['content_path']      = 'content';
$phpwcms['cimage_path']       = 'images';
$phpwcms['ftp_path']          = 'upload';
conf.template_default.inc.php

Code: Select all

$template_default['nav_table_struct']['cell_width']				= '100%';
$template_default['nav_table_struct']['cell_height']			= '15';
$template_default['nav_table_struct']['cell_class']				= 'navigation';
//
$template_default['nav_table_struct']['cell_active_width']		= '100%';
$template_default['nav_table_struct']['cell_active_height']		= '15';
$template_default['nav_table_struct']['cell_active_class']		= 'navigation';
Es wäre super, wenn mir jemand helfen könnte.
Last edited by EFabian on Wed 12. Aug 2009, 14:35, edited 1 time in total.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: CSS funktioniert nicht

Post by flip-flop »

Hi,

du hast keinen Zugriff mehr auf z.B. JS und CSS-Dateien.

Die conf.inc.php hat du abgeglichen mit der dist.conf.inc.php?

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
EFabian
Posts: 79
Joined: Sun 26. Mar 2006, 12:57

Re: CSS funktioniert nicht

Post by EFabian »

Hi,

hab ich schon 3 x Abgeglichen... :-(
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: CSS funktioniert nicht

Post by flip-flop »

Verzeichnisrechte gesetzt?
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
EFabian
Posts: 79
Joined: Sun 26. Mar 2006, 12:57

Re: CSS funktioniert nicht

Post by EFabian »

auch schon 3 x überprüft!

nachfolgend der ganze Code:

Code: Select all

// database values
$phpwcms['db_host']           = 'db120.xxxx.de';
$phpwcms['db_user']           = 'dbo184xxxx';
$phpwcms['db_pass']           = 'xxxxx';
$phpwcms['db_table']          = 'db184xxxxx';
$phpwcms['db_prepend']        = '';
$phpwcms['db_pers']           = 1;
$phpwcms['db_charset']        = 'utf8';
$phpwcms['db_collation']      = 'utf8_general_ci';
$phpwcms['db_version']        = 0;

// site values
$phpwcms['site']              = 'http://www.cic-systems.de/';
$phpwcms['admin_name']        = 
$phpwcms['admin_user']        = 
$phpwcms['admin_pass']        = 
$phpwcms['admin_email']       = 'info@cic-systems.de';

// paths
$phpwcms['DOC_ROOT']          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms['root']              = '';
$phpwcms['file_path']         = 'filearchive';
$phpwcms['templates']         = 'template';
$phpwcms['content_path']      = 'content';
$phpwcms['cimage_path']       = 'images';
$phpwcms['ftp_path']          = 'upload';

// content values
$phpwcms['file_maxsize']      = 52428800; //Bytes (50 x 1024 x 1024)
$phpwcms['content_width']     = 538;      //max width of the article content column - important for rendering multi column images
$phpwcms['img_list_width']    = 100;      //max with of the list thumbnail image
$phpwcms['img_list_height']   = 75;       //max height of the list thumbnail image
$phpwcms['img_prev_width']    = 538;      //max width of the large preview image
$phpwcms['img_prev_height']   = 400;      //max height of the large preview image
$phpwcms['max_time']          = 1800;     //nach wieviel Sekunden soll automatischer logout erfolgen? 1800 Sekunden=30Minuten

// other stuff
$phpwcms['compress_page']     = 0;        //wenn 1 = Seite komprimieren, 0 = Kompresion aus
$phpwcms['imagick']           = 0;        //if 0 = GD, 1 = ImageMagick convert, 2 = ImageMagick 4.2.9
$phpwcms['imagick_path']      = '';       //Path to ImageMagick
$phpwcms['use_gd2']           = 1;        //if 0 = GD1, 1 = GD2
$phpwcms['rewrite_url']       = 0;        //whether URL should be rewritable
$phpwcms['wysiwyg_editor']    = 2;        //0 = no wysiwyg editor, 2 = FCKeditor, 4 = spaw
$phpwcms['phpmyadmin']        = 0;        //enable/disable phpmyadmin in Admin section
$phpwcms['default_lang']      = 'en';     //default language
$phpwcms['DOCTYPE_LANG']      = '';       //by default same as $phpwcms['default_lang'], but can be injected by whatever you like
$phpwcms['allowed_lang']      = array('en', 'de', 'fr', 'es');     //array of allowed languages
$phpwcms['charset']           = 'UTF-8';       //default charset 'UTF-8 - iso-8859-1'
$phpwcms['allow_remote_URL']  = 0;        //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
$phpwcms['gt_mod']            = 0;        //0 = Graphical Text MOD disabled, 1 = enabled
$phpwcms['jpg_quality']       = 85;		  //JPG Quality Range 25-100
$phpwcms['sharpen_level']     = 1;        //Sharpen Level - only ImageMagick: 0, 1, 2, 3, 4, 5 -- 0 = no, 5 = extra sharp
$phpwcms['allow_ext_init']    = 1;        //allow including of custom external scripts at frontend initialization
$phpwcms['allow_ext_render']  = 1;        //allow including of custom external scripts at frontend rendering
$phpwcms['cache_enabled']     = 0;        //cache On/Off - 1 = caching On / 0 = caching Off (default)
$phpwcms['cache_timeout']     = 14400;    //default cache timeout setting in seconds - 0 = caching Off
$phpwcms['imgext_disabled']   = ''; //comma seperated list of imagetypes which should not be handled 'pdf,ps'
$phpwcms['multimedia_ext']    = 'aif,aiff,mov,movie,mp3,mpeg,mpeg4,mpeg2,wav,swf,swc,ram,ra,wma,wmv,avi,au,midi,moov,rm,rpm,mid,midi'; //comma seperated list of file extensiosn allowed for multimedia
$phpwcms['recipient_count']   = 0;
$phpwcms['inline_download']   = 1; //try to open download document in browser window
$phpwcms['form_tracking']     = 1; //make a db entry for each form
$phpwcms['formmailer_set']    = array('allow_send_copy' => 0, 'global_recipient_email' => 'form@localhost'); //for better security handling
$phpwcms['allow_cntPHP_rt']   = 0; //allow PHP replacement tags and includes in content parts
$phpwcms['GETparameterName']  = 'id'; //must have a minimum of 2 chars
$phpwcms['BOTS']			  = array('googlebot', 'msnbot', 'bingbot', 'ia_archiver', 'altavista', 'slurp', 'yahoo', 'jeeves', 'teoma', 'lycos', 'crawler');
$phpwcms['mode_XHTML']        = 1; // Doctype: 1 = XHTML 1.0 Transitional, 0 = HTML 4.01 Transitional, 2 = XHTML 1.0 Strict
$phpwcms['header_XML']        = 0; // Content Type: 1 = application/xhtml+xml, 0 = text/html
$phpwcms['IE_htc_hover']      = 1; // enables HTC Hover for IE < 7 - has no effect in other browsers
$phpwcms['IE_htc_png']        = 1; // enables HTC pngbehavior for IE < 7 - has no effect in other browsers
$phpwcms['timezone_GMT']  	  = '+1';
$phpwcms['Bad_Behavior']      = 1; // enables spam blocking by Bad Behavior
$phpwcms['wysiwyg_template']  = array( 'FCKeditor' => 'phpwcms_basic,phpwcms_default,Default,Basic', 'SPAW2' => 'standard,all,mini' );								   
$phpwcms['GET_pageinfo']      = 0; // will add "&pageinfo=/cat1/cat2/page-title.htm" based on the breadcrumb information for each site link
$phpwcms['version_check']     = 1; // checks for current release of phpwcms online
$phpwcms['SESSION_FEinit']    = 0; // set 1 to enable sessions in frontend, 0 to disable sessions in frontend
$phpwcms['Login_IPcheck']     = 0;
$phpwcms['frontend_edit']	  = 0; // enable content specific direct links - linking direct into the backend
$phpwcms['gd_memcheck_off']   = 0; // disable GD php memory check before resize an image
$phpwcms['enable_chat']		  = 0; // enable or disable chat function, by default it is disabled - not recommend anymore to use it
$phpwcms['enable_messages']	  = 0; // enable or disable internal messags, by default it is disabled - not recommend anymore to use it
$phpwcms['enable_seolog']	  = 1; // enable or disable logging of search engine referrer data
$phpwcms['i18n_parse']	  	  = 1; // enable|disable browser based language parser - all @@Text@@ will be parsed and checked for translation/var based replacement
$phpwcms['i18n_complex']	  = 0; // enable|disable the way browser language setting should be used, false = the easier way (always 2 chars "en"), true - "en-gb"...
$phpwcms['FCK_FileBrowser']   = 0; // enable|disable phpwcms Filebrowser in FCKeditor instead of built-in FCK file bowser support
$phpwcms['JW_FLV_License']    = ''; // insert your JW FLV Media Player License Code here - License warning will no longer displayed
$phpwcms['feuser_regkey']	  = 'FEUSER';
$phpwcms['login.php']	  	  = 'login.php';

// dynamic ssl encryption engine
$phpwcms['site_ssl_mode'] 	  = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms['site_ssl_url'] 	  = ''; //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. 'https://www.yourdomainhere.tld'
$phpwcms['site_ssl_port'] 	  = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'

// smtp values
$phpwcms['SMTP_FROM_EMAIL']   = 'info@cic-systems.de'; // reply/from email address
$phpwcms['SMTP_FROM_NAME']    = 'CIC-Systems'; // reply/from name
$phpwcms['SMTP_HOST']         = 'localhost'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT']         = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER']       = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH']         = 0; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER']         = ''; // default SMTP login (user) name
$phpwcms['SMTP_PASS']         = ''; // default SMTP password

define('PHPWCMS_INCLUDE_CHECK', true);

?>
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: CSS funktioniert nicht

Post by flip-flop »

Ich vermute mal so, das Verzeichnis bzw. die Datei /template/inc_css/CIC.css
gibt es nicht. :roll:
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
EFabian
Posts: 79
Joined: Sun 26. Mar 2006, 12:57

Re: CSS funktioniert nicht

Post by EFabian »

ich wünschte es wäre so!

kann es sein, dass irgendetwas mit den pfadangaben nicht stimmt?
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: CSS funktioniert nicht

Post by flip-flop »

Dann ist das Verzeichnis inc_css oder bestimmte Dateien darin für den Zugriff von außen gesperrt.

Du kannst das doch ganz einfach testen, indem du die css-Datei direkt aufrufst.

Das alles hier hat mit dem CMS nichts zu tun.
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
EFabian
Posts: 79
Joined: Sun 26. Mar 2006, 12:57

Re: CSS funktioniert nicht

Post by EFabian »

DANKE!

wenn ich auf das Verzeichnis inc_css die Rechte 755 setze, dann geht es!

da war 666 gesetzt!
warum auch immer... :evil:

der Mist hat mich 3 Stunden gekostet. :oops:
User avatar
G-Punkt
Posts: 166
Joined: Wed 28. Nov 2007, 16:31
Location: Stadt Creußen
Contact:

Re: CSS funktioniert nicht

Post by G-Punkt »

Überprüfe mal die Rechte der Files und Folders wie hier beschrieben.


Ups, zu spät... :?
Dabei ist der Weg zu meiner Kaffeemaschine gar nicht so weit. Oder doch?
--------------------------------------------------
Tschuldigung, wo finde ich die Suchfunktion?
Post Reply