Seite 1 von 2

Tabellen Farbe

Verfasst: 20.01.2005 14:28
von 1860|4ever
Hab nomal nen kleines problem und zwar hab ich schon überall gesucht wie ich die äußere Tabllenefarbe ändern kann habs aber nich gefunden hier der link zum Forum des weiße meine ich dann sieht mans genau:

http://ifsim.if.funpic.de/phpBB2/index.php

Verfasst: 20.01.2005 14:46
von Jadawin
sers,

also wenn du das viel weiße da meinst dann würd ich dir vorschlagen die Background color zu ändern entweder im admin bereicht unter syles und themen /bearbeiten oder in der .css unter general page style
background-color: #0033cc;

so denn viel spaß

evtl kannst du mir ja helfen weist du wie man die tabellen der foren abwechselnd rot blau machen kann??

Verfasst: 20.01.2005 14:51
von 1860|4ever
nee sry weiß ich leider au nich aber schau mal des hier steht in der css bei general page style:

/* General page style */
a:link,a:active,a:visited,a.postlink{color:#ffffff;text-decoration:none}
a:hover{color:#ffffff}

Verfasst: 20.01.2005 15:00
von Jadawin
hm was hast denn für n style???

also bei subsilver is es unter /phpBB2/templates/subsilver die subsilver.css und ganz am anfag steht das hier


/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
background-color: #0033cc;
scrollbar-face-color: #a9a9a9;
scrollbar-highlight-color: #000000
scrollbar-shadow-color: #DEE3E7;
scrollbar-3dlight-color: #D1D7DC;
scrollbar-arrow-color: #0033CC;
scrollbar-track-color: #a9a9a9;
scrollbar-darkshadow-color: #000000;
}


und das müsstest du eigentlich nur die erste zeile backround-color austauschen gegen deine

Verfasst: 20.01.2005 15:02
von 1860|4ever
bei mir war der fishsubsilver mit drauf

des is in meiner css drinnen:

/* Based on the original Style Sheet for the fisubsilver v2 Theme for phpBB version 2+
Edited by Daz - http://www.forumimages.com - last updated 26-06-03 */

/* The content of the posts (body of text) */
body{background:#0000CD;color:#ffffff;font:12px Verdana,Arial,Helvetica,sans-serif;margin:6px;padding:0;
scrollbar-3dlight-color:#d1d7dc;
scrollbar-arrow-color:#006699;
scrollbar-darkshadow-color:#98aab1;
scrollbar-face-color:#dee3e7;
scrollbar-highlight-color:#ffffff;
scrollbar-shadow-color:#dee3e7;
scrollbar-track-color:#efefef}

/* General font families for common tags */
font,th,td,p{font:12px Verdana,Arial,Helvetica,sans-serif}

/* General text */
.gensmall{font-size:10px}
td.genmed,.genmed{font-size:11px}
.explaintitle{font-size:11px;font-weight:bold;color:#5c81b1}

/* General page style */
a:link,a:active,a:visited,a.postlink{color:#ffffff;text-decoration:none}
a:hover{color:#ffffff}

/* titles for the topics:could specify viewed link colour too */
.topictitle{font-size:11px;font-weight:bold}
a.topictitle:visited{color:#ffffff}
a.topictitle:hover{color:#ffffff}

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name{font-size:11px;font-weight: bold}

hr{border: 0px solid #ffffff;border-top-width:1px;height:0px}

/* Category gradients*/
td.cat{font-weight:bold;letter-spacing:1px;background:#0000CD url(images/cellpic1.gif);
height:29px;text-indent:4px}

/* Main table cell colours and backgrounds */
.row1{background:#0000FF }
.row2,.helpline{background:#0000FF }
.row3{background:#0000FF }
td.spacerow{background:#0000CD}

/* This is for the table cell above the Topics,Post & Last posts on the index.php */
td.rowpic{background:url(images/cellpic2.jpg) #0000CD repeat-y}

/* Table Header cells */
th{background:#0000CD url(images/cellpic3.gif);color:#ffffff;font-size:11px;
font-weight:bold;height:27px;white-space:nowrap;text-align:center;padding-left:8px;padding-right:8px}

/* This is the border line & background colour round the entire page */
.bodyline{background:#ffffff;border:1px solid #98aab1}

/* This is the outline round the main forum tables */
.forumline{background:#ffffff;border:1px solid #006699}

/* The largest text used in the index page title and toptic title etc. */
.maintitle,h1{
font:bold 20px/120% "Trebuchet MS",Verdana,Arial,Helvetica,sans-serif;text-decoration:none;color:#ffffff}

.subtitle,h2{font:bold 18px/180% "Trebuchet MS",Verdana,Arial,Helvetica,sans-serif;
text-decoration:none}

/* Used for the navigation text,(Page 1,2,3 etc) and the navigation bar when in a forum */
.nav{font-size:11px;font-weight:bold}
.postbody{font-size:12px;line-height:125%}

/* Location,number of posts,post date etc */
.postdetails{font-size:10px;color:#00396a}

/* Quote blocks */
.quote{background:#fafafa;border:1px solid #d1d7dc;color:#444444;
font-size:11px;line-height:125%}

/* Code blocks */
.code{background:#fafafa;border:1px solid #d1d7dc;color:#006600;
font:12px Courier,"Courier New",sans-serif;padding:5px}

/* This is for the error messages that pop up */
.errorline{background:#add8e6;border:1px solid #006699}

/* Form elements */
form{display:inline}

input{font:11px Verdana,Arial,Helvetica,sans-serif}

select{background:#0000CD;font:11px Verdana,Arial,Helvetica,sans-serif}

input.post,textarea.post{background:#0000CD;border:1px solid #ffffff;
font:11px Verdana,Arial,Helvetica,sans-serif;padding-bottom:2px;padding-left:2px}

input.button,input.liteoption,.fakebut{border:1px solid #000000;background:#fafafa;font-size:11px}
input.catbutton{border:1px solid #000000;background:#fafafa;font-size:10px}
input.mainoption{border:1px solid #000000;background:#fafafa;font-size:11px;font-weight:bold}

a.but,a.but:hover,a.but:visited{color:#000000;text-decoration:none}

/* This is the line in the posting page which shows the rollover
help line. Colour value in row2 */
.helpline{border:0 solid;font-size:10px}

/* This is the gradient background at the top of the page */
.topbkg{background: #0000CD url(images/cellpic_bkg.jpg) repeat-x}
.topnav{font-size:10px;background: #e5ebf3 url(images/cellpic_nav.gif) repeat-x;color:#dd6900;
height:21px;white-space:nowrap;border: 0px solid #91a0ae;border-width: 1px 0px 1px 0px}

/* Admin & Moderator Colours MODification */
.admin,.mod{font-size:11px;font-weight:bold}
.admin,a.admin,a.admin:visited{color:#ffa34f}
.mod,a.mod,a.mod:visited{color:#006600}
a.admin:hover,a.mod:hover{color:#dd6900}

/* Specify the space around images */
.imgtopic,.imgicon{margin-left:3px}
.imgspace{margin-left:1px;margin-right:2px}
.imgfolder{margin:1px 4px 1px 4px}

/* Gets rid of the need for border="0" on hyperlinked images */
img{border:0 solid}

.table1 {
BORDER-RIGHT: #000000 1px dashed;
BORDER-TOP: #000000 1px dashed;
FONT-SIZE: 11px;
BORDER-LEFT: #000000 1px dashed;
COLOR: #000000;
LINE-HEIGHT: 125%;
BORDER-BOTTOM: #000000 1px dashed;
FONT-FAMILY: Verdana, Arial;
BACKGROUND-COLOR: # 0000CD
}

/* Background images for tables */
.tbl{border-collapse:collapse;height:4px;width:100%}
.tbll{background: url(images/tb4_l.gif) no-repeat;width:8px}
.tblbot{background: url(images/tb4_m.gif) repeat-x;width:100%}
.tblr{background: url(images/tb4_r.gif) no-repeat;width:8px}

.imgfade{filter:alpha(opacity=50); -moz-opacity:0.5;margin-left:3px}
.imgfull{filter:alpha(opacity=100); -moz-opacity:1;margin-left:3px}

/*-- mod : profile cp --*/
.admincolor, a.admincolor, a.admincolor:link, a.admincolor:active, a.admincolor:visited {
color: #ffa34f;
font-weight: bold;
}
a.admincolor:hover {
color: {T_BODY_HLINK};
text-decoration: underline;
}

.lessadmincolor, a.lessadmincolor, a.lessadmincolor:link, a.lessadmincolor:active, a.lessadmincolor:visited {
color: #fc010d;
font-weight: bold;
}
a.lessadmincolor:hover {
color: {T_BODY_HLINK};
text-decoration: underline;
}

.modcolor, a.modcolor, a.modcolor:link, a.modcolor:active, a.modcolor:visited {
color: #006600;
font-weight: bold;
}
a.modcolor:hover {
color: {T_BODY_HLINK};
text-decoration: underline;
}

.usercolor, a.usercolor, a.usercolor:link, a.usercolor:active, a.usercolor:visited {
color : {T_BODY_LINK};
}
a.usercolor:hover {
color: {T_BODY_HLINK};
text-decoration: underline;
}
/*-- fin mod : profile cp --*/

/* Code blocks */
.codetitle{background: #cdd6de;border:1px solid #9ca9b4;padding:5px;width:90%;font-weight:bold; text-align:left;
margin-top:10px}
.codediv{background:#fafafa;border: 1px solid #9ca9b4;color:#006600;border-top:0;
font:12px Courier,"Courier New",sans-serif;padding:5px;overflow:auto;width:90%;height:50px;text-align:left}

Verfasst: 20.01.2005 15:18
von Jadawin
schon ausprobiert was passiert wenn du die zeile reinschreibst ???

finde in deiner css jetzt auf die schnelle auch nicht den richtigen eintrag bin au no net so fit

Verfasst: 20.01.2005 15:19
von 1860|4ever
ok ich proboers mal

Verfasst: 20.01.2005 15:24
von 1860|4ever
Nee hat leider nich gefunzt

Verfasst: 20.01.2005 16:21
von Amdosh
a) Grosse Codeteile nur als Link zur Verfügung stellen, dass lange runterscrollen bei solchen (unnützen) Codeteilen stört nur.

b) Deine css-Datei ist aktiviert, wie es in diesen Artikel steht.

c) Du verwendest ein phpbb Plus Board, dafür wäre www.phpbb2.de das Supportboard.

d) In deiner overall_header.tpl ist die oberste Zeile ein xml-Block, die gehört eigentlich überhaupt nicht in die Datei rein.

Code: Alles auswählen

<?xml version="1.0" encoding="{S_CONTENT_ENCODING}"?>
Oder ein ähnlicher Effekt ruft das hervor, wie heisst die Datei bei dir im Templateordner und was sind die obersten 4 Zeilen ?

Grüsse Amdosh

Verfasst: 20.01.2005 16:28
von 1860|4ever
Also falls du bei der Zeile

<?xml version="1.0" encoding="{S_CONTENT_ENCODING}"?>

meinst die wäre in der header_overall.tpl is das falsch der auszug oben is aus der css datei und was meinst du damit das meine CSS datei aktiviert ist sry bin neu auf phpbb boards!