[gelöst] Logo ist nicht 100% mittig, trotz "center"

Alles zu Styles, Templates, Icons und Smilies für phpBB 3.0.x, sowie allgemeine Designfragen zur Integration von phpBB in bestehende Websites.
phpBB Styles Demo
Forumsregeln
Bei Style spezifischen Fragen ist der Stylename und die Downloadquelle des Styles erforderlich, besser noch die URL vom betroffenen Forum.
Antworten
phatdaro
Mitglied
Beiträge: 14
Registriert: 20.01.2008 16:00

[gelöst] Logo ist nicht 100% mittig, trotz "center"

Beitrag von phatdaro »

Hi zusammen.
Ich spiele gerade ein wenig an einem Testforum rum
www.aui.rockt.es
und hatte es hinbekommen, dass das Logo mittig ist.
Nun habe ich die maximale Breite des Forum auf 850Pixel reguliert.
Jetzt habe ich aber das Problem, dass das Logo zu weit rechts ist.

Hat jemand eine Idee woran das liegen kann?


overall_header

Code: Alles auswählen

<div id="wrapheader">

   <div id="logodesc">
      <table width="100%" cellspacing="0">
      <tr>
         <td align="center"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
 <a href="http://www.aui.rockt.es" target="_blank"></a>
      </tr>

      </table>
   </div>

	<div id="menubar">
		<table width="100%" cellspacing="0">
		<tr>
stylesheet css

Code: Alles auswählen

#wrapheader {
	min-height: 120px;
	height: auto !important;
	height: 120px;
	padding: 0 20px; 
        min-width: 650px; 
        width: 850px; 
        margin: 0 auto; 
}

#wrapcentre {
    padding: 0 20px; 
    min-width: 650px; 
    width: 850px; 
    margin: 0 auto; 
}

#wrapfooter {
	text-align: center;
	clear: both;
}

#wrapnav {
        padding: 0 20px; 
        min-width: 650px; 
        width: 850px; 
        margin: 0;
	background-color: #ECECEC;
	border-width: 1px;
	border-style: solid;
	border-color: #A9B8C2;
}


#logodesc {
	margin-bottom: 5px;
        float: center;
	padding: 5px 25px;
	background: #FFFFFF;
	border-bottom: 0px solid #bebcb8;
}
Zuletzt geändert von phatdaro am 15.02.2008 16:09, insgesamt 1-mal geändert.
JFooty
Ehemaliges Teammitglied
Beiträge: 1868
Registriert: 02.10.2007 11:46

Beitrag von JFooty »

Schmeiß die padding-Werte für #logodesc raus.
phatdaro
Mitglied
Beiträge: 14
Registriert: 20.01.2008 16:00

Beitrag von phatdaro »

Klasse danke für die schnelle Hilfe^^
Antworten

Zurück zu „[3.0.x] Styles, Templates und Grafiken“