Quelltext-Geraffel

Hey Liebe Commu,

ich bin am Verzweifeln. Für Joomla habe ich nen neues Template. Aber irgendwie passt der Quellcode nicht wirklich.
Die Style.css hat einträge, die ich im Quelltext des Templates ncht nachvollziehen kann.

Kann mir vielleicht jemand helfen? Ich verzweifle.

Grüße

Zero

index.php:

[code]

<?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"; ?> <?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); // needed to seperate the ISO number from the language file constant _ISO $iso = explode( '=', _ISO ); // xml prolog echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';?> <?php mosShowHead(); ?>
Titles
 
<?php mosLoadModules ( 'mainmenu' ); echo '
'; ?> <?php mosLoadModules ( 'radiomenu' ); echo '
'; ?>
<?php mosLoadModules ( 'newsletter'); echo '
'; ?>
<?php mosLoadModules ( 'topsites' ); echo '
'; ?>
<?php mosLoadModules ( 'sponsoren' ); echo '
'; ?> <?php mosLoadModules ( 'left'); ?>
<?php mosLoadModules ( 'right' ); ?>
  <?php mosMainBody(); ?>  
Footer
 
<?php mosLoadModules ( 'bottom' ); ?>
[/code]

Style.css:

[code]/* CSS Document */

.clr { clear: both; }

blockquote {

font-style: italic;

background-image: url(../images/quoleft.png); 

background-position: 0% 0%;

background-repeat: no-repeat; */

padding-left: 0px;

margin-left: 4em;

}

blockquote div.wbq {

padding: 0px 48px;

background-image: url(../images/quoright.png);

background-position: 100% 100%;

background-repeat: no-repeat;

}

.bulletexplain {

margin-top: 0px;

margin-left: 35px;

margin-right: 20px;

padding-bottom: 0px;

}

#search {

float: right;

border: 1px solid #cccccc;

padding: 0px;

width: 163px !important;

width: 165px;

height: 21px !important;

height: 23px;

overflow: hidden;

}

#search .inputbox {

border: 0px;

padding: 4px 3px 3px 5px !important;

padding: 3px 3px 3px 5px;

font-size: 11px;

height: 17px !important;

height: 19px;

width: 153px !important;

width: 159px;

color: #26508C;

}

.hiddenclick, .hiddenclick img {

cursor: default;

border-style: none;

}

#LoginBox {

position: absolute;

visibility: hidden;

top: 0px;

right: 0px;

border: 1px solid black;

background-color: #ffffff;

width: 200px;

margin: 10px 10px 10px 10px;

padding: 10px 10px 10px 10px;

}

div#codebox {

    width: 500px;

    line-height: 0px;

    padding: 5px;

    border: solid 1px black;

    background-color: #f9fac9;

    font: normal 12px "Courier New", monospace;

    white-space: nowrap;

    overflow: auto;

    margin: 0px !important;

}

.showcode {

font-family: Courier, monospace;

font-size: 90%;

border: 1px solid black;

width: 95%;

padding: 5px 5px 5px 5px;

/* display: block; */

background-color: #ffcfaa;

overflow: auto;

}

.maintitle {

color: #ffffff;

font-size: 40px;

padding-left: 15px;

padding-top: 20px;

}

.error {

font-style: italic;

text-transform: uppercase;

padding: 5px;

color: #cccccc;

font-size: 14px;

font-weight: bold;

}

/* tables */

.techlist { border: 1px solid gray; margin-left: 10px; }

.techlist th {

font-weight: bold; 

background-color: #4882a1; 

font-size: 12px; 

color: #ffffff; 

text-align: left; 

}

.techlist td {

font-size: 12px; 

padding-left: 5px; 

padding-right: 5px; 

border-bottom: 0.5px inset gray; 

border-right: 1px inset gray; 

}

/* basic elements */

h1, h2, h3, h4 { color: #ff7000; }

h2 { font-size: 18px; margin-bottom: 3px; font-weight: normal; }

h3 { font-size: 16px; margin-bottom: 3px; font-weight: normal; }

h4 { font-size: 14px; margin-bottom: 3px; font-weight: normal; }

/** old stuff **/

.back_button {

float: left;

font-size: 11px;

font-weight: bold;

margin-top: 15px;

margin-bottom: 10px;

border: 0px solid #cccccc;

width: 60px !important;

width: 80px;

padding: 4px;

}

.pagenav {

text-align: center;

font-size: 11px;

font-weight: bold;

/*border: 1px solid #cccccc;*/

width: auto;

}

.pagenavbar { margin-top: 20px; padding-right: 5px; float: right; }

#footer {

text-align: center;

padding: 3px;

}

ul { margin: 0px; padding: 0px; list-style: none; }

li {

line-height: 1.5em;

padding-left: 20px;

padding-right: 5px;

padding-top: 0px;

background-image: url(../images/arrow_right.gif) ;

background-repeat: no-repeat;

background-position: 0px 3px;

}

td {}

html, body {

font-family: Verdana,Arial, Helvetica, sans-serif;

font-size: 90%;

line-height: 1.45em !important;

height:100%;

}

/* mambo core stuff */

