Jump to content
InvisionCommunity.de - Der Deutsche Invision Community Support
Sign in to follow this  
djope

ip dynamic lite plötzlich zentriert

Recommended Posts

Hi,

ich habe folgendes Problem, nachdem ich ein wenig am Skin rumgebastelt habe, ist das IPD Portal plötzlich komplett zentriert ausgerichtet. Allerdings scheint dies nur beim Mozilla/Firebird so zu sein. Mit dem IE ist es normal links ausgerichtet.

Woran kann das liegen?

Hier der Link zum IPD http://indymind.de

Share this post


Link to post

Du hast wohl den CSS Eintrag ipbwrapper entfernt. ;)

Geh in deine Skindatei skin_csite.php und suche mal folgende Stelle:

function csite_skeleton_template() {

global $ibforums;

return <<<EOF

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />

<meta name="generator" content="IPDynamic Lite">

<meta http-equiv="Pragma" content="no-cache">

<meta http-equiv="no-cache">

<meta http-equiv="Cache-Control" content="no-cache">

<title><!--CS.TEMPLATE.TITLE--></title>

<!--CS.TEMPLATE.Javascript-->

<!--CS.TEMPLATE.CSS-->

</head>

<body>

<div id='ipbwrapper'>

<!--Header-->

<div id='logostrip'>

  <a href='{$ibforums->base_url}' title='Board Home'><img src='{$ibforums->vars['img_url']}/logo4.gif' alt='Powered by Invision Power Board' border="0" /></a>

</div>

<table width="100%" cellspacing="6" id="submenu">

<tr>

<td><a href='{$ibforums->vars['home_url']}'>{$ibforums->vars['home_name']}</a><!--IBF.RULES--></td>

<td align="right">

  <img src="{$ibforums->vars['img_url']}/atb_help.gif" border="0" alt="" />&nbsp;<a href='{$ibforums->base_url}act=Help'>{$ibforums->lang['tb_help']}</a>

  &nbsp; &nbsp;&nbsp;<img src="{$ibforums->vars['img_url']}/atb_search.gif" border="0" alt="" />&nbsp;<a href='{$ibforums->base_url}act=Search&amp;f={$ibforums->input['f']}'>{$ibforums->lang['tb_search']}</a>

  &nbsp; &nbsp;&nbsp;<img src="{$ibforums->vars['img_url']}/atb_members.gif" border="0" alt="" />&nbsp;<a href='{$ibforums->base_url}act=Members'>{$ibforums->lang['tb_mlist']}</a>

  &nbsp; &nbsp;&nbsp;<img src="{$ibforums->vars['img_url']}/atb_calendar.gif" border="0" alt="" />&nbsp;<a href='{$ibforums->base_url}act=calendar'>{$ibforums->lang['tb_calendar']}</a>

  <!--IBF.CHATLINK-->

</td>

</tr>

</table>

<!--CS.TEMPLATE.LINKS-->

<!--End Header-->

<!--Main Content-->

<table width="100%" class='tableborder' cellspacing="0" cellpadding="6">

<tr>

<td width="200" class='row3' valign="top">

  <!-- LEFT -->

    <!--CS.TEMPLATE.WELCOMEBOX-->

    <!--CS.TEMPLATE.SEARCH-->

    <!--CS.TEMPLATE.SITENAV-->

    <!--CS.TEMPLATE.CHANGESKIN-->

    <!--CS.TEMPLATE.ONLINEUSERS-->

    <!--CS.TEMPLATE.POLL-->

    <!--CS.TEMPLATE.LATESTPOSTS-->

    <!--CS.TEMPLATE.RECENTARTICLES-->

    <!--CS.TEMPLATE.AFFILIATES-->

  <!--END LEFT-->

  <br /><img src='{$ibforums->vars['img_url']}/spacer.gif' alt='' width='200' height='1' />

</td>

<!--SPACER-->

<td width="5" class='row3'>&nbsp;</td>

<td width="90%" class='row3' valign="top">

  <!--MAIN-->

    <!--CS.TEMPLATE.ARTICLES-->

  <!--END MAIN-->

</td>

</tr>

<!--End Main Content-->

<tr>

<td colspan='3'  class='row3' align='center'>

<!--CS.TEMPLATE.COPYRIGHT-->

<!--CS.TEMPLATE.DEBUG-->

</td>

</tr>

</table>

<div class='titlemedium'>&nbsp;</div>

</div>

</body>

</html>

EOF;

}

