Suche im Forum:
Suchen


« Vorheriges Thema anzeigen :: Nächstes Thema anzeigen »  
Autor Nachricht
Beitrag27.01.2009 um 18:58 (UTC)    
Titel: HTML Header mittig anzeigen

Folgendes Anliegen,

hier soll der Header mittig angezeigt werden, wie bekomme ich das hin?
So wie es derzeit aussieht sieht man HIER

Bitte helft mir! Laughing


Zitat:
<html>
<head>
<title>[TITLE]</title>
<link type="text/css" rel="StyleSheet" href="http://s102.ucoz.net/src/css/681.css" />
</head>

<body style="background-color:#000000; margin:0px; padding:0px;">

<!-- Header -->
<div style="text-align: right; position: center;"><table border="0" cellpadding="0" cellspacing="0" height="240" width="1120" style="background-image: url('http://img.webme.com/pic/s/schimmlers/neuerbanner.jpg'); background-color: #000000; background-position: center;">
<tr>
<div style="text-align: right;"><td><table cellpadding="0" cellspacing="0" border="0" height="240"><tr><td height="40" style="padding-left:20px;color:#??????;">$WDAY$, $DATE$, $TIME$<br /><?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?>You logged in as <a href="$PERSONAL_PAGE_LINK$"><b>$USERNAME$</b></a> | Group "<u>$USER_GROUP$</u>"<?else?>Hello <b>$USERNAME$</b><?endif?><?endif?> {IF}| <a href="[RSS_URL]">RSS</a>{ENDIF}</td></tr><tr><td height="200" style="padding-top:70px;padding-left:100px;"><span style="color:#FFFFFF;font:20pt bold Verdana,Tahoma;"><b></b></span></td></tr></table></td>
<td width="0" style="background:url('');" valign="top" align="right">
<div style="padding-top:13px;padding-right:87px;"><a href="$HOME_PAGE_LINK$" title="Site home"><img src="http://s102.ucoz.net/t/451/2.gif" border="0" alt="Site home"></a></div>
<div style="padding-top:29px;padding-right:70px;"><?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?><a href="$PERSONAL_PAGE_LINK$" title="Profile page"><img src="http://s102.ucoz.net/t/451/3.gif" border="0" alt="Profile page"></a><?else?><a href="$REGISTER_LINK$" title="Register now"><img src="http://s102.ucoz.net/t/451/4.gif" border="0" alt="Register now"></a><?endif?><?endif?></div>
<div style="padding-top:32px;padding-right:62px;"><?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?><a href="$LOGOUT_LINK$" title="Log out"><img src="http://s102.ucoz.net/t/451/5.gif" border="0" alt="Log out"></a><?else?><a href="$LOGIN_LINK$" title="Log in"><img src="http://s102.ucoz.net/t/451/6.gif" border="0" alt="Log in"></a><?endif?><?endif?></div>
</td>
</tr>
</table><div style="text-align: right;">

<!-- /Header -->

<div style="text-align: right;"><table cellpadding="0" cellspacing="0" border="0" width="100%" style="padding: 10px 3px;"><tr><td width="100%" align="center"><div style="text-align: right;">

<!-- Body -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" width="240">

<!-- -->
<table border="0" cellpadding="0" cellspacing="0" width="240">
<tr><td height="77" colspan="3" style="background:url('http://s102.ucoz.net/t/681/8.gif');padding-top:13px; padding-left:40px;"><b>Site Menu</b></td></tr>
<tr><td valign="top" width="35" style="background:url('http://s102.ucoz.net/t/681/9.gif');"><img src="http://s102.ucoz.net/t/681/10.gif" border="0"></td><td width="180" style="background:url('http://s102.ucoz.net/t/681/11.gif') bottom no-repeat #1B1B1B;">$SITE_MENU$</td><td valign="bottom" width="25" style="background:url('http://s102.ucoz.net/t/681/12.gif');"><img src="http://s102.ucoz.net/t/681/13.gif" border="0"></td></tr>
<tr><td height="39" colspan="3"><img src="http://s102.ucoz.net/t/681/14.gif" border="0"></td></tr>
</table>
<!--/-->

