Kennt sich jemand in php aus??
-
Habe mir jetzt eine eigene homepage zusammen gebastelt mit phpfusion und wollte communtiy network bar bei mir reinbasteln und habe die genau im header drin.
Danke in voraus -
jup kenn mich mit php aus, aber nicht mit phpfusion
kann dir aber evt. trotzdem helfen
-
www.freelancer-galaxy-at-war.de so sieht das aus
-
your problem is that div tag:
replace it with:
the margin is the distance to the borders so it’s 35px to the top 10px to the left and right
-
Super work.Thank you for your fast answere.
-
xD das is ja der deutsche bereich
-
War mir jetzt nicht sicher woher du jetzt kommst!
Hätte vieleicht noch eine frage.vieleicht kannst du mir dabei auch helfen und zwar wie kann ich die navigation panels farbig einzeln ändern.Habe jetzt eine png datei ausgetauscht,aber jetzt ist shoutbox und das login usw auch in der farbe -
das ist sehr warscheinlich eine datei für alle also sehr schwer nur eins zu ändern
-
habe das hier gefunden sytle.css
body {
font : 11px Verdana, Arial, Sans, sans-serif;
color : #eee;
background : #111;
margin : 25px 0 25px 0;;
padding : 0;
}a {
text-decoration : none;
color : #0099cc;
}a:hover {
text-decoration : underline;
color : #0099cc;
}a.side {
text-decoration : none;
color : #0099cc;
}a:hover.side {
text-decoration : underline;
color : #0099cc;
}#footer a {
text-decoration : none;
color : #ddd;
}#footer a:hover {
text-decoration : underline;
color : #ddd;
}.outer {
width : 95%;
border : 1px solid #000;
margin-left : auto;
margin-right : auto;
}#container {
height:100%;
line-height : 1.5em;
color : #ddd;
background : #333;
padding : 2px;
}#header {
height : 140px;
color : #eedd99;
background: #005599 url(images/galaxy_at_war.png) repeat-x;
padding : 5px;
}#title {
font : bold 30px “Trebuchet MS”, verdana, arial, sans-serif;
color : #fff;
line-height: 18px;
padding-top: 20px;
}#title .subtitle {
font : bold 15px “Trebuchet MS”, verdana, arial, sans-serif;
color : #000;
}#top-header {
text-transform : uppercase;
text-align : right;
font : bold 85% helvetica, “Trebuchet MS”, arial, sans-serif;
color : #bbb;
background : #000;
padding : 5px;
}#top-header a {
text-decoration : none;
color : #ddd;
background : inherit;
}#top-header a:hover {
text-decoration : underline;
color : #ddd;
background : inherit;
}#sub-header{
text-transform : uppercase;
font : bold 85% helvetica, “Trebuchet MS”, arial, sans-serif;
color : #bbb;
background : #000;
border-top : 1px solid #000;
border-bottom : 1px solid #000;
margin : 0;
padding : 0;
}#sub-header ul {
float: left;
list-style: none;
margin: 0;
padding: 0;
width: 100%;
}#sub-header a {
background: #000;
color: #ddd;
display: block;
float: left;
margin: 0;
padding: 4px 6px 4px 6px;
text-decoration: none;
}#sub-header a:hover {
background: #0066bb;
color: #ddd;
padding: 0.4em 0.6em 0.4em 0.6em;
}#sub-header li {
float: left;
margin: 0;
padding: 0;
}#sub-header ul li.first-link .bullet {
display: none;
}#main-content {
padding : 6px;
}.side-both #main-content {margin: 0 190px 0 190px;}
.side-left #main-content {margin-left: 190px;}
.side-right #main-content {margin-right: 190px;}#side-border-left {
float : left;
width : 180px;
color : #333;
padding : 6px;
}#side-border-right {
float : right;
width : 180px;
color : #222;
padding : 6px;
}.side-border {
border : 1px solid #000;
}.side-caption {
font-size : 10px;
color : #eee;
background: #000;
padding : 2px 5px 3px 5px;
}.side-body {
font-size : 10px;
color : #ddd;
background: #222;
background: #222 url(images/navlilaschwarz.png) repeat-x;
border-top : 1px solid #000;
padding : 3px 5px 5px 5px;
}.main-border {
border : 1px solid #000;
margin-bottom : 8px;
}.main-caption {
color : #eee;
background : #111;
padding : 5px;
}.main-body {
color : #bbb;
background : #222;
border-top : 1px solid #000;
padding : 3px 5px 5px 5px;
}#footer {
font-size : 9px;
color : #aaa;
background: #222;
border-top : 1px solid #000;
padding : 5px;
}#main-container{
width: 100%;
overflow: auto;
}form {
margin : 0px;
}hr {
height : 2px;
border-bottom : 1px solid #333;
border-top : 1px solid #000;
}hr.side-hr {
height : 2px;
border-bottom : 1px solid #333;
border-top : 1px solid #000;
}td {
font-family : “trebuchet ms”, Verdana, Tahoma, Arial, Sans-Serif;
font-size : 11px;
}pre {
font-family : Verdana, Tahoma, Arial, Sans-Serif;
font-size : 11px;
}.alt {
color : #888;
}.admin-message {
text-align : center;
background : #111;
border : 1px solid #333;
padding : 3px 4px 5px 4px;
margin-bottom : 5px;
}.button {
font : 11px “Trebuchet MS”, verdana, arial, sans-serif;
color : #ddd;
background: #0066bb url(images/menu.png) repeat-x;
border : 1px solid #000;
margin-top : 2px;
}.bbcode {
font-family : “trebuchet ms”, Tahoma, Arial, Verdana, Sans-Serif;
font-size : 11px;
background : #111;
border : 1px solid #333;
margin-top : 2px;
}.textbox {
font-family : “trebuchet ms”, Verdana, Tahoma, Arial, Sans-Serif;
font-size : 11px;
color : #aaa;
background : #111;
border : 1px solid #333;
padding : 3px;
}.news-category {
border: 0;
margin: 2px 10px 0 0;
float: left;
}.news-footer {
text-align: center;
font-size : 10px;
background : #111;
border : 1px solid #333;
margin : 8px 0 2px 0;
padding : 0.3em;
}.tbl-border {
border : 1px solid #333;
}.tbl {
font-size : 11px;
padding : 4px;
}.tbl1 {
font-size : 11px;
background : #222;
padding : 4px;
}.tbl2 {
font-size : 11px;
background : #111;
padding : 4px;
}.forum-caption {
font-size : 11px;
color : #eee;
background : #000;
padding : 2px 4px 3px;
}.quote {
color : #888;
background : #111;
padding : 2px;
margin : 0 20px;
border : 1px solid #333;
}.poll {
height : 12px;
border : 1px solid #000;
}.comment-name {
color : #0099cc;
}.shoutboxname {
color : #0099cc;
}.shoutbox {
color : #ddd;
}.shoutboxdate {
font-size : 9px;
color : #888;
}.small {
font-size : 10px;
font-weight : normal;
}.small2 {
font-size : 10px;
font-weight : normal;
color : #888;
}.side-small {
font-size : 10px;
}.side-label {
color : #0099cc;
background : #111;
padding : 2px;
}#navigation {
line-height : 2em;
}#navigation h2 {
margin : 10px 0 10px 0;
font : normal 11px verdana, arial, tahoma, sans-serif;
color : #0099cc;
background : inherit;
}#navigation ul {
margin: 0;
padding: 0;
list-style-type: none;
}#navigation li {
margin : 0 0 0.5em 0;
}#navigation a {
display : block;
font-size : 11px;
color : #0099cc;
background : #111;
padding : 0.1em 0.8em;
border : 1px solid #333;
text-decoration : none;
}#navigation a:hover {
background: #0066bb url(images/menu.png) repeat-x;
color : #ddd;
}/* Page Navigation */
.pagenav {
padding: 0.4em;
}.pagenav span {
background : #0066bb;
border: 1px solid #000;
padding: 0.2em 0.4em 0.2em 0.4em;
margin: 0.2em;
}.pagenav a {
border: 1px solid #000;
padding: 0.2em 0.4em 0.2em 0.4em;
margin: 0.2em;
text-decoration: none;
color : #0099cc;
background : #222;
}.pagenav a:hover {
margin: 0.2em;
text-decoration: none;
background : #0066bb;
color : #ddd;
}/Helpers/
.center {margin: 0 auto;}
.content_center {text-align: center;}
.flleft {float: left !important;}
.flright {float: right !important;}
.clear {clear: both;}/IE Fixes/
- html #main-content {
height: 1%;
width: auto;
}
.clearfix:after {
content:“.”;
display:block;
height:0;
clear:both;
visibility:hidden;
}
/* Hide from IE Mac */
.clearfix {display:block;}
/* End hide from IE Mac */
.floatfix {overflow:hidden;} - html .floatfix {width:100%;}
.center, * {margin: 0 auto;}
kannst du damit was anfangen ??
- html #main-content {
-
http://de.selfhtml.org/css/index.htm
wenn ich das stichwort richtig verstand ist das ein stylesheetcode. selfhtml.org ist relativ primitiv in sachen aspektreichtum aber die referenz in sachen grundlagen. -
Danke.Habe gestern noch ein bischen gebastelt und etwas hinbekommen,nur bekomme ich das nicht richtig ausgerichtet.Die abstände bekomme ich nicht hin!
ul#menu2, ul#menu2 ul {
list-style-type:none;
margin-top:0px; margin-left:0px; margin-bottom:0px; margin-right:0px;
padding: 0;
width: 16em;
text-align: left;
}ul#menu2 a {
display: block;
text-decoration: none;
}ul#menu2 li {
margin-top: 0px;
}ul#menu2 li a {
background: #333;
background-image: url(silvergradient.gif);
color: #FDF8F8;
padding: 0.0em;
margin-bottom: 0px;
}ul#menu2 li a:hover {
background: #000;
background-image: url(silvergradientover.gif);
}ul#menu2 li ul a {
background: #999;
color: #000;
padding: 0px;
}ul#menu2 li ul a:hover {
background: #666;
border-left: 10px #00ff00 solid;
padding: 0px;
}ul#menu2 li ul a:active {
background: #666;
border-left: 10px #00ff00 solid;
padding-left: 10px;
}Das habe ich bearbeitet und links,oben und unten bekomme ich nicht hin.Entweder von oben nach unten wird der abstand nur grösser,oder unten nach oben grösser aber nie bis am rand der box.Habe es nur mal hinbekommen das es nach rechst bündig geht.
-
Habs hinbekommen.Danke an alle die mir geholfen haben und fĂĽr die hilfeseiten.Weiterhin erfolgreiches Modden
-
Hallo Tai
Hast du zufällig phptut für seitennavigation??
Weil möchte nicht alle news auf eine seite haben,weil wenn ich noch mehr news reinpacke,ist man ja ewig am runterscrollen.Habe zwar schon paar ausprobiert,aber immer ein fehler drin. -
wie meinst du das, ich versteh die frage nicht so ganz
-
sowas wie pageination… dafür müsste man das sql statement ändern und eine seiten verwaltung… Sowas sollte es aber schon fertig geben.
Schau mal ob da was dabei ist…
http://www.dynamicdrive.com/search/search.php?zoom_query=pagination&zoom_per_page=10&zoom_and=1&zoom_sort=0