Die beiden rot markierten Stellen füg mal wieder ein und dann sollte es klappen. :)

Share this post


Link to post

Also ich hab mir gerade nochmal den HTML Quelltext deines Portals angeschaut und die Zeile

<div id='ipbwrapper'>

nicht gefunden. Hab sogar danach suchen lassen und sie wurde nicht gefunden. ;)

Share this post


Link to post

Entweder du machst es über die Datei skin_csite.php, dann findest du es dort, wie ich es in dem ersten Beitrag von mir beschrieben habe oder du gehst übers ACP, falls du Safe Mode aktiviert hast und deine Skins aus der Datenbank holst.

ACP => Skins & Templates => HTML Templates => Manage HTML (bei deinem Skin) => IP Dynamic Lite => Edit Single (bei MAIN TEMPLATE)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />

<meta name="generator" content="IPDynamic Lite">

<meta http-equiv="Pragma" content="no-cache">

<meta http-equiv="no-cache">

<meta http-equiv="Cache-Control" content="no-cache">

<title><!--CS.TEMPLATE.TITLE--></title>

<!--CS.TEMPLATE.Javascript-->

<!--CS.TEMPLATE.CSS-->

</head>

<body>

<div id='ipbwrapper'>

<!--Header-->

<div id='logostrip'>

  <a href='{ibf.script_url}' title='Board Home'><img id='logoimg'  src='{ibf.vars.img_url}/logo4.gif' alt='Powered by Invision Power Board' border="0" /></a>

</div>

<table width="100%" cellspacing="6" id="submenu">

<tr>

<td><a href='{ibf.vars.home_url}'>{ibf.vars.home_name}</a>&nbsp;&nbsp;&middot;&nbsp;&nbsp;<a href="index.php">zum

SupportForum</a></a><!--IBF.RULES--></td>

<td align="right">

  <img src="{ibf.vars.img_url}/atb_help.gif" border="0" alt="" />&nbsp;<a href='{ibf.script_url}act=Help'>{ibf.lang.tb_help}</a>

  &nbsp; &nbsp;&nbsp;<img src="{ibf.vars.img_url}/atb_search.gif" border="0" alt="" />&nbsp;<a href='{ibf.script_url}act=Search&amp;f={$ibforums->input['f']}'>{ibf.lang.tb_search}</a>

  &nbsp; &nbsp;&nbsp;<img src="{ibf.vars.img_url}/atb_members.gif" border="0" alt="" />&nbsp;<a href='{ibf.script_url}act=Members'>{ibf.lang.tb_mlist}</a>

  &nbsp; &nbsp;&nbsp;<img src="{ibf.vars.img_url}/atb_calendar.gif" border="0" alt="" />&nbsp;<a href='{ibf.script_url}act=calendar'>{ibf.lang.tb_calendar}</a>

  <!--IBF.CHATLINK-->

</td>

</tr>

</table>

<!--CS.TEMPLATE.LINKS-->

<!--End Header-->

<!--Main Content-->

<table width="100%" class='tableborder' cellspacing="0" cellpadding="6">

<tr>

<td width="200" class='row3' valign="top">

  <!-- LEFT -->

    <!--CS.TEMPLATE.WELCOMEBOX-->

    <!--CS.TEMPLATE.SEARCH-->

    <!--CS.TEMPLATE.SITENAV-->

    <!--CS.TEMPLATE.CHANGESKIN-->

    <!--CS.TEMPLATE.ONLINEUSERS-->

    <!--CS.TEMPLATE.POLL-->

    <!--CS.TEMPLATE.LATESTPOSTS-->

    <!--CS.TEMPLATE.RECENTARTICLES-->

    <!--CS.TEMPLATE.AFFILIATES-->

  <!--END LEFT-->

  <br /><img src='{ibf.vars.img_url}/spacer.gif' alt='' width='200' height='1' />

</td>

<!--SPACER-->

<td width="5" class='row3'>&nbsp;</td>

<td width="90%" class='row3' valign="top">

  <!--MAIN-->

   

    <!--CS.TEMPLATE.ARTICLES-->

 

  <!--END MAIN-->

</td>

</tr>

<!--End Main Content-->

<tr>

<td colspan='3'  class='row3' align='center'>

<!--CS.TEMPLATE.COPYRIGHT-->

<!--CS.TEMPLATE.DEBUG-->

</td>

</tr>

</table>

<div class='titlemedium'>&nbsp;</div>

</div>

</body>

</html>

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×