Hi,
ich möchte die gesamte Hompage zentriert haben und habe dafür folgenden Code über dem Text eingegeben:
<div align="center">
<table border="0" width="70%" id="table1">
<tr>
<td>
und bei Text unter dem Design:
</td>
</tr>
</table>
</div>
Es ist aber nur die Home Seite zentriert und die anderen nicht.
Ich habe jetzt schon alles mögliche probiert, stecke aber momentan in der Sackgasse.
Vielleicht steckt der Fehler ja auch woanders, hier ist mal mein kompletter Text über dem Design und Danke schon mal für eure Hilfe:
<script language="JavaScript1.2" type="text/javascript">
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
} </body></html></script>
<script language="JavaScript1.2">
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
<style type="text/css">
<!--
td.headline{visibility:hidden;}
-->
<style>
input, textarea{
font-family:Arial;
font-size:11px;
border:1px solid #505050;
color:#505050;
padding:3px 3px 3px 3px;
background-position:bottom;
background-repeat:repeat-x;
background-color:#FFFFFF;
}
</style>
<style type="text/css">
<!--
td.nav{text-decoration: none;color: #FF00000;width: 185px;height: 55px;background-image:url(http://img.webme.com/pic/c/catfish-hunters/hintergrund10.jpg);}
td.nav:hover{text-decoration: none;color: #FF000000;width: 185px;height: 55px;background-image:url(http://img.webme.com/pic/c/catfish-hunters/hintergrund10.1.jpg);}
tr.checked_menu td{background-image:url(http://img.webme.com/pic/c/catfish-hunters/hintergrund10.2.jpg);}
tr.checked_menu td:hover{background-image:url(http://img.webme.com/pic/c/catfish-hunters/hintergrund10.3.jpg);}
-->
</style>
</style>
<style type="text/css">
<!--
body {background-image:url(
http://img.webme.com/pic/c/catfish-hunters/hintergrund8.jpg);}
td.edit_navi_headbg{
margin: 0px;
padding: 0px;
background-image: url(http://img.webme.com/pic/c/catfish-hunters/hintergrund9.jpg);
background-color: #XXXXXX;
width: 185px;
background-repeat: repeat-y;}
td.nav_heading{
width: 89px;
height: 25px;
background-image: url(http://img.webme.com/pic/c/catfish-hunters/hintergrund9.jpg);
background-color: #XXXXXX;
padding-top: 0px;
font-weight: bold;
font-size: 15px;
text-decoration: none;}
td.headline2{visibility: hidden;width: 0px;}
td.edit_content_top{visibility: hidden;width: 0px;}
td.sidebar_heading{visibility: hidden;width: 0px;}
td.edit_rechts_bottom{background-image: url(http://img.webme.com/pic/c/catfish-hunters/hintergrund9.jpg);}
td.edit_content_bottom{visibility: hidden;width: 0px;}
td.edit_content_bottom2{background-image: url(http://img.webme.com/pic/c/catfish-hunters/hintergrund8.jpg);}
td.edit_content_top{background-image:url();}
td.sidebar_heading{background-image:url();}
td.rb_footer{visibility: hidden;width: 0px;}
td.edit_rechts_sbg{visibility: hidden; width: 0px ;}
td.edit_rechts_cbg{background-image: url(http://img.webme.com/pic/c/catfish-hunters/hintergrund8.jpg);}
td.edit_below_nav{visibility: hidden;width: 0px;}
td.rb_footer{visibility: hidden;width: 0px;}
td.edit_content{background-image: url(http://img.webme.com/pic/c/catfish-hunters/hintergrund6.jpg);}
td.edit_rb_footer{background-image: url(http://img.webme.com/pic/c/catfish-hunters/hintergrund9.jpg);}
-->
</style>
</style>
<div align="center">
<table border="0" width="70%" id="table1">
<tr>
<td>
<style type="text/css">
<!--
td#nav_a{visibility:hidden;}
td#nav_b{visibility:hidden;}
td#nav_c{visibility:hidden;}
td#nav_d{visibility:hidden;}
td#nav_e{visibility:hidden;}
td#nav_f{visibility:hidden;}
td#nav_g{visibility:hidden;}
td#nav_h{visibility:hidden;}
td#nav_i{visibility:hidden;}
td#nav_j{visibility:hidden;}
-->
</style>
<style type="text/css">
<!--
td.shouty, .shouty2, .shouty3, .shouty4, .shouty5{background-image: url(http://img.webme.com/pic/c/catfish-hunters/hintergrund12.jpg);}
-->
</style>
</style>
<style type="text/css">
<!--
td.edit_header_full{background-image: url(http://img.webme.com/pic/c/catfish-hunters/test.gif);
background-repeat:no-repeat;background-position: center;}
-->
</style>
<style type="text/css">
<!--
table.edit_main_table{width: 100% !important;}
td.edit_main_tr{width: 100% !important;}
table.edit_second_table{width: 100% !important;}
td.edit_header_full{width: 100% !important;}
td.edit_header_full table{width: 100% !important;}
table.edit_third_table{width: 100% !important;}
td.edit_navi_headbg{width: 15% !important;}
table.edit_rechts_tabelle{width: 100% !important;}
td.edit_rechts_bottom{width: 15% !important;}
td.edit_rechts_cbg{width:100%;}
-->
</style>