Support Forums

There is a space Between the left menu And navbar

This is a discussion on There is a space Between the left menu And navbar within the Technical Support forums, part of the Technical Support Forums category; What version of 68 Classifieds are you running? v4.1.9 Developer What template are you using? default Please describe in detail ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 03-28-2010, 04:07 PM   #1
Customer
 
asheerq's Avatar
 
Join Date: Sep 2009
Posts: 56
Rep Power: 8
asheerq is on a distinguished road
Default There is a space Between the left menu And navbar

What version of 68 Classifieds are you running?

v4.1.9 Developer

What template are you using?

default

Please describe in detail the issue you are having:

hellao to all

I need help please

There is a space Between the left menu And navbar



i want it removing the Trailing space please

i add default/layout.tpl to Attachments

PHP Code:
{*$Revision373 $*}
<!
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=UTF-8" />
    <
meta name="author" content="Luka Cvrk (www.solucija.com)" />
    <
title>{$sitetitle}</title>
    <
meta name="Keywords" content="{$sitekeywords}" />
    <
meta name="Description" content="{$sitedescription}" />
    {if 
$smarty.server.SERVER_PORT == '443'}
    <
base href="{$smarty.const.URLS}/" />
    {else}
    <
base href="{$smarty.const.URL}/" />
    {/if}
    <
link rel="stylesheet" href="templates/{$smarty.const.MAIN_TEMPLATE}/css/style.css" type="text/css" />
    <
script type="text/javascript" src="javascript/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="javascript/main.js"></script>
    {$header}
    {modulehook function="tpl_layout_head" options=""}

