Seite 1 von 1

M$ IE zerstört mein header

Verfasst: 08.09.2005 22:32
von kolja
so als firefoxuser hat man es schon leicht ;-)

aber es soll ja noch leute geben die den IE benutzen

einer davon ist mein mitbewohner, der mir gerade was erschreckendes zeigte:

www.mona-davinci.de

ist natürlich nur mit dem IE schrecklich

nun aber die frage, wie bekomme ich das hin das beide (wenn möglich alle) browser die korrekte formatierung anzeigen ?

hier mal der entprechende code:

Code: Alles auswählen

<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center"> 
	<tr> 
		<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
			<tr> 
				<td><a href="{U_BANNER}"><img src="templates/subGreen/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
				<td align="center" width="100%" valign="middle">&nbsp; </span> 
				<table cellspacing="0" cellpadding="2" border="0">
					<tr> 
<span class="mainmenu">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a href="http://reggae-party.dyndns.org:8000/listen.pls" class="mainmenu"><img src="templates/subGreen/images/rpderadio.gif" width="110" height="18" border="0" alt="Reggae-Party Radio" hspace="3" /></a>&nbsp; 
&nbsp;
<!-- BEGIN switch_user_logged_in -->
&nbsp;<a href="javascript:void(0);" onClick="window.open('{S_JOIN_CHAT}','{CHATBOX_NAME}','scrollbars=no,width=540,height=450')" class="mainmenu"><img src="templates/subGreen/images/chat.gif" width="59" height="18" border="0" hspace="3" /></a></span>&nbsp;
<!-- END switch_user_logged_in -->

<!-- BEGIN switch_user_logged_out -->
<!--a href="{U_REGISTER}" class="mainmenu"><img src="templates/subGreen/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span>&nbsp; -->
<!-- END switch_user_logged_out -->
&nbsp;

<a href="http://culturerockradio.dyndns.org:8000/listen.pls" class="mainmenu"><img src="templates/subGreen/images/crradio.gif" width="110" height="18" border="0" alt="Culturerock Radio" hspace="3" /><br /> 
</tr>
<img src="images/spacer.gif" width="100" height="30" alt=".">

<!-- a href="{U_FAQ}" class="mainmenu"><img src="templates/subGreen/images/icon_mini_faq.gif" width="59" height="18" border="0" alt="{L_FAQ}" hspace="3" /></a></span><span class="mainmenu">&nbsp; &nbsp; -->

<a href="{U_LINKS}" class="mainmenu"><img src="templates/{T_NAME}/images/icon_mini_links.gif" width="55" height="18" border="0" alt="{L_LINKS}" hspace="3" /></a>&nbsp;
<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subGreen/images/icon_mini_members.gif" width="98" height="18" border="0" alt="{L_MEMBERLIST}" hspace="3" /></a>&nbsp; 

<a href="statistics.php" class="mainmenu"><img src="templates/subGreen/images/icon_mini_statistics.gif" width="80" height="18" border="0" alt="Statistics" hspace="3" /></a>&nbsp;
<a href="{U_ALBUM}" class="mainmenu"><img src="templates/subGreen/images/icon_mini_photos.gif" width="70" height="18" border="0" alt="{L_ALBUM}" hspace="3" />{L_ALBUM}</a>&nbsp;
<a href="{U_CALENDAR}" class="mainmenu"><img src="templates/subGreen/images/kal.gif" width="80" height="18" border="0" alt="{L_CALENDAR}" hspace="3" /></a> <br /> 
<img src="images/spacer.gif" width="1" height="30" alt=".">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subGreen/images/icon_mini_search.gif" width="70" height="18" border="0" alt="{L_SEARCH}" hspace="3" /></a>&nbsp; 
<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subGreen/images/icon_mini_profile.gif" width="59" height="18" border="0" alt="{L_PROFILE}" hspace="3" /></a>&nbsp; &nbsp;
<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src={PRIVMSG_IMG} width="120" height="18" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" /></a>&nbsp; &nbsp;
<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subGreen/images/icon_mini_login.gif" width="55" height="18" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" /></a>&nbsp;</span>

	</td>			
					</tr>
				</table></td>
			</tr>
		</table>
		
		<br />
oh ha ziemlich unübersichtlich mit der erzwungenen zeilenumbrüchen

kolja

Verfasst: 08.09.2005 22:46
von Markus67
Hi ...

suche in der overall_header.tpl

Code: Alles auswählen

</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
alles was danach kommt mit dem hier ersetzen:

Code: Alles auswählen

<a name="top"></a>

