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 7691193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T20:34:00+00:00 2026-05-31T20:34:00+00:00

ALL COMPONENTS ARE DISPLAYED OK. BUT WHEN I PRESS F12 AND HOVER OVER NAVBAR-LEFT,

  • 0

ALL COMPONENTS ARE DISPLAYED OK. BUT WHEN I PRESS F12 AND HOVER OVER NAVBAR-LEFT, it’s height is that of 0px. I think I need to solve this by placing a small div with class clear somewhere, but I don’t know where exactly!

<div class="core-container">
    <div class="core-content">
        <div class="navbar">
            <div class="navbar-left">
                <div class="navbar-logo">
                    LOGO
                </div>
                <div class="navbar-suggestions">
                    SUGGESTIONS
                </div>
                <div class="navbar-notifications">
                    NOTIFICATIONS
                </div>
                <div class="clear">
                </div>
            </div>
            <div class="navbar-right">
                <ul>
                    <li>Profiles & Schedules</li>
                    <li>Settings</li>
                    <li>Log Out</li>
                </ul>
            </div>
            <div class="clear">
            </div>
        </div>
    </div>
</div>

css code:

/MASTER PAGE/

.core-container
{
    margin-top: 100px;
    border: 1px solid black;

}

.core-content
{
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 20px 10px 20px;
}

.navbar
{
    border: 1px solid red;   
    padding: 10px 5px 10px 5px;
}

.navbar-right div
{
    float: right;
}


.navbar-left div
{
    border-right: 1px solid red;
    float: left;
    padding-right: 10px;
    margin-right: 10px;
}

.navbar-right ul li
{
    list-style-type: none;
    float: right;
    padding-left: 10px;
    margin-left: 10px;
    border-left: 1px solid red;
}
.clear
{
    clear: both;
}
  • 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-31T20:34:01+00:00Added an answer on May 31, 2026 at 8:34 pm

    Yes, everything in your navbar-left is floating, so its height remains 0. But is that a problem? It looks good on the screen!

    Anyway, the quick answer is to append float:none to the style for the clear class. Make sure you make it specific enough to override the styles for .navbar-left div and navbar-right div though, like this:

    .navbar-left .clear, .navbar-right .clear
    {
        clear: both;
        float:none;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On large-scale Java/.Net Enterprise projects, does every developer need to have all the components/libraries/dependencies
I'm trying to iterate through all components and for those who implements ISupportsOpen allow
What is the preferred way to build application gui components tree? Instantiate all components
The real question: Is there a way to clear certain attributes for all components
I was searching if there is possible to change global size of all components
What all language components will have to be used for implementing an email service
Is there a simple way to duplicate all child components under parent component, including
Currently all our GUI components are written in MFC. Our build environment is: VC
I have a C++ legacy codebase with 10-15 applications, all sharing several components. While
I want to replace all the popup menus displayed by delphi in the TCustomEdit

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.