<!-- -->
{IF}
<table border="0" cellpadding="0" cellspacing="0" width="240">
<tr><td height="77" colspan="3" style="background:url('http://s102.ucoz.net/t/681/8.gif');padding-top:13px; padding-left:40px;"><b>[CATS_TITLE]</b></td></tr>
<tr><td valign="top" width="35" style="background:url('http://s102.ucoz.net/t/681/9.gif');"><img src="http://s102.ucoz.net/t/681/10.gif" border="0"></td><td width="180" style="background:url('http://s102.ucoz.net/t/681/11.gif') bottom no-repeat #1B1B1B;">[CATEGORIES]</td><td valign="bottom" width="25" style="background:url('http://s102.ucoz.net/t/681/12.gif');"><img src="http://s102.ucoz.net/t/681/13.gif" border="0"></td></tr>
<tr><td height="39" colspan="3"><img src="http://s102.ucoz.net/t/681/14.gif" border="0"></td></tr>
</table>
{ENDIF}
<!--/-->

<!-- -->

<?if($CHAT_BOX$)?>
<table border="0" cellpadding="0" cellspacing="0" width="240">
<tr><td height="77" colspan="3" style="background:url('http://s102.ucoz.net/t/681/8.gif');padding-top:13px; padding-left:40px;"><b>Chat box</b></td></tr>
<tr><td valign="top" width="35" style="background:url('http://s102.ucoz.net/t/681/9.gif');"><img src="http://s102.ucoz.net/t/681/10.gif" border="0"></td><td width="180" style="background:url('http://s102.ucoz.net/t/681/11.gif') bottom no-repeat #1B1B1B;">$CHAT_BOX$</td><td valign="bottom" width="25" style="background:url('http://s102.ucoz.net/t/681/12.gif');"><img src="http://s102.ucoz.net/t/681/13.gif" border="0"></td></tr>
<tr><td height="39" colspan="3"><img src="http://s102.ucoz.net/t/681/14.gif" border="0"></td></tr>
</table>
<?endif?>

<?if($POLL$)?>
<table border="0" cellpadding="0" cellspacing="0" width="240">
<tr><td height="77" colspan="3" style="background:url('http://s102.ucoz.net/t/681/8.gif');padding-top:13px; padding-left:40px;"><b>Site Poll</b></td></tr>
<tr><td valign="top" width="35" style="background:url('http://s102.ucoz.net/t/681/9.gif');"><img src="http://s102.ucoz.net/t/681/10.gif" border="0"></td><td width="180" style="background:url('http://s102.ucoz.net/t/681/11.gif') bottom no-repeat #1B1B1B;">$POLL$</td><td valign="bottom" width="25" style="background:url('http://s102.ucoz.net/t/681/12.gif');"><img src="http://s102.ucoz.net/t/681/13.gif" border="0"></td></tr>
<tr><td height="39" colspan="3"><img src="http://s102.ucoz.net/t/681/14.gif" border="0"></td></tr>
</table>
<?endif?>
<!--/-->

</td>

<td valign="top" style="padding: 23px 10px 10px 10px;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td width="29" height="29"><img src="http://s102.ucoz.net/t/681/15.gif" border="0"></td><td style="background:url('http://s102.ucoz.net/t/681/16.gif');"></td><td width="29" height="29"><img src="http://s102.ucoz.net/t/681/17.gif" border="0"></td></tr>
<tr><td style="background:url('http://s102.ucoz.net/t/681/18.gif');"></td><td style="background:#1B1B1B;">[BODY]</td><td style="background:url('http://s102.ucoz.net/t/681/19.gif');"></td></tr>
<tr><td width="29" height="29"><img src="http://s102.ucoz.net/t/681/20.gif" border="0"></td><td style="background:url('http://s102.ucoz.net/t/681/21.gif');"></td><td width="29" height="29"><img src="http://s102.ucoz.net/t/681/22.gif" border="0"></td></tr>
</table>
</td>

<td valign="top" width="240">

<!-- -->
<?if($LOGIN_FORM$)?>
<table border="0" cellpadding="0" cellspacing="0" width="240">
<tr><td height="77" colspan="3" style="background:url('http://s102.ucoz.net/t/681/23.gif');padding-top:13px; padding-right:40px;" align="right"><b>Login Form</b></td></tr>
<tr><td valign="bottom" width="25" style="background:url('http://s102.ucoz.net/t/681/24.gif');"><img src="http://s102.ucoz.net/t/681/25.gif" border="0"></td><td align="center" width="180" style="background:url('http://s102.ucoz.net/t/681/26.gif') bottom no-repeat #1B1B1B;">$LOGIN_FORM$</td><td valign="top" width="35" style="background:url('http://s102.ucoz.net/t/681/27.gif');"><img src="http://s102.ucoz.net/t/681/28.gif" border="0"></td></tr>
<tr><td height="39" colspan="3"><img src="http://s102.ucoz.net/t/681/29.gif" border="0"></td></tr>
</table>
<?endif?>
<!--/-->

