Hej, da rade ktoś ustawić aby obrazek tła był wyśrodkowany i był na samej gorze forum zawsze?
Oraz żeby belki działów forum miały wysokość 73 pixeli, nazwa grafiki belki to cellpic3.
O to kod: To są jakieś 3 kody ale nie wiem gdzie i jak :( Będę bardzo wdzięczny.
body {
background-color: #101010;
scrollbar-face-color: #101010;
scrollbar-highlight-color: #101010;
scrollbar-shadow-color: #101010;
scrollbar-3dlight-color: #101010;
scrollbar-arrow-color: #101010;
scrollbar-track-color: #101010;
scrollbar-darkshadow-color: #101010;
background-image: url(images/tlo.png);
background-repeat: repeat-y repeat-x;
background-attachment: fixed;
margin: 0px;
}
/* General font families for common tags */
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif }
a:link,a:active,a:visited { color : #FF0178; }
p, td { font-size : 10px; color : #EAEAEA; }
a:hover { text-decoration: none; color : #902D9F; }
hr { height: 0px; border: solid #101010 0px; border-top-width: 0px; }
/* This is the border line & background colour round the entire page */
.bodyline { background-color: #1E1E1E; background-image: url(images/head/tlo.png); border: 2px #101010 solid;
/* This is the outline round the main forum tables */
.forumline { background-color: #101010; border: solid #101010 0px; border-top-width: 0px; }
.topline { background-color: #101010 border: 6px #28FF01 solid; }
/* Main table cell colours and backgrounds */
td.row1 { background-color: #101010 }
td.row2 { background-color: #101010; }
td.row3 { background-color: #101010 }
td.row_helped { background-color: #101010; }
/*
This is for the table cell above the Topics, Post & Last posts on the index.php page
By default this is the fading out gradiated silver background.
However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
background-color: #C9C9C9;
background-image: url('images/cellpic3.gif');
background-repeat: repeat-y; height: 30px;
}
/* Header cells - the blue and silver gradient backgrounds */
th {
color: #FFFFFF; font-size: 10px; font-weight: bold;
background-color: #9920AB; height: 30px;
background-image: url(images/cellpic3.gif);
}
td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
background-image: url(images/cellpic3.gif);
background-color:#D1D7DC; border: #FFFFFF; border-style: solid; height: 30px;
}
/*
Setting additional nice inner borders for the main table cells.
The names indicate which sides the border will be on.
Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom { background-color: #FFFFFF; background-image: url('images/cellpic3.gif'); height: 30px; }
th.thHead,th.thSides,th.thLeft,th.thRight,th.thBottom {
font-weight: bold; border: #FFFFFF; height: 30px;
}
th.thCornerL,th.thTop,th.thCornerR {color: #FFFFFF; font-size: 70%; font-weight: bold; background-color: #9920AB; background-image: url('images/cellpic3.gif'); height: 30px; }
td.row3Right,td.spaceRow { background-color: #1F1919; border: #FFFFFF; border-style: solid; }
th.thHead,td.catHead { font-size: 10px; border-width: 0px; }
th.thSides,td.catSides,td.spaceRow { border-width: 0px; }
th.thRight,td.catRight,td.row3Right { border-width: 0px; }
th.thLeft,td.catLeft { border-width: 0px; }
th.thBottom,td.catBottom { border-width: 0px; }
th.thTop { border-width: 0px; }
th.thCornerL { border-width: 0px; }
th.thCornerR { border-width: 0px; }
/* The largest text used in the index page title and toptic title etc. */
.maintitle {
font-weight: bold; font-size: 10px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
text-decoration: none; line-height : 100%; color : #EAEAEA;
}
/* General text */
.gun { color : #EAEAEA; font-style: italic; }
.gen { font-size : 10px; }
.genmed { font-size : 10px; }
.gensmall { font-size : 10px; }
.gen,.genmed,.gensmall { color : #EAEAEA; }
a.gen,a.genmed,a.gensmall { color: #9920AB; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #902D9F; text-decoration: none; }
/* The register, login, search etc links at the top of the page */
.mainmenu { font-size : 10px; color : #9920AB; }
a.mainmenu { text-decoration: none; color : #9920AB; }
a.mainmenu:hover { text-decoration: none; color : #902D9F; }
.menu { font-size : 10px; color : #9920AB; }
a.menu { text-decoration: none; color : #9920AB; }
a.menu:hover { text-decoration: none; color : #902D9F; }
/* Forum category titles */
.cattitle { font-weight: bold; font-size: 10px ; letter-spacing: 1px; color : #FFFFFF}
a.cattitle { text-decoration: none; color : #FFFFFF; }
a.cattitle:hover { text-decoration: none; }
/* Forum title: Text and link to the forums used in: index.php */
.forumlink { font-weight: bold; font-size: 10px; color : #9920AB; }
a.forumlink { text-decoration: none; color : #9920AB; }
a.forumlink:hover { text-decoration: none; color : #902D9F; }
/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav { font-weight: bold; font-size: 10px; color : #EAEAEA;}
a.nav { text-decoration: none; color : #EAEAEA; }
a.nav:hover { text-decoration: none; }
/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2 { font-weight: bold; font-size: 10px; color : #EAEAEA; }
a.topictitle:link { text-decoration: none; color : #9920AB; }
a.topictitle:visited { text-decoration: none; color : #9920AB; }
a.topictitle:hover { text-decoration: none; color : #902D9F; }
/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name { font-size : 10px; color : #EAEAEA; text-decoration: none}
/* Location, number of posts, post date etc */
.postdetails { font-size : 10px; color : #EAEAEA; }
/* The content of the posts (body of text) */
.postbody { font-size : 10px; line-height: 18px }
a.postlink:link { text-decoration: none; color : #9920AB }
a.postlink:visited { text-decoration: none; color : #9920AB; }
a.postlink:hover { text-decoration: none; color : #902D9F }
/* Quote & Code blocks */
.code {
font-family: Courier, 'Courier New', sans-serif; font-size: 10px; color: #EAEAEA;
background-color: #1F1B1B; border: #D1D7DC; border-style: solid;
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px;
}
.quote {
font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #EAEAEA; line-height: 125%;
background-color: #1F1B1B; border: #D1D7DC; border-style: solid;
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px;
}
/* Copyright and bottom info */
.copyright { font-size : 10px; color: #EAEAEA; font-family: Verdana, Arial, Helvetica, sans-serif; }
a.copyright { text-decoration: none; color : #902D9F; }
a.copyright:hover { text-decoration: none; color : #902D9F; }
/* Form elements */
form { margin: 0; }
form { display: inline; }
input,textarea, select {
color : #EAEAEA;
font: normal 10px Verdana, Arial, Helvetica, sans-serif;
}
/* The text input fields background colour */
input.post, textarea.post, select { background-color : #1F1B1B; border: 1px #101010 solid; }
input.post2, textarea.post2, select { background-color : #1F1B1B; border: 1px #101010 solid; }
input { text-indent : 2px; }
/* The buttons used for bbCode styling in message post */
input.button {
background-color : #1F1B1B;
color : #EAEAEA;
font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif;
cursor: pointer;
}
/* The main submit button option */
input.mainoption {
background-color: #1F1B1B;
color : #EAEAEA;
font-weight: bold;
cursor: pointer;
}
/* None-bold submit button */
input.liteoption {
background-color: #1F1B1B;
color : #EAEAEA;
font-weight: normal;
cursor: pointer;
}
/* This is the line in the posting page which shows the rollover
help line. This is actually a text box, but if set to be the same
colour as the background no one will know ;)
*/
.helpline { background-color: #1F1B1B; border-style: none; }
/* Highlight bad words for moderators instead of censoring them */
span.badwordhighlight { background-color: #FFFF00; }
.topbkg { background: #dbe3ee url(images/cellpic_bkg.jpg) repeat-x }
.topnav { font-size:10px;background: #e5ebf3 url(images/cellpic_nav.gif) repeat-x;color:#902D9F; height: 30px; white-space: nowrap; text-align: center; border: 0px solid #91a0ae; border-width: 1px 0 1px 0 }
.pm { font-size: 10px; text-decoration: none; color: #FF0000 }
.table0
{
background-color : #008282;
border-bottom-color : #101010;
border-bottom-style : solid;
border-bottom-width : 0;
border-left-color : #101010;
border-left-style : solid;
border-left-width : 0px;
border-right-color : #dedede;
border-right-style : solid;
border-right-width : 0px;
border-top-color : #101010;
border-top-style : solid;
border-top-width : 1px;
color : #EAEAEA;
font-size : 10px;
}
.pagination {
color: #666;
font-size: 10px;
font-weight: bold;
padding: 3px;
padding-bottom: 4px;
cursor: pointer;
text-decoration: none;
}
.pagination a, .pagination a:visited, .pagination a:active {
background-color: #EAEBEB;
color: #000;
border-color: #D4D7DA;
border: #D4D7DA 1px solid;
padding: 1px;
text-decoration: none;
}
.pagination a:hover {
background-color: #101010;
color: #666;
border-color: #EAECEF;
border: #EAECEF 1px solid;
text-decoration: none;
padding: 1px;
}