</head>
<body>
    <div id="wrapper">
        <div id="header">
            <p id="top_info">
                {dynamic}
                {if $smarty.session.username<>'' || $smarty.cookies.username<>""}
                {$smarty.const.LANG_USER_WELCOME} {$smarty.session.username}
                {if $pmon=="Y"}
                <br />
                <a href="{$smarty.const.URLS}/private.php">{$smarty.const.LANG_PRIVATE_MESSAGES}:</a> {$smarty.const.LANG_UNREAD} {$unreadpms}, {$smarty.const.LANG_TOTAL} {$totalpms}.
                {/if}
                {else}
                {$smarty.const.LANG_WELCOME_GUEST} <br />[<a href="{$smarty.const.URLS}/login.php">{$smarty.const.LANG_USER_LOGIN}</a>, <a href="{$smarty.const.URLS}/userjoin.php">{$smarty.const.LANG_USER_REGISTER}</a>]
                {/if}
                {/dynamic}
            </p>
            
            <div id="logo">
                {if $template_logo <> ''}
                <img src="photos/{$template_logo}" alt="{$template_title}" />
                {else}
                <h1><a href="index.php">{$template_title|default:'68 Classifieds'}</a></h1>
                <p>{$template_description|default:'Your site description'}</p>
                {/if}
            </div>
        </div>
        
        <div class="clear"></div>
        
        <div id="tabs">
            {* Tab navigation with the search bar *}
            <ul>    
                <li><a href="{$smarty.const.URL}/contactus.php">{$smarty.const.LANG_TPL_CONTACT}</a></li>
                <li><a href="{$smarty.const.URLS}/usercheckout.php">{$smarty.const.LANG_TPL_PLACE_AD}</a></li>
                <li><a href="{$smarty.const.URL}/toplistings.php?pg=featured">{$smarty.const.LANG_TPL_FEATURED}</a></li>
                <li><a href="{$smarty.const.URL}/category.php">{$smarty.const.LANG_TPL_BROWSE}</a></li>
                <li><a href="{$smarty.const.URL}/search.php">{$smarty.const.LANG_TPL_SEARCH}</a></li>
                <li><a href="{$smarty.const.URL}/index.php">{$smarty.const.LANG_TPL_HOME}</a></li>    
            </ul>
            <div id="search">
                <form method="get" action="searchresults.php">
                    <p><input type="text" name="searchtext" class="search" value="{$smarty.get.searchtext|escape}" /> <input type="submit" value="{$smarty.const.LANG_SEARCH}" class="button" /></p>
                </form>
            </div>
        </div>
                    
        {*CSS Hack for Internet Explorer*}            
        <div class="gbox">
            <p></div>
        <br />
        
        <table width="100%">
            <tr>
                <td valign="top" width="200">
                    <!-- // Left Side // -->
                        {* Left side navigation.*}
                        {dynamic}
                        <div id="sidebar">
                            <h1>{$smarty.const.LANG_MEMBER_NAVIGATION}</h1>
                            <div class="left-box">
                                <ul class="sidemenu">
                                    {if $smarty.session.username<>'' || $smarty.cookies.username<>""}
                                        <li><a href="{$smarty.const.URL}/userindex.php">{$smarty.const.LANG_MY_ACCOUNT}</a></li>
                                        <li><a href="{$smarty.const.URLS}/usercheckout.php">{$smarty.const.LANG_TPL_PLACE_AD}</a></li>
                                        {if $canSaveFavorites=="Y"}
                                        <li><a href="{$smarty.const.URLS}/userfavorites.php">{$smarty.const.LANG_TPL_VIEW_FAVORITES}</a></li>
                                        {/if}
                                        <li><a href="{$smarty.const.URLS}/userbrowselistings.php">{$smarty.const.LANG_TPL_MODIFY_AD}</a></li>
                                        <li><a href="{$smarty.const.URLS}/logout.php">{$smarty.const.LANG_TPL_LOGOUT}</a></li>
                                    {else}
                                        <li><a href="{$smarty.const.URLS}/login.php">{$smarty.const.LANG_TPL_LOGIN}</a></li>
                                        <li><a href="{$smarty.const.URLS}/usercheckout.php">{$smarty.const.LANG_TPL_PLACE_AD}</a></li>
                                    {/if}
                                </ul>    
                            </div>
                            
                            <h1>{$smarty.const.LANG_TPL_NAVIGATION}</h1>
                            <div class="left-box">
                                <ul class="sidemenu">
                                    <li><a href="{$smarty.const.URL}/index.php">{$smarty.const.LANG_TPL_HOME}</a></li>
                                    <li><a href="{$smarty.const.URL}/search.php">{$smarty.const.LANG_TPL_SEARCH}</a></li>
                                    {foreach from=$templatepages item="entry"}
                                    <li><a href="{$smarty.const.URL}/pages.php?pg={$entry.pURI}">{$entry.pPageTitle}</a></li>
                                    {/foreach}
                                    <li><a href="{$smarty.const.URL}/contactus.php">{$smarty.const.LANG_TPL_CONTACT}</a></li>
                                    {modulehook function="tpl_layout_nav" options=""}
                                


</ul>













<!-- // Baneer// -->
<p style="margin-top: -10px">
<a title="اعلانات ترويجية- اظغط لمزيد من التفاصيل" target="_blank" href="http://3sheerq.com/pages.php?page=11">
<img border="0" src="http://3sheerq.com/images/b/almustashar.png" width="200" height="120"></a></p>
<p style="margin-top: -10px">
<a title="اعلانات ترويجية - اظغط لمزيد من التفاصيل" target="_blank" href="http://3sheerq.com/blog/?p=91">
<img border="0" src="http://3sheerq.com/images/b/tarwiqah.png" width="200" height="120"></a></p>
<p style="margin-top: -10px">
<a title="لمزيد من التفاصيل حول الاعلانات المميزة والاسعار اظغط الرابط" target="_blank" href="http://3sheerq.com/blog/?p=222">
<img border="0" src="http://3sheerq.com/images/b/200.gif" width="200" height="120"></a></p>

<p style="margin-top: -10px">
<script type="text/javascript"><!--
google_ad_client = "pub-3384221764170473";
/* 200x200, تم إنشاؤها 21/01/10 */
google_ad_slot = "0599041622";
google_ad_width = 200;
google_ad_height = 200;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p style="margin-top: -10px">
<script type="text/javascript"><!--
google_ad_client = "pub-3384221764170473";
/* 200x90, تم إنشاؤها 12/02/10 */
google_ad_slot = "4480675801";
google_ad_width = 200;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>




