subsilver2 zmiana wyświetlania
subsilver2 zmiana wyświetlania
Witam! Pomogliście mi już ze zmianą sposobu wyświetlania stylu prosilver tak by nie zajmował całego ekranu a jedynie 80% [tak jak na tej stronie] jednak wskazane rozwiązanie nie działa dla stylów opartych o subsilver2 a taki własnie sobie upatrzyłem. Stąd moje pytanie jak osiągnąć taki efekt przy tego typu stylach?
Re: subsilver2 zmiana wyświetlania
Zobacz czy ten post viewtopic.php?p=29821#p29821 Ci pomoże.
Re: subsilver2 zmiana wyświetlania
no niestety... nie udało mi się osiągnąć celu. mam plik stylesheet.css który wygląda tak:
dodałem te linijki do niego:
w ten sposób:
i tym sposobem forum mi sie zwezilo ale zostalo przykute do lewej strony ekranu, a chcialbym je wyposrodkowac... Poza tym odnosze wrazenie, że chyba za bardzo się zwęziło... Jakie parametry ustawić by było szersze?
Co i gdzie musze dodac zeby to gralo.
Kod: Zaznacz cały
/* phpBB 3.0 Style Sheet
--------------------------------------------------------------
Style name: subsilver2
Based on style: subSilver (the default phpBB 2 style)
Original author: subBlue ( http://www.subBlue.com/ )
Modified by: psoTFX and the phpBB team ( http://www.phpbb.com )
This is an alternative style for phpBB3 for those wishing to stay with
the familiar subSilver style of phpBB version 2.x
Copyright 2006 phpBB Group ( http://www.phpbb.com/ )
--------------------------------------------------------------
*/
/* Layout
------------ */
* {
/* Reset browsers default margin, padding and font sizes */
margin: 0;
padding: 0;
}
html {
font-size: 100%;
}
body {
/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
color: #385675;
background-color: #ffffff;
font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */
margin: 0;
margin-left: 20px;
margin-right: 20px;
}
#wrap {
padding: 0 20px;
width: x;
margin: 0 auto;
min-width: 650px;
}
#wrapheader {
min-height: 94px;
height: auto !important;
height: 94px;
margin: 0;
}
#wrapcentre {
margin: 0px 0px 0px 0px;
}
#wrapfooter {
text-align: center;
clear: both;
}
#wrapnav {
width: 100%;
background-color: #f1f1f1;
}
#logodesc {
background-color: #172635;
height: 100%;
}
#menubar {
}
#datebar {
margin: 10px 25px 0 25px;
}
#findbar {
width: 100%;
margin: 0;
padding: 0;
border: 0;
}
.forumrules {
background-color: #F9CC79;
border-width: 1px;
border-style: solid;
border-color: #BB9860;
padding: 4px;
font-weight: normal;
font-size: 1.1em;
font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
#pageheader { }
#pagecontent { }
#pagefooter { }
#poll { }
#postrow { }
#postdata { }
/* Text
--------------------- */
h1 {
color: black;
font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
font-weight: bold;
font-size: 1.8em;
text-decoration: none;
}
h2 {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 1.5em;
text-decoration: none;
line-height: 120%;
}
h3 {
font-size: 1.3em;
font-weight: bold;
font-family: Arial, Helvetica, sans-serif;
line-height: 120%;
}
h4 {
margin: 0;
font-size: 1.1em;
font-weight: bold;
}
p {
font-size: 1.1em;
}
p.moderators {
margin: 0;
float: left;
color: black;
font-weight: bold;
}
.rtl p.moderators {
float: right;
}
p.linkmcp {
margin: 0;
float: right;
white-space: nowrap;
}
.rtl p.linkmcp {
float: left;
}
p.breadcrumbs {
margin: 0;
float: left;
color: black;
font-weight: bold;
white-space: normal;
font-size: 1em;
}
.rtl p.breadcrumbs {
float: right;
}
p.datetime {
margin: 0;
float: right;
white-space: nowrap;
font-size: 1em;
}
.rtl p.datetime {
float: left;
}
p.searchbar {
padding: 2px 0;
white-space: nowrap;
}
p.searchbarreg {
margin: 0;
float: right;
white-space: nowrap;
}
.rtl p.searchbarreg {
float: left;
}
p.forumdesc {
padding-bottom: 4px;
}
p.topicauthor {
margin: 1px 0;
}
p.topicdetails {
margin: 1px 0;
}
.postreported, .postreported a:visited, .postreported a:hover, .postreported a:link, .postreported a:active {
margin: 1px 0;
color: red;
font-weight:bold;
}
.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active {
color: green;
font-weight:bold;
}
.postapprove img, .postreported img {
vertical-align: bottom;
}
.postauthor {
color: #000000;
}
.postdetails {
color: #000000;
}
.postbody {
font-size: 1.3em;
line-height: 1.4em;
font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
}
.postbody li, ol, ul {
margin: 0 0 0 1.5em;
}
.rtl .postbody li, .rtl ol, .rtl ul {
margin: 0 1.5em 0 0;
}
.posthilit {
background-color: yellow;
}
.nav {
margin: 0;
color: black;
font-weight: bold;
}
.pagination {
padding: 4px;
color: black;
font-size: 1em;
font-weight: bold;
}
.cattitle {
}
.gen {
margin: 1px 1px;
font-size: 1.2em;
}
.genmed {
margin: 1px 1px;
font-size: 1.1em;
}
.gensmall {
margin: 1px 1px;
font-size: 1em;
}
.copyright {
color: #888aa0;
font-weight: normal;
font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
.titles {
font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
font-weight: bold;
font-size: 1.3em;
text-decoration: none;
}
.error {
color: red;
}
/* Tables
------------ */
th {
color: #ffffff;
font-size: 1.1em;
font-weight: bold;
background-color: #f3f3f3;
height: 30px;
background-image: url('./images/cellpic3.gif');
white-space: nowrap;
padding: 7px 5px;
}
td {
padding: 2px;
}
td.profile {
padding: 4px;
}
.tablebg {
background-color: #879098;
}
.cornerbg {
background-color: #ffffff;
}
.catdiv {
height: 35px;
margin: 0;
padding: 0;
border: 0;
background-image: url('./images/cellpic1.gif');
}
.rtl .catdiv {
background-image: url('./images/cellpic1.gif');
}
.cat {
height: 35px;
margin: 0;
padding: 0;
border: 0;
background-color: #f3f3f3;
background-image: url('./images/cellpic1.gif');
text-indent: 4px;
}
.cat2 {
height: 30px;
margin: 0;
padding: 0;
border: 0;
background-color: #f3f3f3;
background-image: url('./images/cellpic1.gif');
}
.row1 {
background-color: #f1f1f1;
padding: 4px;
}
.row2 {
background-color: #d5dce1;
padding: 4px;
}
.row3 {
background-color: #C0C8D0;
padding: 4px;
}
.spacer {
background-color: #d5dce1;
}
hr {
height: 1px;
border-width: 0;
background-color: #D1D7DC;
color: #D1D7DC;
}
.legend {
text-align:center;
margin: 0 auto;
}
.roundcont {
width: 100%;
background-color: #172635;
}
.roundcont p {
margin: 0 10px;
}
.roundtop {
background: url('images/crr.gif') no-repeat top right;
background-color: #172635;
}
.roundbottom {
background: url('images/crr2.gif') no-repeat top right;
background-color: #172635;
}
img.corner {
width: 25px;
height: 25px;
border: none;
display: block !important;
}
/* Links
------------ */
a:link {
color: #3e6689;
text-decoration: none;
}
a:active,
a:visited {
color: #3e6689;
text-decoration: none;
}
a:hover {
color: #6a8aa6;
text-decoration: underline;
}
a.forumlink {
color: #020e18;
font-weight: bold;
font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
font-size: 1.2em;
}
a.topictitle {
margin: 1px 0;
font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
font-weight: bold;
font-size: 1.2em;
}
a.topictitle:visited {
color: #697d87;
text-decoration: none;
}
th a,
th a:visited {
color: #697d87 !important;
text-decoration: none;
}
th a:hover {
text-decoration: underline;
}
/* Form Elements
------------ */
form {
margin: 0;
padding: 0;
border: 0;
}
input {
color: #333333;
font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
font-size: 1.1em;
font-weight: normal;
padding: 1px;
border: 1px solid #879098;
background-color: #FAFAFA;
}
textarea {
background-color: #FAFAFA;
color: #333333;
font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
font-size: 1.3em;
line-height: 1.4em;
font-weight: normal;
border: 1px solid #879098;
padding: 2px;
}
select {
color: #333333;
background-color: #FAFAFA;
font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
font-size: 1.1em;
font-weight: normal;
border: 1px solid #879098;
padding: 1px;
}
option {
padding: 0 1em 0 0;
}
option.disabled-option {
color: graytext;
}
.rtl option {
padding: 0 0 0 1em;
}
input.radio {
border: none;
background-color: transparent;
}
.post {
background-color: white;
border-style: solid;
border-width: 1px;
}
.btnbbcode {
color: #000000;
font-weight: normal;
font-size: 1.1em;
font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
background-color: #EFEFEF;
border: 1px solid #666666;
}
.btnmain {
font-weight: bold;
background-color: #f1f1f1;
border: 1px solid #879098;
cursor: pointer;
padding: 1px 5px;
font-size: 1.1em;
}
.btnlite {
font-weight: normal;
background-color: #f1f1f1;
border: 1px solid #879098;
cursor: pointer;
padding: 1px 5px;
font-size: 1.1em;
}
.btnfile {
font-weight: normal;
background-color: #f1f1f1;
border: 1px solid #879098;
padding: 1px 5px;
font-size: 1.1em;
}
.helpline {
background-color: #DEE3E7;
border-style: none;
}
/* BBCode
------------ */
.quotetitle, .attachtitle {
margin: 10px 5px 0 5px;
padding: 4px;
border-width: 1px 1px 0 1px;
border-style: solid;
border-color: #879098;
color: #333333;
background-color: #879098;
font-size: 0.85em;
font-weight: bold;
}
.quotetitle .quotetitle {
font-size: 1em;
}
.quotecontent, .attachcontent {
margin: 0 5px 10px 5px;
padding: 5px;
border-color: #879098;
border-width: 0 1px 1px 1px;
border-style: solid;
font-weight: normal;
font-size: 1em;
line-height: 1.4em;
font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
background-color: #FAFAFA;
color: #4B5C77;
}
.attachcontent {
font-size: 0.85em;
}
.codetitle {
margin: 10px 5px 0 5px;
padding: 2px 4px;
border-width: 1px 1px 0 1px;
border-style: solid;
border-color: #879098;
color: #333333;
background-color: #879098;
font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
font-size: 0.8em;
}
.codecontent {
direction: ltr;
margin: 0 5px 10px 5px;
padding: 5px;
border-color: #879098;
border-width: 0 1px 1px 1px;
border-style: solid;
font-weight: normal;
color: #006600;
font-size: 0.85em;
font-family: Monaco, 'Courier New', monospace;
background-color: #FAFAFA;
}
.syntaxbg {
color: #FFFFFF;
}
.syntaxcomment {
color: #FF8000;
}
.syntaxdefault {
color: #0000BB;
}
.syntaxhtml {
color: #000000;
}
.syntaxkeyword {
color: #007700;
}
.syntaxstring {
color: #DD0000;
}
/* Private messages
------------------ */
.pm_marked_colour {
background-color: #000000;
}
.pm_replied_colour {
background-color: #879098;
}
.pm_friend_colour {
background-color: #007700;
}
.pm_foe_colour {
background-color: #DD0000;
}
/* Misc
------------ */
img {
border: none;
}
.sep {
color: black;
background-color: #FFA34F;
}
table.colortable td {
padding: 0;
}
pre {
font-size: 1.1em;
font-family: Monaco, 'Courier New', monospace;
}
.nowrap {
white-space: nowrap;
}
.username-coloured {
font-weight: bold;
}
Kod: Zaznacz cały
width: 800px;
margin-left: 0 auto;
margin-right: 0 auto;Kod: Zaznacz cały
/* phpBB 3.0 Style Sheet
--------------------------------------------------------------
Style name: subsilver2
Based on style: subSilver (the default phpBB 2 style)
Original author: subBlue ( http://www.subBlue.com/ )
Modified by: psoTFX and the phpBB team ( http://www.phpbb.com )
This is an alternative style for phpBB3 for those wishing to stay with
the familiar subSilver style of phpBB version 2.x
Copyright 2006 phpBB Group ( http://www.phpbb.com/ )
--------------------------------------------------------------
*/
/* Layout
------------ */
* {
/* Reset browsers default margin, padding and font sizes */
margin: 0;
padding: 0;
}
html {
font-size: 100%;
}
body {
/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
color: #385675;
background-color: #ffffff;
font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */
margin: 0;
margin-left: 20px;
margin-right: 20px;
width: 800px;
margin-left: 0 auto;
margin-right: 0 auto;
}
#wrap {
padding: 0 20px;
width: x;
margin: 0 auto;
min-width: 650px;
width: 800px;
margin-left: 0 auto;
margin-right: 0 auto;
}
#wrapheader {
min-height: 94px;
height: auto !important;
height: 94px;
margin: 0;
width: 800px;
margin-left: 0 auto;
margin-right: 0 auto;
}
#wrapcentre {
margin: 0px 0px 0px 0px;
width: 800px;
margin-left: 0 auto;
margin-right: 0 auto;
}
#wrapfooter {
text-align: center;
clear: both;
width: 800px;
margin-left: 0 auto;
margin-right: 0 auto;
}
#wrapnav {
width: 100%;
background-color: #f1f1f1;
width: 800px;
margin-left: 0 auto;
margin-right: 0 auto;
}
#logodesc {
background-color: #172635;
height: 100%;
width: 800px;
margin-left: 0 auto;
margin-right: 0 auto;
}
#menubar {
width: 800px;
margin-left: 0 auto;
margin-right: 0 auto;
}
#datebar {
width: 800px;
margin-left: 0 auto;
margin-right: 0 auto;
margin: 10px 25px 0 25px;
}
#findbar {
width: 800px;
margin-left: 0 auto;
margin-right: 0 auto;
width: 100%;
margin: 0;
padding: 0;
border: 0;
}
.forumrules {
background-color: #F9CC79;
border-width: 1px;
border-style: solid;
border-color: #BB9860;
padding: 4px;
font-weight: normal;
font-size: 1.1em;
font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
#pageheader { }
#pagecontent { }
#pagefooter { }
#poll { }
#postrow { }
#postdata { }
/* Text
--------------------- */
h1 {
color: black;
font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
font-weight: bold;
font-size: 1.8em;
text-decoration: none;
}
h2 {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 1.5em;
text-decoration: none;
line-height: 120%;
}
h3 {
font-size: 1.3em;
font-weight: bold;
font-family: Arial, Helvetica, sans-serif;
line-height: 120%;
}
h4 {
margin: 0;
font-size: 1.1em;
font-weight: bold;
}
p {
font-size: 1.1em;
}
p.moderators {
margin: 0;
float: left;
color: black;
font-weight: bold;
}
.rtl p.moderators {
float: right;
}
p.linkmcp {
margin: 0;
float: right;
white-space: nowrap;
}
.rtl p.linkmcp {
float: left;
}
p.breadcrumbs {
margin: 0;
float: left;
color: black;
font-weight: bold;
white-space: normal;
font-size: 1em;
}
.rtl p.breadcrumbs {
float: right;
}
p.datetime {
margin: 0;
float: right;
white-space: nowrap;
font-size: 1em;
}
.rtl p.datetime {
float: left;
}
p.searchbar {
padding: 2px 0;
white-space: nowrap;
}
p.searchbarreg {
margin: 0;
float: right;
white-space: nowrap;
}
.rtl p.searchbarreg {
float: left;
}
p.forumdesc {
padding-bottom: 4px;
}
p.topicauthor {
margin: 1px 0;
}
p.topicdetails {
margin: 1px 0;
}
.postreported, .postreported a:visited, .postreported a:hover, .postreported a:link, .postreported a:active {
margin: 1px 0;
color: red;
font-weight:bold;
}
.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active {
color: green;
font-weight:bold;
}
.postapprove img, .postreported img {
vertical-align: bottom;
}
.postauthor {
color: #000000;
}
.postdetails {
color: #000000;
}
.postbody {
font-size: 1.3em;
line-height: 1.4em;
font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
}
.postbody li, ol, ul {
margin: 0 0 0 1.5em;
}
.rtl .postbody li, .rtl ol, .rtl ul {
margin: 0 1.5em 0 0;
}
.posthilit {
background-color: yellow;
}
.nav {
margin: 0;
color: black;
font-weight: bold;
}
.pagination {
padding: 4px;
color: black;
font-size: 1em;
font-weight: bold;
}
.cattitle {
}
.gen {
margin: 1px 1px;
font-size: 1.2em;
}
.genmed {
margin: 1px 1px;
font-size: 1.1em;
}
.gensmall {
margin: 1px 1px;
font-size: 1em;
}
.copyright {
color: #888aa0;
font-weight: normal;
font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
.titles {
font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
font-weight: bold;
font-size: 1.3em;
text-decoration: none;
}
.error {
color: red;
}
/* Tables
------------ */
th {
color: #ffffff;
font-size: 1.1em;
font-weight: bold;
background-color: #f3f3f3;
height: 30px;
background-image: url('./images/cellpic3.gif');
white-space: nowrap;
padding: 7px 5px;
}
td {
padding: 2px;
}
td.profile {
padding: 4px;
}
.tablebg {
background-color: #879098;
}
.cornerbg {
background-color: #ffffff;
}
.catdiv {
height: 35px;
margin: 0;
padding: 0;
border: 0;
background-image: url('./images/cellpic1.gif');
}
.rtl .catdiv {
background-image: url('./images/cellpic1.gif');
}
.cat {
height: 35px;
margin: 0;
padding: 0;
border: 0;
background-color: #f3f3f3;
background-image: url('./images/cellpic1.gif');
text-indent: 4px;
}
.cat2 {
height: 30px;
margin: 0;
padding: 0;
border: 0;
background-color: #f3f3f3;
background-image: url('./images/cellpic1.gif');
}
.row1 {
background-color: #f1f1f1;
padding: 4px;
}
.row2 {
background-color: #d5dce1;
padding: 4px;
}
.row3 {
background-color: #C0C8D0;
padding: 4px;
}
.spacer {
background-color: #d5dce1;
}
hr {
height: 1px;
border-width: 0;
background-color: #D1D7DC;
color: #D1D7DC;
}
.legend {
text-align:center;
margin: 0 auto;
}
.roundcont {
width: 100%;
background-color: #172635;
}
.roundcont p {
margin: 0 10px;
}
.roundtop {
background: url('images/crr.gif') no-repeat top right;
background-color: #172635;
}
.roundbottom {
background: url('images/crr2.gif') no-repeat top right;
background-color: #172635;
}
img.corner {
width: 25px;
height: 25px;
border: none;
display: block !important;
}
/* Links
------------ */
a:link {
color: #3e6689;
text-decoration: none;
}
a:active,
a:visited {
color: #3e6689;
text-decoration: none;
}
a:hover {
color: #6a8aa6;
text-decoration: underline;
}
a.forumlink {
color: #020e18;
font-weight: bold;
font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
font-size: 1.2em;
}
a.topictitle {
margin: 1px 0;
font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
font-weight: bold;
font-size: 1.2em;
}
a.topictitle:visited {
color: #697d87;
text-decoration: none;
}
th a,
th a:visited {
color: #697d87 !important;
text-decoration: none;
}
th a:hover {
text-decoration: underline;
}
/* Form Elements
------------ */
form {
margin: 0;
padding: 0;
border: 0;
}
input {
color: #333333;
font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
font-size: 1.1em;
font-weight: normal;
padding: 1px;
border: 1px solid #879098;
background-color: #FAFAFA;
}
textarea {
background-color: #FAFAFA;
color: #333333;
font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
font-size: 1.3em;
line-height: 1.4em;
font-weight: normal;
border: 1px solid #879098;
padding: 2px;
}
select {
color: #333333;
background-color: #FAFAFA;
font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
font-size: 1.1em;
font-weight: normal;
border: 1px solid #879098;
padding: 1px;
}
option {
padding: 0 1em 0 0;
}
option.disabled-option {
color: graytext;
}
.rtl option {
padding: 0 0 0 1em;
}
input.radio {
border: none;
background-color: transparent;
}
.post {
background-color: white;
border-style: solid;
border-width: 1px;
}
.btnbbcode {
color: #000000;
font-weight: normal;
font-size: 1.1em;
font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
background-color: #EFEFEF;
border: 1px solid #666666;
}
.btnmain {
font-weight: bold;
background-color: #f1f1f1;
border: 1px solid #879098;
cursor: pointer;
padding: 1px 5px;
font-size: 1.1em;
}
.btnlite {
font-weight: normal;
background-color: #f1f1f1;
border: 1px solid #879098;
cursor: pointer;
padding: 1px 5px;
font-size: 1.1em;
}
.btnfile {
font-weight: normal;
background-color: #f1f1f1;
border: 1px solid #879098;
padding: 1px 5px;
font-size: 1.1em;
}
.helpline {
background-color: #DEE3E7;
border-style: none;
}
/* BBCode
------------ */
.quotetitle, .attachtitle {
margin: 10px 5px 0 5px;
padding: 4px;
border-width: 1px 1px 0 1px;
border-style: solid;
border-color: #879098;
color: #333333;
background-color: #879098;
font-size: 0.85em;
font-weight: bold;
}
.quotetitle .quotetitle {
font-size: 1em;
}
.quotecontent, .attachcontent {
margin: 0 5px 10px 5px;
padding: 5px;
border-color: #879098;
border-width: 0 1px 1px 1px;
border-style: solid;
font-weight: normal;
font-size: 1em;
line-height: 1.4em;
font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
background-color: #FAFAFA;
color: #4B5C77;
}
.attachcontent {
font-size: 0.85em;
}
.codetitle {
margin: 10px 5px 0 5px;
padding: 2px 4px;
border-width: 1px 1px 0 1px;
border-style: solid;
border-color: #879098;
color: #333333;
background-color: #879098;
font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
font-size: 0.8em;
}
.codecontent {
direction: ltr;
margin: 0 5px 10px 5px;
padding: 5px;
border-color: #879098;
border-width: 0 1px 1px 1px;
border-style: solid;
font-weight: normal;
color: #006600;
font-size: 0.85em;
font-family: Monaco, 'Courier New', monospace;
background-color: #FAFAFA;
}
.syntaxbg {
color: #FFFFFF;
}
.syntaxcomment {
color: #FF8000;
}
.syntaxdefault {
color: #0000BB;
}
.syntaxhtml {
color: #000000;
}
.syntaxkeyword {
color: #007700;
}
.syntaxstring {
color: #DD0000;
}
/* Private messages
------------------ */
.pm_marked_colour {
background-color: #000000;
}
.pm_replied_colour {
background-color: #879098;
}
.pm_friend_colour {
background-color: #007700;
}
.pm_foe_colour {
background-color: #DD0000;
}
/* Misc
------------ */
img {
border: none;
}
.sep {
color: black;
background-color: #FFA34F;
}
table.colortable td {
padding: 0;
}
pre {
font-size: 1.1em;
font-family: Monaco, 'Courier New', monospace;
}
.nowrap {
white-space: nowrap;
}
.username-coloured {
font-weight: bold;
}
Co i gdzie musze dodac zeby to gralo.
Re: subsilver2 zmiana wyświetlania
By zmienić szerokość forum, to w tym kodzie co podałem:
musisz zmienić wartość 800 na inną np. 870.
Co do wycentrowania forum to pomocną informację masz tutaj viewtopic.php?f=54&t=6316.
Kod: Zaznacz cały
width: 800px;
margin-left: 0 auto;
margin-right: 0 auto;Co do wycentrowania forum to pomocną informację masz tutaj viewtopic.php?f=54&t=6316.
Re: subsilver2 zmiana wyświetlania
no niestety wycentrować mi się nie udało... wciąż pozostaje przykuty do lewej strony. overall_header wygląda teraz tak:
i według sposobu, który podałeś powinno być wycentrowane. a nie jest. nawet po odświeżeniu w ACP aha styl dokładnie to bluemoon oparty o subsliver2 podaje bo moze cos w samym stylu jest inaczej niz w oryginale.
Kod: Zaznacz cały
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2006 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
<!-- IF T_STYLESHEET_LINK -->
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<!-- ELSE -->
<style type="text/css">
{T_THEME_DATA}
</style>
<!-- ENDIF -->
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="{T_THEME_PATH}/scripts/pngfix.js"></script>
<![endif]-->
<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
if ({S_NEW_PM})
{
popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
}
<!-- ENDIF -->
function popup(url, width, height, name)
{
if (!name)
{
name = '_popup';
}
window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
return false;
}
function jumpto()
{
var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
var perpage = '{PER_PAGE}';
var base_url = '{A_BASE_URL}';
if (page !== null && !isNaN(page) && page > 0)
{
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage);
}
}
/**
* Find a member
*/
function find_username(url)
{
popup(url, 760, 570, '_usersearch');
return false;
}
/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
var parent = document.getElementById(id);
if (!parent)
{
eval('parent = document.' + id);
}
if (!parent)
{
return;
}
var rb = parent.getElementsByTagName('input');
for (var r = 0; r < rb.length; r++)
{
if (rb[r].name.substr(0, name.length) == name)
{
rb[r].checked = state;
}
}
}
<!-- IF ._file -->
/**
* Play quicktime file by determining it's width/height
* from the displayed rectangle area
*
* Only defined if there is a file block present.
*/
function play_qt_file(obj)
{
var rectangle = obj.GetRectangle();
if (rectangle)
{
rectangle = rectangle.split(',')
var x1 = parseInt(rectangle[0]);
var x2 = parseInt(rectangle[2]);
var y1 = parseInt(rectangle[1]);
var y2 = parseInt(rectangle[3]);
var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
}
else
{
var width = 200;
var height = 0;
}
obj.width = width;
obj.height = height + 16;
obj.SetControllerVisible(true);
obj.Play();
}
<!-- ENDIF -->
// ]]>
</script>
</head>
<body class="{S_CONTENT_DIRECTION}">
<a name="top"></a>
<div id="logodesc">
<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
</tr>
</table>
</div>
<!-- IF not $S_IN_PORTAL -->
<div id="menubar">
<table align="center" class="tablebg" width="100%" cellspacing="1">
<tr>
<td align="center" valign="middle" class="cat2"><!-- IF not S_IS_BOT -->
<a href="{U_LOGIN_LOGOUT}"> • {L_LOGIN_LOGOUT}</a>
<!-- ENDIF -->
<!-- IF U_RESTORE_PERMISSIONS -->
•<a href="{U_RESTORE_PERMISSIONS}"> {L_RESTORE_PERMISSIONS}</a>
<!-- ENDIF -->
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN -->
<span style="color: red;">{L_BOARD_DISABLED}</span>
<!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_USER_LOGGED_IN -->
<!-- IF S_DISPLAY_PM -->
<a href="{U_PRIVATEMSGS}">• {PRIVATE_MESSAGE_INFO}
<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->
, {PRIVATE_MESSAGE_INFO_UNREAD}
<!-- ENDIF -->
</a>
<!-- ENDIF -->
<!-- ELSE -->
<a href="{U_REGISTER}">• {L_REGISTER}</a>
<!-- ENDIF -->
<!-- ENDIF -->
<a href="{U_FAQ}"> • {L_FAQ}</a>
<!-- IF S_DISPLAY_SEARCH -->
<a href="{U_SEARCH}">• {L_SEARCH}</a>
<!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_MEMBERLIST -->
<a href="{U_MEMBERLIST}">• {L_MEMBERLIST}</a>
<!-- ENDIF -->
<!-- IF S_USER_LOGGED_IN -->
<a href="{U_PROFILE}">• {L_PROFILE}</a>
<!-- ENDIF -->
<!-- ENDIF -->
</td>
</tr>
</table>
<div class="roundbottom">
<img src="{T_THEME_PATH}/images/crl2.gif" alt=""
width="25" height="25" class="corner"
style="display: none" />
</div>
</div>
<div id="datebar">
<table align="center" width="100%" cellspacing="0">
<tr>
<td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
<td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td>
</tr>
</table>
</div>
</div>
<div id="wrapcentre">
<!-- IF S_DISPLAY_SEARCH -->
<p class="searchbar">
<span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>
<!-- IF S_USER_LOGGED_IN -->
<span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
<!-- ENDIF -->
</p>
<!-- ENDIF -->
<br style="clear: both;" />
<!-- INCLUDE breadcrumbs.html -->
<br />
<!-- ENDIF -->
Re: subsilver2 zmiana wyświetlania
Najlepiej przed <div id="logodesc"> dodaj <div style="width: 870px; margin-left: 0 auto; margin-right: 0 auto"> i w pliku overall_header.html przed </body> wstaw </div>
width: 870px - szerokość forum w pikselach.
width: 870px - szerokość forum w pikselach.
Re: subsilver2 zmiana wyświetlania
w pliku overall_header.html nie odnalazlem </body> jednak dodadne <div style="width: 870px; margin-left: 0 auto; margin-right: 0 auto"> w tym plik przed <div id="logodesc"> niczego nie zmieniło.
Re: subsilver2 zmiana wyświetlania
Pomyłka, chodziło o plik overall_footer.html.
Re: subsilver2 zmiana wyświetlania
chyba jestem uposledzony bo to i tak niczego nie zmienilo. Styl jak nie byl wycentrowany tak nie jest. overall_footer wyglada teraz tak:
Kod: Zaznacz cały
<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>
<div style="width: 1200px; margin-left: 0 auto; margin-right: 0 auto">
<!--
We request you retain the full copyright notice below including the link to www.phpbb.com.
This not only gives respect to the large amount of time given freely by the developers
but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
forums may be affected.
The phpBB Group : 2006
//-->
<div id="wrapfooter">
<!-- IF U_ACP --><span class="gensmall">[ <a href="{U_ACP}">{L_ACP}</a> ]</span><br /><br /><!-- ENDIF -->
Blue Moon by <a href="http://www.tdmdesigns.net/styles/">Trent</a> <span class="copyright">©</span> 2007 <br />
<span class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> © 2000, 2002, 2005, 2007 phpBB Group
<!-- IF S_PORTAL_COPY --><br />{S_PORTAL_COPY}<!-- ENDIF -->
<!-- IF DEBUG_OUTPUT --><br /><bdo dir="ltr">[ {DEBUG_OUTPUT} ]</bdo><!-- ENDIF --></span>
</div>
<div> <center>
<a id="bottom" name="bottom" accesskey="z"></a>
<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
<!-- (C) stat24 / Strona glowna -->
<script type="text/javascript">
<!--
document.writeln('<'+'scr'+'ipt type="text/javascript" src="http://s4.hit.stat24.com/_'+(new Date()).getTime()+'/script.js?id=.WeV9u8ySZt7d2IDsrUX5GYT.ogNiYdcugtOUBwca57.z7/l=11"></'+'scr'+'ipt>');
//-->
</script>
<!-- (C) stat24 - logo -->
<a href="http://www.stat24.com" target="_blank"><img src="http://www.stat24.com/logo/logoWhite.gif" width="90" height="26" style="border:0px" alt="web stats stat24" /></a> <!-- (C) 2000-2006 stat24.com/counter -->
<iframe src="http://counters.stat24.com/statcnt.html?type=13/id=p30z4HcZAtXQyjBxv.0QUHxk1opGkIqNKyM4pnnp7.v.A7/time=6/data=0/lang=pl" width=88 height=26 scrolling="no" frameborder="0"></iframe></iframe></center>
</div>
<div> <center> <a href="http://www.wshig.poznan.pl" target="_blank">
<IMG SRC="http://www.orzewski.pl/chef/grafiki/wshig.jpg" border=0></a> </center>
</div>
</body>
</html>Re: subsilver2 zmiana wyświetlania
Przed </body> dodaj jeszcze jedno </div>.
Re: subsilver2 zmiana wyświetlania
nia a nic to nie pomogło. styl wciąż wygląda tak: http://www.orzewski.pl/chef/portal.php?style=11 jeszcze raz podaje pliki overall_header i footer:
i footer:
Tak wyglądaja w chwili obecnej. Próbowałem dodać ten wpis w takiej formie:
już w każde miejsce, które zostało wskazane bądź przyszło mi do głowy i nic. Overall_footer i header wyglądają obecnie tak jak podałem wyżej.
Kod: Zaznacz cały
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2006 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
<!-- IF T_STYLESHEET_LINK -->
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<!-- ELSE -->
<style type="text/css">
{T_THEME_DATA}
</style>
<!-- ENDIF -->
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="{T_THEME_PATH}/scripts/pngfix.js"></script>
<![endif]-->
<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
if ({S_NEW_PM})
{
popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
}
<!-- ENDIF -->
function popup(url, width, height, name)
{
if (!name)
{
name = '_popup';
}
window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
return false;
}
function jumpto()
{
var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
var perpage = '{PER_PAGE}';
var base_url = '{A_BASE_URL}';
if (page !== null && !isNaN(page) && page > 0)
{
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage);
}
}
/**
* Find a member
*/
function find_username(url)
{
popup(url, 760, 570, '_usersearch');
return false;
}
/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
var parent = document.getElementById(id);
if (!parent)
{
eval('parent = document.' + id);
}
if (!parent)
{
return;
}
var rb = parent.getElementsByTagName('input');
for (var r = 0; r < rb.length; r++)
{
if (rb[r].name.substr(0, name.length) == name)
{
rb[r].checked = state;
}
}
}
<!-- IF ._file -->
/**
* Play quicktime file by determining it's width/height
* from the displayed rectangle area
*
* Only defined if there is a file block present.
*/
function play_qt_file(obj)
{
var rectangle = obj.GetRectangle();
if (rectangle)
{
rectangle = rectangle.split(',')
var x1 = parseInt(rectangle[0]);
var x2 = parseInt(rectangle[2]);
var y1 = parseInt(rectangle[1]);
var y2 = parseInt(rectangle[3]);
var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
}
else
{
var width = 200;
var height = 0;
}
obj.width = width;
obj.height = height + 16;
obj.SetControllerVisible(true);
obj.Play();
}
<!-- ENDIF -->
// ]]>
</script>
</head>
<div style="width: 1200px; margin-left: 0 auto; margin-right: 0 auto">
<body align="center" class="{S_CONTENT_DIRECTION}">
<a name="top"></a>
<div style="width: 1200px; margin-left: 0 auto; margin-right: 0 auto">
<div id="logodesc">
<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
</tr>
</table>
</div>
<!-- IF not $S_IN_PORTAL -->
<div id="menubar">
<table align="center" class="tablebg" width="100%" cellspacing="1">
<tr>
<td align="center" valign="middle" class="cat2"><!-- IF not S_IS_BOT -->
<a href="{U_LOGIN_LOGOUT}"> • {L_LOGIN_LOGOUT}</a>
<!-- ENDIF -->
<!-- IF U_RESTORE_PERMISSIONS -->
•<a href="{U_RESTORE_PERMISSIONS}"> {L_RESTORE_PERMISSIONS}</a>
<!-- ENDIF -->
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN -->
<span style="color: red;">{L_BOARD_DISABLED}</span>
<!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_USER_LOGGED_IN -->
<!-- IF S_DISPLAY_PM -->
<a href="{U_PRIVATEMSGS}">• {PRIVATE_MESSAGE_INFO}
<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->
, {PRIVATE_MESSAGE_INFO_UNREAD}
<!-- ENDIF -->
</a>
<!-- ENDIF -->
<!-- ELSE -->
<a href="{U_REGISTER}">• {L_REGISTER}</a>
<!-- ENDIF -->
<!-- ENDIF -->
<a href="{U_FAQ}"> • {L_FAQ}</a>
<!-- IF S_DISPLAY_SEARCH -->
<a href="{U_SEARCH}">• {L_SEARCH}</a>
<!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_MEMBERLIST -->
<a href="{U_MEMBERLIST}">• {L_MEMBERLIST}</a>
<!-- ENDIF -->
<!-- IF S_USER_LOGGED_IN -->
<a href="{U_PROFILE}">• {L_PROFILE}</a>
<!-- ENDIF -->
<!-- ENDIF -->
</td>
</tr>
</table>
<div class="roundbottom">
<img src="{T_THEME_PATH}/images/crl2.gif" alt=""
width="25" height="25" class="corner"
style="display: none" />
</div>
</div>
<div id="datebar">
<table align="center" width="100%" cellspacing="0">
<tr>
<td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
<td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td>
</tr>
</table>
</div>
</div>
<div id="wrapcentre">
<!-- IF S_DISPLAY_SEARCH -->
<p class="searchbar">
<span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>
<!-- IF S_USER_LOGGED_IN -->
<span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
<!-- ENDIF -->
</p>
<!-- ENDIF -->
<br style="clear: both;" />
<!-- INCLUDE breadcrumbs.html -->
<br />
<!-- ENDIF -->
Kod: Zaznacz cały
<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>
<div style="width: 1200px; margin-left: 0 auto; margin-right: 0 auto">
<!--
We request you retain the full copyright notice below including the link to www.phpbb.com.
This not only gives respect to the large amount of time given freely by the developers
but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
forums may be affected.
The phpBB Group : 2006
//-->
<div id="wrapfooter">
<!-- IF U_ACP --><span class="gensmall">[ <a href="{U_ACP}">{L_ACP}</a> ]</span><br /><br /><!-- ENDIF -->
Blue Moon by <a href="http://www.tdmdesigns.net/styles/">Trent</a> <span class="copyright">©</span> 2007 <br />
<span class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> © 2000, 2002, 2005, 2007 phpBB Group
<!-- IF S_PORTAL_COPY --><br />{S_PORTAL_COPY}<!-- ENDIF -->
<!-- IF DEBUG_OUTPUT --><br /><bdo dir="ltr">[ {DEBUG_OUTPUT} ]</bdo><!-- ENDIF --></span>
</div>
<div> <center>
<a id="bottom" name="bottom" accesskey="z"></a>
<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
<!-- (C) stat24 / Strona glowna -->
<script type="text/javascript">
<!--
document.writeln('<'+'scr'+'ipt type="text/javascript" src="http://s4.hit.stat24.com/_'+(new Date()).getTime()+'/script.js?id=.WeV9u8ySZt7d2IDsrUX5GYT.ogNiYdcugtOUBwca57.z7/l=11"></'+'scr'+'ipt>');
//-->
</script>
<!-- (C) stat24 - logo -->
<a href="http://www.stat24.com" target="_blank"><img src="http://www.stat24.com/logo/logoWhite.gif" width="90" height="26" style="border:0px" alt="web stats stat24" /></a> <!-- (C) 2000-2006 stat24.com/counter -->
<iframe src="http://counters.stat24.com/statcnt.html?type=13/id=p30z4HcZAtXQyjBxv.0QUHxk1opGkIqNKyM4pnnp7.v.A7/time=6/data=0/lang=pl" width=88 height=26 scrolling="no" frameborder="0"></iframe></iframe></center>
</div>
<div> <center> <a href="http://www.wshig.poznan.pl" target="_blank">
<IMG SRC="http://www.orzewski.pl/chef/grafiki/wshig.jpg" border=0></a> </center>
</div>
</div>
</div>
</div>
</body>
</html>Kod: Zaznacz cały
<div style="width: 1200px; margin-left: 0 auto; margin-right: 0 auto">Re: subsilver2 zmiana wyświetlania
Z tego co widzę w tym kodzie, to nie zastosowałeś się w ogóle do tego co napisałem.
Re: subsilver2 zmiana wyświetlania
he, no jak nie? dodałem wpis przed w overall_header i potem w footer dodałem </div> przed </body> przeciez tak mialo byc... moze czegos nie rozumiem?
EDIT:
zrobiłem wszystko jeszcze raz krok po kroku i dalej nie wycentrował sie styl. teraz to wyglada tak:
overall_header
overall_footer
stylesheet.css
Kod: Zaznacz cały
<div style="width: 870px; margin-left: 0 auto; margin-right: 0 auto"> Kod: Zaznacz cały
<div id="logodesc">EDIT:
zrobiłem wszystko jeszcze raz krok po kroku i dalej nie wycentrował sie styl. teraz to wyglada tak:
overall_header
Kod: Zaznacz cały
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2006 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
<!-- IF T_STYLESHEET_LINK -->
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<!-- ELSE -->
<style type="text/css">
{T_THEME_DATA}
</style>
<!-- ENDIF -->
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="{T_THEME_PATH}/scripts/pngfix.js"></script>
<![endif]-->
<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
if ({S_NEW_PM})
{
popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
}
<!-- ENDIF -->
function popup(url, width, height, name)
{
if (!name)
{
name = '_popup';
}
window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
return false;
}
function jumpto()
{
var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
var perpage = '{PER_PAGE}';
var base_url = '{A_BASE_URL}';
if (page !== null && !isNaN(page) && page > 0)
{
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage);
}
}
/**
* Find a member
*/
function find_username(url)
{
popup(url, 760, 570, '_usersearch');
return false;
}
/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
var parent = document.getElementById(id);
if (!parent)
{
eval('parent = document.' + id);
}
if (!parent)
{
return;
}
var rb = parent.getElementsByTagName('input');
for (var r = 0; r < rb.length; r++)
{
if (rb[r].name.substr(0, name.length) == name)
{
rb[r].checked = state;
}
}
}
<!-- IF ._file -->
/**
* Play quicktime file by determining it's width/height
* from the displayed rectangle area
*
* Only defined if there is a file block present.
*/
function play_qt_file(obj)
{
var rectangle = obj.GetRectangle();
if (rectangle)
{
rectangle = rectangle.split(',')
var x1 = parseInt(rectangle[0]);
var x2 = parseInt(rectangle[2]);
var y1 = parseInt(rectangle[1]);
var y2 = parseInt(rectangle[3]);
var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
}
else
{
var width = 200;
var height = 0;
}
obj.width = width;
obj.height = height + 16;
obj.SetControllerVisible(true);
obj.Play();
}
<!-- ENDIF -->
// ]]>
</script>
</head>
<body align="center" class="{S_CONTENT_DIRECTION}">
<a name="top"></a>
<div style="width: 870px; margin-left: 0 auto; margin-right: 0 auto">
<div id="logodesc">
<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
</tr>
</table>
</div>
<!-- IF not $S_IN_PORTAL -->
<div id="menubar">
<table align="center" class="tablebg" width="100%" cellspacing="1">
<tr>
<td align="center" valign="middle" class="cat2"><!-- IF not S_IS_BOT -->
<a href="{U_LOGIN_LOGOUT}"> • {L_LOGIN_LOGOUT}</a>
<!-- ENDIF -->
<!-- IF U_RESTORE_PERMISSIONS -->
•<a href="{U_RESTORE_PERMISSIONS}"> {L_RESTORE_PERMISSIONS}</a>
<!-- ENDIF -->
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN -->
<span style="color: red;">{L_BOARD_DISABLED}</span>
<!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_USER_LOGGED_IN -->
<!-- IF S_DISPLAY_PM -->
<a href="{U_PRIVATEMSGS}">• {PRIVATE_MESSAGE_INFO}
<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->
, {PRIVATE_MESSAGE_INFO_UNREAD}
<!-- ENDIF -->
</a>
<!-- ENDIF -->
<!-- ELSE -->
<a href="{U_REGISTER}">• {L_REGISTER}</a>
<!-- ENDIF -->
<!-- ENDIF -->
<a href="{U_FAQ}"> • {L_FAQ}</a>
<!-- IF S_DISPLAY_SEARCH -->
<a href="{U_SEARCH}">• {L_SEARCH}</a>
<!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_MEMBERLIST -->
<a href="{U_MEMBERLIST}">• {L_MEMBERLIST}</a>
<!-- ENDIF -->
<!-- IF S_USER_LOGGED_IN -->
<a href="{U_PROFILE}">• {L_PROFILE}</a>
<!-- ENDIF -->
<!-- ENDIF -->
</td>
</tr>
</table>
<div class="roundbottom">
<img src="{T_THEME_PATH}/images/crl2.gif" alt=""
width="25" height="25" class="corner"
style="display: none" />
</div>
</div>
<div id="datebar">
<table align="center" width="100%" cellspacing="0">
<tr>
<td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
<td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td>
</tr>
</table>
</div>
</div>
<div id="wrapcentre">
<!-- IF S_DISPLAY_SEARCH -->
<p class="searchbar">
<span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>
<!-- IF S_USER_LOGGED_IN -->
<span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
<!-- ENDIF -->
</p>
<!-- ENDIF -->
<br style="clear: both;" />
<!-- INCLUDE breadcrumbs.html -->
<br />
<!-- ENDIF -->
Kod: Zaznacz cały
<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>
<!--
We request you retain the full copyright notice below including the link to www.phpbb.com.
This not only gives respect to the large amount of time given freely by the developers
but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
forums may be affected.
The phpBB Group : 2006
//-->
<div id="wrapfooter">
<!-- IF U_ACP --><span class="gensmall">[ <a href="{U_ACP}">{L_ACP}</a> ]</span><br /><br /><!-- ENDIF -->
Blue Moon by <a href="http://www.tdmdesigns.net/styles/">Trent</a> <span class="copyright">©</span> 2007 <br />
<span class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> © 2000, 2002, 2005, 2007 phpBB Group
<!-- IF S_PORTAL_COPY --><br />{S_PORTAL_COPY}<!-- ENDIF -->
<!-- IF DEBUG_OUTPUT --><br /><bdo dir="ltr">[ {DEBUG_OUTPUT} ]</bdo><!-- ENDIF --></span>
</div>
<div> <center>
<a id="bottom" name="bottom" accesskey="z"></a>
<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
<!-- (C) stat24 / Strona glowna -->
<script type="text/javascript">
<!--
document.writeln('<'+'scr'+'ipt type="text/javascript" src="http://s4.hit.stat24.com/_'+(new Date()).getTime()+'/script.js?id=.WeV9u8ySZt7d2IDsrUX5GYT.ogNiYdcugtOUBwca57.z7/l=11"></'+'scr'+'ipt>');
//-->
</script>
<!-- (C) stat24 - logo -->
<a href="http://www.stat24.com" target="_blank"><img src="http://www.stat24.com/logo/logoWhite.gif" width="90" height="26" style="border:0px" alt="web stats stat24" /></a> <!-- (C) 2000-2006 stat24.com/counter -->
<iframe src="http://counters.stat24.com/statcnt.html?type=13/id=p30z4HcZAtXQyjBxv.0QUHxk1opGkIqNKyM4pnnp7.v.A7/time=6/data=0/lang=pl" width=88 height=26 scrolling="no" frameborder="0"></iframe></iframe></center>
</div>
<div> <center> <a href="http://www.wshig.poznan.pl" target="_blank">
<IMG SRC="http://www.orzewski.pl/chef/grafiki/wshig.jpg" border=0></a> </center>
</div>
</div>
</body>
</html>Kod: Zaznacz cały
/* phpBB 3.0 Style Sheet
--------------------------------------------------------------
Style name: subsilver2
Based on style: subSilver (the default phpBB 2 style)
Original author: subBlue ( http://www.subBlue.com/ )
Modified by: psoTFX and the phpBB team ( http://www.phpbb.com )
This is an alternative style for phpBB3 for those wishing to stay with
the familiar subSilver style of phpBB version 2.x
Copyright 2006 phpBB Group ( http://www.phpbb.com/ )
--------------------------------------------------------------
*/
/* Layout
------------ */
* {
/* Reset browsers default margin, padding and font sizes */
margin: 0;
padding: 0;
}
html {
font-size: 100%;
}
body {
/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
color: #385675;
background-color: #ffffff;
font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */
margin: 0;
margin-left: 20px;
margin-right: 20px;
width: 870px;
margin-left: 0 auto;
margin-right: 0 auto;
}
#wrap {
padding: 0 20px;
width: x;
margin: 0 auto;
min-width: 650px;
width: 870px;
margin-left: 0 auto;
margin-right: 0 auto;
}
#wrapheader {
min-height: 94px;
height: auto !important;
height: 94px;
margin: 0;
width: 870px;
margin-left: 0 auto;
margin-right: 0 auto;
}
#wrapcentre {
margin: 0px 0px 0px 0px;
width: 870px;
margin-left: 0 auto;
margin-right: 0 auto;
}
#wrapfooter {
text-align: center;
clear: both;
width: 870px;
margin-left: 0 auto;
margin-right: 0 auto;
}
#wrapnav {
width: 100%;
background-color: #f1f1f1;
width: 870px;
margin-left: 0 auto;
margin-right: 0 auto;
}
#logodesc {
background-color: #172635;
height: 100%;
width: 870px;
margin-left: 0 auto;
margin-right: 0 auto;
}
#menubar {
width: 870px;
margin-left: 0 auto;
margin-right: 0 auto;
}
#datebar {
width: 870px;
margin-left: 0 auto;
margin-right: 0 auto;
margin: 10px 25px 0 25px;
}
#findbar {
width: 870px;
margin-left: 0 auto;
margin-right: 0 auto;
width: 100%;
margin: 0;
padding: 0;
border: 0;
}
.forumrules {
background-color: #F9CC79;
border-width: 1px;
border-style: solid;
border-color: #BB9860;
padding: 4px;
font-weight: normal;
font-size: 1.1em;
font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
#pageheader { }
#pagecontent { }
#pagefooter { }
#poll { }
#postrow { }
#postdata { }
/* Text
--------------------- */
h1 {
color: black;
font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
font-weight: bold;
font-size: 1.8em;
text-decoration: none;
}
h2 {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 1.5em;
text-decoration: none;
line-height: 120%;
}
h3 {
font-size: 1.3em;
font-weight: bold;
font-family: Arial, Helvetica, sans-serif;
line-height: 120%;
}
h4 {
margin: 0;
font-size: 1.1em;
font-weight: bold;
}
p {
font-size: 1.1em;
}
p.moderators {
margin: 0;
float: left;
color: black;
font-weight: bold;
}
.rtl p.moderators {
float: right;
}
p.linkmcp {
margin: 0;
float: right;
white-space: nowrap;
}
.rtl p.linkmcp {
float: left;
}
p.breadcrumbs {
margin: 0;
float: left;
color: black;
font-weight: bold;
white-space: normal;
font-size: 1em;
}
.rtl p.breadcrumbs {
float: right;
}
p.datetime {
margin: 0;
float: right;
white-space: nowrap;
font-size: 1em;
}
.rtl p.datetime {
float: left;
}
p.searchbar {
padding: 2px 0;
white-space: nowrap;
}
p.searchbarreg {
margin: 0;
float: right;
white-space: nowrap;
}
.rtl p.searchbarreg {
float: left;
}
p.forumdesc {
padding-bottom: 4px;
}
p.topicauthor {
margin: 1px 0;
}
p.topicdetails {
margin: 1px 0;
}
.postreported, .postreported a:visited, .postreported a:hover, .postreported a:link, .postreported a:active {
margin: 1px 0;
color: red;
font-weight:bold;
}
.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active {
color: green;
font-weight:bold;
}
.postapprove img, .postreported img {
vertical-align: bottom;
}
.postauthor {
color: #000000;
}
.postdetails {
color: #000000;
}
.postbody {
font-size: 1.3em;
line-height: 1.4em;
font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
}
.postbody li, ol, ul {
margin: 0 0 0 1.5em;
}
.rtl .postbody li, .rtl ol, .rtl ul {
margin: 0 1.5em 0 0;
}
.posthilit {
background-color: yellow;
}
.nav {
margin: 0;
color: black;
font-weight: bold;
}
.pagination {
padding: 4px;
color: black;
font-size: 1em;
font-weight: bold;
}
.cattitle {
}
.gen {
margin: 1px 1px;
font-size: 1.2em;
}
.genmed {
margin: 1px 1px;
font-size: 1.1em;
}
.gensmall {
margin: 1px 1px;
font-size: 1em;
}
.copyright {
color: #888aa0;
font-weight: normal;
font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
.titles {
font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
font-weight: bold;
font-size: 1.3em;
text-decoration: none;
}
.error {
color: red;
}
/* Tables
------------ */
th {
color: #ffffff;
font-size: 1.1em;
font-weight: bold;
background-color: #f3f3f3;
height: 30px;
background-image: url('./images/cellpic3.gif');
white-space: nowrap;
padding: 7px 5px;
}
td {
padding: 2px;
}
td.profile {
padding: 4px;
}
.tablebg {
background-color: #879098;
}
.cornerbg {
background-color: #ffffff;
}
.catdiv {
height: 35px;
margin: 0;
padding: 0;
border: 0;
background-image: url('./images/cellpic1.gif');
}
.rtl .catdiv {
background-image: url('./images/cellpic1.gif');
}
.cat {
height: 35px;
margin: 0;
padding: 0;
border: 0;
background-color: #f3f3f3;
background-image: url('./images/cellpic1.gif');
text-indent: 4px;
}
.cat2 {
height: 30px;
margin: 0;
padding: 0;
border: 0;
background-color: #f3f3f3;
background-image: url('./images/cellpic1.gif');
}
.row1 {
background-color: #f1f1f1;
padding: 4px;
}
.row2 {
background-color: #d5dce1;
padding: 4px;
}
.row3 {
background-color: #C0C8D0;
padding: 4px;
}
.spacer {
background-color: #d5dce1;
}
hr {
height: 1px;
border-width: 0;
background-color: #D1D7DC;
color: #D1D7DC;
}
.legend {
text-align:center;
margin: 0 auto;
}
.roundcont {
width: 100%;
background-color: #172635;
}
.roundcont p {
margin: 0 10px;
}
.roundtop {
background: url('images/crr.gif') no-repeat top right;
background-color: #172635;
}
.roundbottom {
background: url('images/crr2.gif') no-repeat top right;
background-color: #172635;
}
img.corner {
width: 25px;
height: 25px;
border: none;
display: block !important;
}
/* Links
------------ */
a:link {
color: #3e6689;
text-decoration: none;
}
a:active,
a:visited {
color: #3e6689;
text-decoration: none;
}
a:hover {
color: #6a8aa6;
text-decoration: underline;
}
a.forumlink {
color: #020e18;
font-weight: bold;
font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
font-size: 1.2em;
}
a.topictitle {
margin: 1px 0;
font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
font-weight: bold;
font-size: 1.2em;
}
a.topictitle:visited {
color: #697d87;
text-decoration: none;
}
th a,
th a:visited {
color: #697d87 !important;
text-decoration: none;
}
th a:hover {
text-decoration: underline;
}
/* Form Elements
------------ */
form {
margin: 0;
padding: 0;
border: 0;
}
input {
color: #333333;
font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
font-size: 1.1em;
font-weight: normal;
padding: 1px;
border: 1px solid #879098;
background-color: #FAFAFA;
}
textarea {
background-color: #FAFAFA;
color: #333333;
font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
font-size: 1.3em;
line-height: 1.4em;
font-weight: normal;
border: 1px solid #879098;
padding: 2px;
}
select {
color: #333333;
background-color: #FAFAFA;
font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
font-size: 1.1em;
font-weight: normal;
border: 1px solid #879098;
padding: 1px;
}
option {
padding: 0 1em 0 0;
}
option.disabled-option {
color: graytext;
}
.rtl option {
padding: 0 0 0 1em;
}
input.radio {
border: none;
background-color: transparent;
}
.post {
background-color: white;
border-style: solid;
border-width: 1px;
}
.btnbbcode {
color: #000000;
font-weight: normal;
font-size: 1.1em;
font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
background-color: #EFEFEF;
border: 1px solid #666666;
}
.btnmain {
font-weight: bold;
background-color: #f1f1f1;
border: 1px solid #879098;
cursor: pointer;
padding: 1px 5px;
font-size: 1.1em;
}
.btnlite {
font-weight: normal;
background-color: #f1f1f1;
border: 1px solid #879098;
cursor: pointer;
padding: 1px 5px;
font-size: 1.1em;
}
.btnfile {
font-weight: normal;
background-color: #f1f1f1;
border: 1px solid #879098;
padding: 1px 5px;
font-size: 1.1em;
}
.helpline {
background-color: #DEE3E7;
border-style: none;
}
/* BBCode
------------ */
.quotetitle, .attachtitle {
margin: 10px 5px 0 5px;
padding: 4px;
border-width: 1px 1px 0 1px;
border-style: solid;
border-color: #879098;
color: #333333;
background-color: #879098;
font-size: 0.85em;
font-weight: bold;
}
.quotetitle .quotetitle {
font-size: 1em;
}
.quotecontent, .attachcontent {
margin: 0 5px 10px 5px;
padding: 5px;
border-color: #879098;
border-width: 0 1px 1px 1px;
border-style: solid;
font-weight: normal;
font-size: 1em;
line-height: 1.4em;
font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
background-color: #FAFAFA;
color: #4B5C77;
}
.attachcontent {
font-size: 0.85em;
}
.codetitle {
margin: 10px 5px 0 5px;
padding: 2px 4px;
border-width: 1px 1px 0 1px;
border-style: solid;
border-color: #879098;
color: #333333;
background-color: #879098;
font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
font-size: 0.8em;
}
.codecontent {
direction: ltr;
margin: 0 5px 10px 5px;
padding: 5px;
border-color: #879098;
border-width: 0 1px 1px 1px;
border-style: solid;
font-weight: normal;
color: #006600;
font-size: 0.85em;
font-family: Monaco, 'Courier New', monospace;
background-color: #FAFAFA;
}
.syntaxbg {
color: #FFFFFF;
}
.syntaxcomment {
color: #FF8000;
}
.syntaxdefault {
color: #0000BB;
}
.syntaxhtml {
color: #000000;
}
.syntaxkeyword {
color: #007700;
}
.syntaxstring {
color: #DD0000;
}
/* Private messages
------------------ */
.pm_marked_colour {
background-color: #000000;
}
.pm_replied_colour {
background-color: #879098;
}
.pm_friend_colour {
background-color: #007700;
}
.pm_foe_colour {
background-color: #DD0000;
}
/* Misc
------------ */
img {
border: none;
}
.sep {
color: black;
background-color: #FFA34F;
}
table.colortable td {
padding: 0;
}
pre {
font-size: 1.1em;
font-family: Monaco, 'Courier New', monospace;
}
.nowrap {
white-space: nowrap;
}
.username-coloured {
font-weight: bold;
}Re: subsilver2 zmiana wyświetlania
Kod: Zaznacz cały
<div style="width: 1200px; margin-left: 0 auto; margin-right: 0 auto">
<body align="center" class="{S_CONTENT_DIRECTION}">
<a name="top"></a>
<div style="width: 1200px; margin-left: 0 auto; margin-right: 0 auto">
<div id="logodesc">Re: subsilver2 zmiana wyświetlania
no tak ale napisalem ze probowalem wstawiac to tam gdzie pokazales a potem jak nie zadzialalo to wszedzie tam gdzie mi wpadlo do glowy. teraz w podanych ostatnio plikach widzisz ze zrobilem jeszcze raz krok po kroku jak kazales, i nie na 1200 tylko 870 pixeli i dalej nic.
EDIT: Czy ktoś wie jak wycentrować ten styl?

EDIT: Czy ktoś wie jak wycentrować ten styl?