Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7546839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T09:18:10+00:00 2026-05-30T09:18:10+00:00

I have search for this problem for over 2 hours and i dont understand

  • 0

I have search for this problem for over 2 hours and i dont understand why something so simple doesn’t work.

I try to implement a navbar in my footer but i dont know why jquery add some buttons and the layout becomes horrible.

This is my code :

<!DOCTYPE html> 
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <title>VeryGoodTrip</title>
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script> 
    <script type="text/javascript" src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>   
</head> 
<body>  
    <div data-role="page">
        <div data-role="header">
            <h1>Destinations</h1>
        </div><!-- /header -->

        <div data-role="content" data-theme="c">
            <ul data-role="listview">
                <li><a href="index.html">
                    <img src="img/corse.png" />
                    <h3>Corse</h3>
                    <p>Corse</p>

                </a></li>
                <li><a href="index.html">
                    <img src="img/golf.png" />
                    <h3>Golf du Lyon</h3>
                    <p>Golf du Lyon</p>
                </a></li>
                <li><a href="index.html">
                    <img src="img/lerins.png" />

                    <h3>Iles de lerins</h3>
                    <p>Iles de lerins</p>
                </a></li>
                <li><a href="index.html">
                    <img src="img/menton.png" />
                    <h3>Menton</h3>
                    <p>Menton</p>

                </a></li>
                <li><a href="index.html">
                    <img src="img/monaco.png" />
                    <h3>Monaco</h3>
                    <p>Monaco</p>
                </a></li>
                <li><a href="index.html">
                    <img src="img/nice.png" />      
                    <h3>Nice</h3>
                    <p>Nice</p>
                </a></li>
                <li><a href="index.html">
                    <img src="img/tropez.png" />
                    <h3>Saint-Tropez</h3>
                    <p>Saint-Tropez</p>
                </li>
            </ul>
        </div><!-- /content -->

        <div data-role="footer" data-position="fixed">      
            <div data-role="navbar" data-iconpos="right">
                <ul>
                    <li><a href="index.html" data-icon="refresh" class="ui-state-persist ui-btn-active">Destinations</a></li>
                    <li><a href="index.html" data-icon="refresh">Activités</a></li>
                    <li><a href="index.html" data-icon="refresh">Planning</a></li>
                </ul>
            </div><!-- /navbar -->
        </div><!-- /footer -->

    </div><!-- /page -->
</body>

And this is what i get with firebug :

<div data-position="fixed" data-role="footer" class="ui-footer ui-bar-a ui-footer-fixed fade ui-fixed-overlay" role="contentinfo" style="top: -155px;">
    <a href="index.html" class="ui-btn-left ui-btn ui-btn-up-a ui-btn-corner-all ui-shadow" data-theme="a">
        <span class="ui-btn-inner ui-btn-corner-all">
            <span class="ui-btn-text"></span>
        </span>
    </a>
    <div data-iconpos="right" data-role="navbar" class="ui-navbar" role="navigation">
        **<a href="index.html" data-theme="a" class="ui-btn ui-btn-up-a ui-btn-icon-right">
            <span class="ui-btn-inner">
                <span class="ui-btn-text"></span>
            </span>
        </a>**
        <ul class="ui-grid-c">
            <a href="index.html" class="ui-block-a ui-btn ui-btn-icon-right ui-btn-up-a" data-theme="a">
                <span class="ui-btn-inner">
                    <span class="ui-btn-text"></span>
                </span>
            </a>
            <li class="ui-block-b">
                <a href="index.html" data-theme="a" class="ui-btn ui-btn-icon-right ui-btn-up-a">
                    <span class="ui-btn-inner">
                        <span class="ui-btn-text"></span>
                    </span>
                </a>
                <a class="ui-state-persist ui-btn-active ui-btn ui-btn-icon-right ui-btn-up-a" data-icon="refresh" href="index.html" data-theme="a">
                    <span class="ui-btn-inner">
                        <span class="ui-btn-text">Destinations</span>
                        <span class="ui-icon ui-icon-refresh ui-icon-shadow"></span>
                    </span>
                </a>
            </li>
            <li class="ui-block-c">
                <a data-icon="refresh" href="index.html" data-theme="a" class="ui-btn ui-btn-icon-right ui-btn-up-a">
                    <span class="ui-btn-inner">
                        <span class="ui-btn-text">Activit?s</span>
                        <span class="ui-icon ui-icon-refresh ui-icon-shadow"></span>
                    </span>
                </a>
            </li>
            <li class="ui-block-d">
                <a data-icon="refresh" href="index.html" data-theme="a" class="ui-btn ui-btn-up-a ui-btn-icon-right">
                    <span class="ui-btn-inner">
                        <span class="ui-btn-text">Planning</span>
                        <span class="ui-icon ui-icon-refresh ui-icon-shadow"></span>
                    </span>
                </a>
            </li>
        </ul>
    </div><!-- /navbar -->
</div>

As you can see the two following button shouldn’t be here any idea ?

<a href="index.html" class="ui-btn-left ui-btn ui-btn-up-a ui-btn-corner-all ui-shadow" data-theme="a">
<span class="ui-btn-inner ui-btn-corner-all">
<span class="ui-btn-text"></span>
</span>
</a>

<a href="index.html" data-theme="a" class="ui-btn ui-btn-up-a ui-btn-icon-right">
<span class="ui-btn-inner">
    <span class="ui-btn-text"></span>
</span>
</a>

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T09:18:12+00:00Added an answer on May 30, 2026 at 9:18 am

    You forgot to close a <a> tag so the HTML elements are not nested properly. The problem is with the last list-item in the data-role="content div:

                <li>
                    <a href="index.html">
                        <img src="img/tropez.png" />
                        <h3>Saint-Tropez</h3>
                        <p>Saint-Tropez</p>
                </li>
    

    should be:

                <li>
                    <a href="index.html">
                        <img src="img/tropez.png" />
                        <h3>Saint-Tropez</h3>
                        <p>Saint-Tropez</p>
                    </a>
                </li>
    

    Here is a demo of the above fix: http://jsfiddle.net/9q6My/ (I added a comment next to the closing </a> tag I added)

    As you can see from the code I formatted above, I make sure to indent each nested tag so I can see that every tag has been properly closed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is kind of a weird problem, but I have to create a search
I have search through the web to figure this out but no luck. I
Before anyone recommends that I do a google search on this, I have. I
I have built a T-SQL query like this: DECLARE @search nvarchar(1000) = 'FORMSOF(INFLECTIONAL,hills) AND
I have asp.net TextBox with ontextchanged event this is search text box in my
This question follows on from this vim search question I have a setting in
hai I have a magento web site. In this the search function compare with
i have this MySQL statement from a search page, the user enters there postcode
I have this sql query: SELECT S.SEARCH, S.STATUS, C.TITLE AS CategoryName, E.SEARCH_ENGINES AS Engine,
i have this code to get the search resutls from the api: querygoogle.php: <?php

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.