a:link, a:visited { color: #000; text-decoration: none; }

a:hover { color: #ff7000; }

.readon {}

a.readon:link, a.readon:hover, a.readon:visited { font-size: 10px; }

.blog { font-size: 12px; }

table.contentpaneopen { width: 95%; display: block; }

table.contentpaneopen td {}

table.contentpane td {}

table.contentpane {}

table.contentpane td.contentheading {}

table.contentpaneopen a { border-bottom: 1px dotted #ff7000; }

.button {

height: 17px;

border:solid 1px #ffffff;

background-color: #FF8920;

padding-left: 5px;

padding-right: 5px;

color: #ffffff;

text-align: center;

font-size: 10px;

font-weight: bold;

margin-bottom: 3px;

margin-top: 3px;

}

.inputbox {

border:solid 1px #000;

font-size: 11px;

background-color: #ffffff;

}

.componentheading {

font: bold 34px Arial, Helvetica, sans-serif;

text-decoration: none;

color: #8c3d00;

}

.contentcolumn { padding-right: 5px; }

.contentheading {

color: #ff7000;

text-align: left;

font-weight: bold;

font-size: 24px;

}

.contentpagetitle, a.contentpagetitle {

font: bold 100% Arial, Helvetica, sans-serif;

text-decoration: none;

color: #ff7000;

text-align:left;

margin-bottom: 0px;

_margin-bottom: 0px;

width: 100%;

display: block;

border: none !important;

}

a.contentpagetitle:hover { color: #ff3000; }

table.searchinto { width: 100%; }

table.searchintro td { font-weight: bold; }

table.moduletable { width: 100%; }

table.moduletable th {

display: block;

vertical-align: middle;

color: #ff7000;

text-align: left;

font-weight: bold;

}

table.moduletable td { }

#other_bits table.moduletable td, th { padding-left: 15px; padding-right: 5px; }

#other_bits table.moduletable th { padding-top: 10px; }

table.pollstableborder td { padding: 2px; }

.sectiontableheader {

font-weight: bold;

background: #f0f0f0;

padding: 4px;

font-size: 11px;

}

.sectiontablefooter {}

.sectiontableentry1 { background: #fec64d; font-size: 10px; color: #000000; }

.sectiontableentry2 { font-size: 10px; color: #000000; }

.sectiontableentry1 tr { margin-top: 10px; }

.category { margin-top: 10px; font-size: 12px; font-weight: bold; }

.small {

color: #454646;

font-size: 10px;

font-weight: normal;

padding-top: 10px;

}

.createdate {

color: #454646;

font-size: 10px;

font-weight: normal;

}

.modifydate {

color: #454646;

font-size: 10px;

font-weight: normal;

padding-bottom: 10px;

padding-top: 10px;

}

table.contenttoc {

border: 1px solid #cccccc;

padding: 2px;

margin-left: 2px;

margin-bottom: 2px;

margin-top: 25px;

}

table.contenttoc th {

background: url(../images/subhead_bg.png) repeat-x;

color: #666666;

text-align: center;

padding-top: 2px;

padding-left: 4px;

height: 21px;

font-weight: bold;

font-size: 10px;

text-transform: uppercase;

border-bottom: 1px solid #cccccc;

}

.toclink { border: none !important; font-size: 10px; }

a.mainlevel:link, a.mainlevel:visited, .mainlevel {

font-size: 11px;

padding-left: 15px; 

padding-top: 3px;

height: 19px;

font-weight: bold;

display: block;

background-image: url(../images/menuoff.jpg);

background-repeat: no-repeat; 

color: #ffffff; 

text-decoration: none;

}

a.mainlevel:hover, #active_menu.mainlevel {

text-decoration: none;

color: #ffffff;

text-align: left;

padding-left: 25px; 

background-image: url(../images/menuon.jpg);

background-repeat: no-repeat;

}

a.sublevel:link, a.sublevel:visited, #active_menu.sublevel {

padding-left: 1px;

vertical-align: middle;

font-size: 11px;

font-weight: bold;

color: #26508C;

text-align: left;

}

a.sublevel:hover { color: #052E60; text-decoration: none; }

a.pathway:link, a.pathway:visited, .pathway {

font-size: 10px;

font-weight: bold;

color: #000;

padding-left: 0px;

}

a.pathway:hover {

font-size: 10px;

font-weight: bold;

color: #000;

padding-left: 0px;

}

.date { font-size: 10px; font-weight: normal; color: #ffffff; }

.highlight {

background-color: Yellow;

color: Blue;

padding: 0px 2px 0px 2px;

}

.code {

background-color: #ddd;

border: 1px solid #bbb;

}

.searcharea

{

background-image: url("../images/search.jpg");

}

.syndicate div {

position: relative; 

float: left; 

width: 30%; 

display: block; 

list-style: none; 

margin-bottom: 10px;

}

.newsfeed ul {

font-size: 10px;

}

.newsfeed li {

width: 140px;

font-size: 10px;

overflow: hidden;

margin-top: 10px;

}

[/code]

Ja - und?

Was willst du jetzt konkret von uns?

Nachhilfe?

Ich würde gerne mal wissen, wofür welcher Eintrag ist und wo er ind er index.php steht?

Gute Informationsseiten bzgl. CSS findest du im WWW.

Zunaechst mal waere dafuer ausschliesslich der HTML-Code interessant, und nicht das PHP-Script.

Und dann, wie kommst du eigentlich auf die Idee, dass alle Formatierungen sich auf die Indexseite auswirken muessten?

# = ID
. = CLASS
*, html, table, u.s.w. = So wie es im Quelltext steht

Einfach mal selber nachschauen. !coffee