<!-- -->
{IF}
<table border="0" cellpadding="0" cellspacing="0" width="240">
<tr><td height="77" colspan="3" style="background:url('http://s102.ucoz.net/t/681/23.gif');padding-top:13px; padding-right:40px;" align="right"><b>[CALENDAR_TITLE]</b></td></tr>
<tr><td valign="bottom" width="25" style="background:url('http://s102.ucoz.net/t/681/24.gif');"><img src="http://s102.ucoz.net/t/681/25.gif" border="0"></td><td align="center" width="180" style="background:url('http://s102.ucoz.net/t/681/26.gif') bottom no-repeat #1B1B1B;">[CALENDAR]</td><td valign="top" width="35" style="background:url('http://s102.ucoz.net/t/681/27.gif');"><img src="http://s102.ucoz.net/t/681/28.gif" border="0"></td></tr>
<tr><td height="39" colspan="3"><img src="http://s102.ucoz.net/t/681/29.gif" border="0"></td></tr>
</table>
{ENDIF}
<!--/-->

<!-- -->
{IF}
<table border="0" cellpadding="0" cellspacing="0" width="240">
<tr><td height="77" colspan="3" style="background:url('http://s102.ucoz.net/t/681/23.gif');padding-top:13px; padding-right:40px;" align="right"><b>[SEARCH_TITLE]</b></td></tr>
<tr><td valign="bottom" width="25" style="background:url('http://s102.ucoz.net/t/681/24.gif');"><img src="http://s102.ucoz.net/t/681/25.gif" border="0"></td><td align="center" width="180" style="background:url('http://s102.ucoz.net/t/681/26.gif') bottom no-repeat #1B1B1B;">[SEARCH_FORM]</td><td valign="top" width="35" style="background:url('http://s102.ucoz.net/t/681/27.gif');"><img src="http://s102.ucoz.net/t/681/28.gif" border="0"></td></tr>
<tr><td height="39" colspan="3"><img src="http://s102.ucoz.net/t/681/29.gif" border="0"></td></tr>
</table>
{ENDIF}
<!--/-->

<!-- -->
<table border="0" cellpadding="0" cellspacing="0" width="240">
<tr><td height="77" colspan="3" style="background:url('http://s102.ucoz.net/t/681/23.gif');padding-top:13px; padding-right:40px;" align="right"><b>Friends Links</b></td></tr>
<tr><td valign="bottom" width="25" style="background:url('http://s102.ucoz.net/t/681/24.gif');"><img src="http://s102.ucoz.net/t/681/25.gif" border="0"></td><td width="180" style="background:url('http://s102.ucoz.net/t/681/26.gif') bottom no-repeat #1B1B1B;">$GLOBAL_FRIENDS$</td><td valign="top" width="35" style="background:url('http://s102.ucoz.net/t/681/27.gif');"><img src="http://s102.ucoz.net/t/681/28.gif" border="0"></td></tr>
<tr><td height="39" colspan="3"><img src="http://s102.ucoz.net/t/681/29.gif" border="0"></td></tr>
</table>
<!--/-->

<!-- -->
<?if($COUNTER$ || $ONLINE_COUNTER$)?>
<table border="0" cellpadding="0" cellspacing="0" width="240">
<tr><td height="77" colspan="3" style="background:url('http://s102.ucoz.net/t/681/23.gif');padding-top:13px; padding-right:40px;" align="right"><b>Site Statistics</b></td></tr>
<tr><td valign="bottom" width="25" style="background:url('http://s102.ucoz.net/t/681/24.gif');"><img src="http://s102.ucoz.net/t/681/25.gif" border="0"></td><td align="center" width="180" style="background:url('http://s102.ucoz.net/t/681/26.gif') bottom no-repeat #1B1B1B;">$COUNTER$<?if($ONLINE_COUNTER$)?><hr />$ONLINE_COUNTER$$ONLINE_USERS_LIST$<?endif?></td><td valign="top" width="35" style="background:url('http://s102.ucoz.net/t/681/27.gif');"><img src="http://s102.ucoz.net/t/681/28.gif" border="0"></td></tr>
<tr><td height="39" colspan="3"><img src="http://s102.ucoz.net/t/681/29.gif" border="0"></td></tr>
</table>
<?endif?>
<!--/-->

</td>
</tr>
</table>
<!-- /Body -->

</td></tr></table>

<!-- Footer -->
<table border="0" cellpadding="4" cellspacing="0" width="100%" style="background:url('http://s102.ucoz.net/t/681/30.gif');">
<tr><td align="center">Copyright MyCorp &copy; $YEAR$</td></tr>
<tr><td align="center">$POWERED_BY$</td></tr>
</table>
<!-- /Footer -->

