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

  • Home
  • SEARCH
  • 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 8834577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T09:03:11+00:00 2026-06-14T09:03:11+00:00

I have a problem with my navigation bar. When loading the page, sometimes it

  • 0

I have a problem with my navigation bar. When loading the page, sometimes it changes to look like its in steps however when you refresh it changes back to normal. I cant seem to find out what im doing wrong! Please help!!

Website is http://www.pearsonfoods.com.au

<div id="nav">
<a href="index.html" >
<div class="navBlock" style="color:red;"><p>Home</p>
</div>
</a>

<a href="about.html">
<div class="navBlock"><p>About us</p>
</div>
</a>

<a href="where.html">
<div class="navBlock"><p>Where we sell</p>
</div>
</a>

<a href="foods.html">
<div class="navBlock"><p>Our Foods</p>
</div>
</a>

<a href="contact.php">
<div class="navBlock"><p>Contact us</p>
</div>
</a>

</div>
  • 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-06-14T09:03:13+00:00Added an answer on June 14, 2026 at 9:03 am

    Your markup is not well-formed. <a> is an “inline element” and <div> is a “block element”. Block elements cannot exist within inline elements.

    Your navigation list is better structured as a simple unordered list:

    <ul>
        <li><a href="index.html">Home</a></li>
        <li><a href="index.html">About us</a></li>
        <li><a href="index.html">Where we sell</a></li>
    </ul>
    

    See? So much cleaner 🙂

    Style each <li><a> as a block-flow element with display: block; (note this does not affect the inline/block semantics of elements, it’s strictly a visual thing) and apply float: left; to the <li> elements.

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

Sidebar

Related Questions

The given problem I have the following view that includes a Navigation Bar, Search
Problem description: I have a listing with Jqgrid and a navigation bar view:true, edit:true,
I've got a problem with a little project. I have a navigation bar that
I have a simple navigation bar at the top of the page with several
I have unknown before problem with IB. I'm creating navigation bar in my IB,
I have added a refresh UIBarButtonItem to my navigation bar on my iPhone app.
http://mohrdevelopment.com As you can see, i have a problem with my navigation bar. The
I'am having a problem with jQueryUi Tabs. I want to have a navigation bar
I have problem in Navigation Controller. I can't create dynamic buttons on Navigation Bar.
I have a problem with mediacontroller which is hidden behind navigation bar (soft navigation

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.