<!-- // End Baneer// -->



</div>
                        {/dynamic}
                </td>
                <td valign="top">
                    <div id="content">
            
                        <!-- // Content // -->
                        <!--[if IE]>
                        <br /><br />
                        <![endif]-->
                        {* This includes the content portion *}
                        {include file=$body}
                        
                        
<!-- // End Content // -->




                    </div>
                </td>
                
            </tr>
        </table>
        
        <div class="footer">


<!-- // Baneer Foter// -->


<script type="text/javascript"><!--
google_ad_client = "pub-3384221764170473";
/* 728x15, تم إنشاؤها 12/02/10 */
google_ad_slot = "9387355447";
google_ad_width = 728;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


<!-- // End Baneer Foter// -->




            <p>
                <a href="{$smarty.const.URL}/index.php">{$smarty.const.LANG_TPL_HOME}</a> ·
                <a href="{$smarty.const.URL}/search.php">{$smarty.const.LANG_TPL_SEARCH}</a> ·
                <a href="{$smarty.const.URL}/category.php">{$smarty.const.LANG_TPL_BROWSE}</a> ·
                <a href="{$smarty.const.URL}/toplistings.php?pg=featured">{$smarty.const.LANG_TPL_FEATURED}</a> ·
                <a href="{$smarty.const.URL}/toplistings.php?pg=new">{$smarty.const.LANG_TPL_NEW}</a> ·
                <a href="{$smarty.const.URL}/toplistings.php?pg=top">{$smarty.const.LANG_TPL_TOP}</a> ·
                {foreach from=$templatepages item="entry"}
                <a href="{$smarty.const.URL}/pages.php?pg={$entry.pURI}">{$entry.pPageTitle}</a> ·
                {/foreach}
                <a href="{$smarty.const.URLS}/usercheckout.php">{$smarty.const.LANG_TPL_PLACE_AD}</a> ·
                <a href="{$smarty.const.URL}/contactus.php">{$smarty.const.LANG_TPL_CONTACT}</a>
                <br />
            <a href="http://www.3sheerq.com">{$smarty.const.LANG_TITLE_FOOTER}</a>© Copyright 2010 </p>
            
        </div>
    </div>
{modulehook function="tpl_layout_footer" options=""}
</body>
</html> 
Please fix it

Or explain to me how to remove the trailing space

Thank you very much
asheerq is offline   Reply With Quote
Old 03-28-2010, 04:32 PM   #2
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,214
Rep Power: 66
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

In glancing through your code (but not knowing what browser your using), I see a couple of things that may be causing issues.

You open, <div class="left-box">, but don't close it </div> until after your banner. Also you have an opening paragraph that never gets closed here <div class="gbox"><p></div> with an addition <br /> after it. Also right before the content portion of the page you have this:
<!--[if IE]>
<br /><br />
<![endif]-->
which would also add a complete blank line.

Hope that helps!
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 03-28-2010, 04:57 PM   #3
Customer
 
asheerq's Avatar
 
Join Date: Sep 2009
Posts: 56
Rep Power: 8
asheerq is on a distinguished road
Default

Please,

Can you add the missing codes

I do not have experience in dealing with such codes

just fix it and past it there

That may have worked

And remove the trailing space
asheerq is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
category total on left menu centinel3 Modules / Plugins / Modifications 10 11-10-2009 01:03 PM
Translate categories in the left menu magicosta Technical Support 0 09-01-2009 06:10 PM
NuStyle left menu redking TemplateCodes 2 07-26-2009 12:00 PM
Footer overlapping left navbar calaf6 Technical Support 6 05-28-2009 10:32 AM
Expanding menu at the left side wesse249 Technical Support 2 08-26-2008 07:12 AM


All times are GMT -4. The time now is 01:28 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0