ich bin grad dabei unser Forum ein wenig neu zu gestalten und hab auch schon einiges selbst geschafft bzw. über die Suchfunktion hier gelöst. Nun verzweifel ich aber leider doch.
Ich nutze den Style prosilver und verstell dort eben alles in der common.css.
Meine Frage ist nun, wie ich die Navigation unter dem Header umstellen kann, dass dort alles zentriert ist.
Und wie ich eine Navigation über dem Header noch hinbekomme mit individuellen Links.
Und die letzte Frage, wie krieg ich es hin, dass Logo und Suchlfeld auch etwas "besser" zentriert sind.
Ich hab mal ne Fotomontage gemacht, wie es am besten aussehen sollte.
[ externes Bild ]
Das Original sieht so aus: http://mariowiki.net/forum/
Anbei noch der verkürzte Code mit den Veränderungen, die ich schon vorgenommen habe.
Code: Alles auswählen
body {
/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
font-family: Verdana, Helvetica, Arial, sans-serif;
color: #828282;
background-image:url(http://www.mariofans.de/Bilder/design/background.jpg);
background-repeat:repeat;
background-attachment:fixed; padding:0px;
/*font-size: 62.5%; This sets the default font size to be equivalent to 10px */
font-size: 10px;
margin: 0;
}
/* Main blocks
---------------------------------------- */
#wrap {
width: 100%;
}
#simple-wrap {
margin: 0 auto;
padding: 6px 10px;
width: 900px;
}
#page-body {
margin: 0 auto;
padding: 0 20px;
clear: both;
width: 900px;
}
#page-footer {
clear: both;
width: 100%;
}
#page-footer h3 {
margin-top: 20px;
}
#logo {
display: block;
width: auto;
padding: 10px 13px 0 10px;
text-align: center;
}
a#logo:hover {
text-decoration: none;
}
/* Search box
--------------------------------------------- */
#search-box {
color: #FFFFFF;
position: relative;
margin-top: 95px;
margin-right: 5px;
display: block;
float: center;
text-align: center;
white-space: nowrap; /* For Opera */
}
/* Round cornered boxes and backgrounds
---------------------------------------- */
.headerbar {
background: #ebebeb none repeat-x 0 0;
color: #FFFFFF;
margin-bottom: 4px;
padding: 0 5px;
text-align: right;
}
.navbar {
margin: 0 auto;
background-color: #ebebeb;
padding: 0 10px;
text-align: center;
}
.forabg {
background: #b1b1b1 none repeat-x 0 0;
margin-bottom: 4px;
padding: 0 5px;
clear: both;
}
.forumbg {
background: #ebebeb none repeat-x 0 0;
margin-bottom: 4px;
padding: 0 5px;
clear: both;
}
.panel {
margin-bottom: 4px;
padding: 0 10px;
background-color: #f3f3f3;
color: #3f3f3f;
}
.post {
padding: 0 10px;
margin-bottom: 4px;
background-repeat: no-repeat;
background-position: 100% 0;
}
.post:target .content {
color: #000000;
}
.post:target h3 a {
color: #000000;
}
/* Horizontal lists
----------------------------------------*/
ul.linklist {
display: block;
margin: 0;
}
ul.linklist li {
display: block;
list-style-type: none;
float: left;
width: auto;
margin-right: 5px;
font-size: 1.1em;
line-height: 2.2em;
}
ul.linklist li.rightside, p.rightside {
float: right;
margin-right: 0;
margin-left: 5px;
text-align: right;
}
ul.navlinks {
padding-bottom: 1px;
margin-bottom: 1px;
border-bottom: 1px solid #FFFFFF;
font-weight: bold;
margin: 0 auto;
text-align: center;
}
ul.leftside {
float: left;
margin-left: 0;
margin-right: 5px;
text-align: left;
}
ul.rightside {
float: right;
margin-left: 5px;
margin-right: -5px;
text-align: right;
}
/* Content container styles
----------------------------------------*/
.content {
min-height: 3em;
overflow: hidden;
line-height: 1.4em;
font-family: "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
font-size: 1em;
color: #333333;
padding-bottom: 1px;
}