Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

How Move Menu And Below Content Move Up

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

How Move Menu And Below Content Move Up

Postby carrie3800332 » Wed Jul 10, 2013 7:22 am

:help: How Move Menu And Below Content Move Up?Thanks So Much~

Picture To Please Visit The Following URL
https://www.facebook.com/photo.php?fbid ... =3&theater
Code:
<!-- Main navigation -->

<div id="navigation">

<nav id="main-navigation" class="main-navigation" role="navigation">
<div align="center">
<?php
if($_SESSION['locale']=="en_US")
{
?>
<a class="btn btn-small" href="/mypass/makepass/1/"><img class="makepass1_image" src="/img/menu/makepass1_US.jpg"/></a>
<a class="btn btn-small" href="/mypass/makepass/2"><img class="makepass2_image" src="/img/menu/makepass2_US.jpg"/></a>
<a class="btn btn-small" href="/mypass/makepass/3/"><img class="makepass3_image" src="/img/menu/makepass3_US.jpg"/></a>
</p></li>
<a class="btn" href="/mypass/" class="no-submenu"><img class="mypass_image" src="/img/menu/mypass_US.jpg"/></a>
<a class="btn" href="/mypass/send/" class="no-submenu"><img class="sendpass_image" src="/img/menu/sendpass_US.jpg"/></a>
<a class="btn" href="/mypass/push/" class="no-submenu"><img class="pushpass_image" src="/img/menu/pushpass_US.jpg"/></a>
</p></li>
<a class="btn" href="/member/" class="no-submenu"><img class="member_image" src="/img/menu/member_US.jpg"/></a>
<a class="btn" href="/upgrade/" class="no-submenu"><img class="upgrade_image" src="/img/menu/upgrade_US.jpg"/></a>
<a class="btn" href="/account/" class="no-submenu"><img class="account_image" src="/img/menu/account_US.jpg"/></a>
<?php
} else if($_SESSION['locale']=="ja_JP")
{
?>
<a class="btn" href="/mypass/makepass/1/"><img class="makepass1_image" src="/img/menu/makepass1_JP.jpg"/></a>
<a class="btn" href="/mypass/makepass/2"><img class="makepass2_image" src="/img/menu/makepass2_JP.jpg"/></a>
<a class="btn" href="/mypass/makepass/3/"><img class="makepass3_image" src="/img/menu/makepass3_JP.jpg"/></a>
</p></li>
<a class="btn" href="/mypass/" class="no-submenu"><img class="mypass_image" src="/img/menu/mypass_JP.jpg"/></a>
<a class="btn" href="/mypass/send/" class="no-submenu"><img class="sendpass_image" src="/img/menu/sendpass_JP.jpg"/></a>
<a class="btn" href="/mypass/push/" class="no-submenu"><img class="pushpass_image" src="/img/menu/pushpass_JP.jpg"/></a>
</p></li>
<a class="btn" href="/member/" class="no-submenu"><img class="member_image" src="/img/menu/member_JP.jpg"/></a>
<a class="btn" href="/upgrade/" class="no-submenu"><img class="upgrade_image" src="/img/menu/upgrade_JP.jpg"/></a>
<a class="btn" href="/account/" class="no-submenu"><img class="account_image" src="/img/menu/account_JP.jpg"/></a>
<?php
} else if($_SESSION['locale']=="zh_TW")
{
?>
<a class="btn" href="/mypass/makepass/1/"><img class="makepass1_image" src="/img/menu/makepass1_TW.jpg"/></a>
<a class="btn" href="/mypass/makepass/2"><img class="makepass2_image" src="/img/menu/makepass2_TW.jpg"/></a>
<a class="btn" href="/mypass/makepass/3/"><img class="makepass3_image" src="/img/menu/makepass3_TW.jpg"/></a>
</p></li>
<a class="btn" href="/mypass/" class="no-submenu"><img class="mypass_image" src="/img/menu/mypass_TW.jpg"/></a>
<a class="btn" href="/mypass/send/" class="no-submenu"><img class="sendpass_image" src="/img/menu/sendpass_TW.jpg"/></a>
<a class="btn" href="/mypass/push/" class="no-submenu"><img class="pushpass_image" src="/img/menu/pushpass_TW.jpg"/></a>
</p></li>
<a class="btn" href="/member/" class="no-submenu"><img class="member_image" src="/img/menu/member_TW.jpg"/></a>
<a class="btn" href="/upgrade/" class="no-submenu"><img class="upgrade_image" src="/img/menu/upgrade_TW.jpg"/></a>
<a class="btn" href="/account/" class="no-submenu"><img class="account_image" src="/img/menu/account_TW.jpg"/></a>
<?php
} else if($_SESSION['locale']=="zh_CN")
{
?>
<a class="btn" href="/mypass/makepass/1/"><img class="makepass1_image" src="/img/menu/makepass1_CN.jpg"/></a>
<a class="btn" href="/mypass/makepass/2"><img class="makepass2_image" src="/img/menu/makepass2_CN.jpg"/></a>
<a class="btn" href="/mypass/makepass/3/"><img class="makepass3_image" src="/img/menu/makepass3_CN.jpg"/></a>
</p></li>
<a class="btn" href="/mypass/" class="no-submenu"><img class="mypass_image" src="/img/menu/mypass_CN.jpg"/></a>
<a class="btn" href="/mypass/send/" class="no-submenu"><img class="sendpass_image" src="/img/menu/sendpass_CN.jpg"/></a>
<a class="btn" href="/mypass/push/" class="no-submenu"><img class="pushpass_image" src="/img/menu/pushpass_CN.jpg"/></a>
</p></li>
<a class="btn" href="/member/" class="no-submenu"><img class="member_image" src="/img/menu/member_CN.jpg"/></a>
<a class="btn" href="/upgrade/" class="no-submenu"><img class="upgrade_image" src="/img/menu/upgrade_CN.jpg"/></a>
<a class="btn" href="/account/" class="no-submenu"><img class="account_image" src="/img/menu/account_CN.jpg"/></a>
<?php
}
?>
</div>
</nav>
</div>

<!-- /Main navigation -->
<div class= "remove_menu"
remove_action('main-navigation','navigation');
</div>
<!-- /Main navigation display-->
<div class="content-block" role="main">

<?php
echo $pageMainContent;
?>
</div>
<!-- /Right (content) side -->

</section>
<!-- /Main page container -->

<!-- Sticky footer push -->
<div id="push"></div>

</div>
<!-- /Full height wrapper -->
carrie3800332
New php-forum User
New php-forum User
 
Posts: 2
Joined: Wed Jul 10, 2013 6:59 am

Re: How Move Menu And Below Content Move Up

Postby johnj » Thu Jul 11, 2013 6:33 am

the code is bit vague - I would suggest that you move what you want want a few lines up and see if it solves your problem. This issue can be solved only by trial and error.
johnj
php-forum Super User
php-forum Super User
 
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: How Move Menu And Below Content Move Up

Postby carrie3800332 » Fri Jul 12, 2013 7:03 am

OK,Thank you for your suggestion :)
carrie3800332
New php-forum User
New php-forum User
 
Posts: 2
Joined: Wed Jul 10, 2013 6:59 am


Return to PHP coding => General

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.