</body>

</html>

<!-- PopUp -->
<table border="0" cellpadding="4" cellspacing="0" width="100%" style="background:url('http://s102.ucoz.net/t/681/30.gif');">
<tr><td align="center"><b>[TITLE]</b></td></tr>
</table>
<br />
<table border="0" cellpadding="0" cellspacing="0" width="90%" style="margin:0 5%;">
<tr><td width="29" height="29"><img src="http://s102.ucoz.net/t/681/15.gif" border="0"></td><td style="background:url('http://s102.ucoz.net/t/681/16.gif');"></td><td width="29" height="29"><img src="http://s102.ucoz.net/t/681/17.gif" border="0"></td></tr>
<tr><td style="background:url('http://s102.ucoz.net/t/681/18.gif');"></td><td style="background:#1B1B1B;" align="center">[BODY]</td><td style="background:url('http://s102.ucoz.net/t/681/19.gif');"></td></tr>
<tr><td width="29" height="29"><img src="http://s102.ucoz.net/t/681/20.gif" border="0"></td><td style="background:url('http://s102.ucoz.net/t/681/21.gif');"></td><td width="29" height="29"><img src="http://s102.ucoz.net/t/681/22.gif" border="0"></td></tr>
</table>
<!-- /PopUp -->

______________
www.schimmlers.de MACHT EUCH GEFASST HEHE Wink


Zuletzt bearbeitet von schimmlers am 27.01.2009, 19:58, insgesamt einmal bearbeitet
Beitrag28.01.2009 um 18:17 (UTC)    
Titel:

So ich habe die Lösung gefunden, habe aus width="100%", width="1120" gemacht und den Header in <center> gesetzt. Für alle die, die das gleiche Problem haben/haben werden. Wink

Zitat:
<!-- Header -->
<center><table border="0" cellpadding="0" cellspacing="0" height="240" width="1120" style="background:url('http://img.webme.com/pic/s/schimmlers/neuerbanner.jpg') #000000;">
<tr>
<td><table cellpadding="0" cellspacing="0" border="0" height="240"><tr><td height="40" style="padding-left:20px;color:#??????;">$WDAY$, $DATE$, $TIME$<br /><?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?>You logged in as <a href="$PERSONAL_PAGE_LINK$"><b>$USERNAME$</b></a> | Group "<u>$USER_GROUP$</u>"<?else?>Hello <b>$USERNAME$</b><?endif?><?endif?> {IF}| <a href="[RSS_URL]">RSS</a>{ENDIF}</td></tr><tr><td height="200" style="padding-top:70px;padding-left:100px;"><span style="color:#FFFFFF;font:20pt bold Verdana,Tahoma;"><b></b></span></td></tr></table></td>
<td width="0" style="background:url('');" valign="top" align="right">
<div style="padding-top:13px;padding-right:87px;"><a href="$HOME_PAGE_LINK$" title="Site home"><img src="http://s102.ucoz.net/t/451/2.gif" border="0" alt="Site home"></a></div>
<div style="padding-top:29px;padding-right:70px;"><?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?><a href="$PERSONAL_PAGE_LINK$" title="Profile page"><img src="http://s102.ucoz.net/t/451/3.gif" border="0" alt="Profile page"></a><?else?><a href="$REGISTER_LINK$" title="Register now"><img src="http://s102.ucoz.net/t/451/4.gif" border="0" alt="Register now"></a><?endif?><?endif?></div>
<div style="padding-top:32px;padding-right:62px;"><?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?><a href="$LOGOUT_LINK$" title="Log out"><img src="http://s102.ucoz.net/t/451/5.gif" border="0" alt="Log out"></a><?else?><a href="$LOGIN_LINK$" title="Log in"><img src="http://s102.ucoz.net/t/451/6.gif" border="0" alt="Log in"></a><?endif?><?endif?></div>
</td>
</tr>
</table><center>

<!-- /Header -->

<table cellpadding="0" cellspacing="0" border="0" width="1120" style="padding: 10px 3px;"><tr><td width="100%" align="center">

<!-- Body -->
<table border="0" cellpadding="0" cellspacing="0" width="1120">

______________
www.schimmlers.de MACHT EUCH GEFASST HEHE Wink
Beitrag28.01.2009 um 18:41 (UTC)    
Titel:

ich close dann mal hier Smile
______________

Beiträge der letzten Zeit anzeigen:   


Powered by phpBB © 2001, 2005 phpBB Group
Deutsche Übersetzung von phpBB.de