<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center"> 
	<tr> 
		<td class="bodyline">
			<table width="100%" cellspacing="0" cellpadding="0" border="0">
				<tr> 
					<td><a href="{U_BANNER}"><img src="templates/subGreen/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
					<td align="center" width="100%" valign="middle">&nbsp; </span> 
						<table cellspacing="0" cellpadding="2" border="0">
							<tr> 
								<td align="center">
									<span class="mainmenu">
										<a href="http://reggae-party.dyndns.org:8000/listen.pls" class="mainmenu"><img src="templates/subGreen/images/rpderadio.gif" width="110" height="18" border="0" alt="Reggae-Party Radio" hspace="3" /></a>&nbsp;&nbsp;
										<!-- BEGIN switch_user_logged_in -->
										&nbsp;<a href="javascript:void(0);" onClick="window.open('{S_JOIN_CHAT}','{CHATBOX_NAME}','scrollbars=no,width=540,height=450')" class="mainmenu"><img src="templates/subGreen/images/chat.gif" width="59" height="18" border="0" hspace="3" /></a></span>&nbsp;
										<!-- END switch_user_logged_in -->
										<!-- BEGIN switch_user_logged_out -->
											<!--a href="{U_REGISTER}" class="mainmenu"><img src="templates/subGreen/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span>&nbsp; -->
										<!-- END switch_user_logged_out -->
										&nbsp;<a href="http://culturerockradio.dyndns.org:8000/listen.pls" class="mainmenu"><img src="templates/subGreen/images/crradio.gif" width="110" height="18" border="0" alt="Culturerock Radio" hspace="3" />
										<br /> 
										<!-- a href="{U_FAQ}" class="mainmenu"><img src="templates/subGreen/images/icon_mini_faq.gif" width="59" height="18" border="0" alt="{L_FAQ}" hspace="3" /></a></span><span class="mainmenu">&nbsp; &nbsp; -->
										<a href="{U_LINKS}" class="mainmenu"><img src="templates/{T_NAME}/images/icon_mini_links.gif" width="55" height="18" border="0" alt="{L_LINKS}" hspace="3" /></a>&nbsp;
										<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subGreen/images/icon_mini_members.gif" width="98" height="18" border="0" alt="{L_MEMBERLIST}" hspace="3" /></a>&nbsp; 
										<a href="statistics.php" class="mainmenu"><img src="templates/subGreen/images/icon_mini_statistics.gif" width="80" height="18" border="0" alt="Statistics" hspace="3" /></a>&nbsp;
										<a href="{U_ALBUM}" class="mainmenu"><img src="templates/subGreen/images/icon_mini_photos.gif" width="70" height="18" border="0" alt="{L_ALBUM}" hspace="3" />{L_ALBUM}</a>&nbsp;
										<a href="{U_CALENDAR}" class="mainmenu"><img src="templates/subGreen/images/kal.gif" width="80" height="18" border="0" alt="{L_CALENDAR}" hspace="3" /></a>  
										<br />
										<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subGreen/images/icon_mini_search.gif" width="70" height="18" border="0" alt="{L_SEARCH}" hspace="3" /></a>&nbsp; 
										<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subGreen/images/icon_mini_profile.gif" width="59" height="18" border="0" alt="{L_PROFILE}" hspace="3" /></a>&nbsp; &nbsp;
										<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src={PRIVMSG_IMG} width="120" height="18" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" /></a>&nbsp; &nbsp;
										<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subGreen/images/icon_mini_login.gif" width="55" height="18" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" /></a>&nbsp;
									</span>
								</td>			
							</tr>
					</table>
				</td>
			</tr>
		</table>
	<br />
Markus

Verfasst: 08.09.2005 23:43
von kolja
erledigt

nächstes prob


kolja

p.s. soll ich dir eigentlich mal meine to-do liste schicken *scherz*

Verfasst: 08.09.2005 23:48
von Markus67
Hi ...

noch ein schönheitsfehler ...
suche:

Code: Alles auswählen

				&nbsp;<a href="http://culturerockradio.dyndns.org:8000/listen.pls" class="mainmenu"><img src="templates/subGreen/images/crradio.gif" width="110" height="18" border="0" alt="Culturerock Radio" hspace="3" />
										<br /> 
erstetze mit:

Code: Alles auswählen

										&nbsp;<a href="http://culturerockradio.dyndns.org:8000/listen.pls" class="mainmenu"><img src="templates/subGreen/images/crradio.gif" width="110" height="18" border="0" alt="Culturerock Radio" hspace="3" />
										<br /><br />