PDA

View Full Version : Unknown space and other things



xfalmp
Wed 31st Mar '04, 4:47pm
Hello,

I edited the templates so my menu is right below the logo. I'm getting a unknown space between the menu and the breadcrump table. I'd like to know where I'm supposed to edit to remove it.

My header template ends like this:



(...)
<!-- content table -->
$spacer_open

$_phpinclude_output


My FORUMHOME template is like this:



(...)
<if condition="$show['member']">
<body onLoad="MM_preloadImages('images/dickmans/b-off_23.gif','images/dickmans/b-off_24.gif','images/dickmans/b-off_25.gif','images/dickmans/b-off_26.gif','images/dickmans/b-off_27.gif','images/dickmans/b-off_28.gif','images/dickmans/b-off_29.gif','images/dickmans/b-off_30.gif')">
<else />
<body onLoad="MM_preloadImages('images/dickmans/board_17.jpg','images/dickmans/board_18.jpg','images/dickmans/board_19.jpg','images/dickmans/board_20.jpg','images/dickmans/board_21.jpg','images/dickmans/board_22.jpg')">
</if>
$header
$navbar

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
(...)


My navbar template is starts like this:



<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>
(...)


I suspect the unknown space is coming from this HTML:



<!-- open content container -->

<div align="center">
<div class="page" style="width:800px; text-align:left">
<div style="padding:0px 40px 0px 40px">


Which is lost between the header template, right after <!-- content table -->, and the navbar template.

Why that is there and how can I fix it?

The template is working ok all over the board, except for unlogged users forum home. You can see the forum here: http://www.surfelport.com/board/

Thanks in advance.

xfalmp
Wed 31st Mar '04, 4:50pm
My other question is about some tables which weren't affected by the main CSS modifications I did, like the "Redirecting..." and "Quick Reply" tables. Where can I edit those colors?