Seite 1 von 1

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

Verfasst: 15.02.2008 14:38
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;
}

Verfasst: 15.02.2008 15:57
von JFooty
Schmeiß die padding-Werte für #logodesc raus.

Verfasst: 15.02.2008 16:05
von phatdaro
Klasse danke für die schnelle Hilfe^^