The navigation bar does not adjust properly on the s3 mobile bootstrap, making it un

On every mobile device, it appears similar to the image below:

HTML:

    <div class="wrap">
    <nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top "  >
    <div class="container">
      <a href="indexf.php" class="navbar-brand"> <img src="image/logo3.png"  height="30px" alt=""></a>
      <button class="navbar-toggler" data-toggle="collapse" data-target="#navbarCollapse"><span class="navbar-toggler-icon"></span></button>
      <div class="collapse navbar-collapse" id="navbarCollapse">
        <ul class="navbar-nav ml-auto">
          <li class="nav-item active ">
            <a href="index.php"  class="nav-link ">Home</a>
          </li>
          <li class="nav-item active">
            <a href="#aboutus" onclick="href='index.php#aboutus'"; class="nav-link">About Us</a>
          </li>
          <li class="nav-item active">
            <a href="#service" onclick="href='index.php#service'"; class="nav-link" >Services</a>
          </li>
          <li class="nav-item active">
            <a href="CLients.php"  class="nav-link">Our CLients</a>
          </li>
          <li class="nav-item active">
            <a href="#authors"  onclick="href='index.php#authors'"; class="nav-link">Our Team</a>
          </li>
           <li class="nav-item active">
            <a href="prodect.php"  class="nav-link">products</a>
          </li>
          <li class="nav-item active">
            <a href="contactits.php" class="nav-link">Contact</a>
          </li>
          <li class="nav-item">

            <!-- Button trigger modal -->
            <a href="contactits.php" class="btn nav-link active" style="background-color: transparent;border-radius: 11px;
padding-left: 10px;
padding-right: 10px;
border-color: lightgray;">+92-42-35791029</a>
          </li>
        </ul>
      </div>
    </div>
  </nav>
</div>

Answer №1

It appears that the current browser version on your S3 may be incompatible with Bootstrap 4.

We recommend updating your browser to resolve this issue.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

What is the best method to activate a button only when the appropriate radio buttons have been chosen?

Just dipping my toes into the world of javascript. I've created a form with a set of "Yes/No" radio buttons, and I attempted to create a function that will disable the "Submit Form" button if any of the following conditions are met: If one or more r ...

The functionality of getElementsByClassName and appendChild is not producing the desired outcome

First of all, the solutions must strictly adhere to VanillaJS. I am presenting a straightforward HTML code snippet below: <div class="x">X</div> <div class="x">Y</div> <div class="x">Z</div> Accompanied by a block of ...

The SVG image exceeds the boundaries of the parent column div in bootstrap

I am struggling to make a SVG fit inside a column in a bootstrap div with col-lg-4. I tried using img-fluid, but it did not work as expected. The SVG should automatically adjust its size to fit the parent div. However, that is not happening. .star-ratin ...

Refresh a function following modifications to an array (such as exchanging values)

Looking to re-render a function after swapping array values, but the useEffect hook is not triggering it. I need assistance with this as I plan to integrate this code into my main project. Below are the JSX and CSS files attached. In App.js, I am creating ...

How can I make an HTML button the default option within a form?

Currently, I am working on an asp.net page which contains a mix of asp.net buttons and HTML input[type=button] elements. These HTML buttons are specifically used to initiate AJAX calls. My dilemma arises when the user hits ENTER - instead of defaulting to ...

Logging DOM elements with Electron's webview preload feature

Within my Electron program, I am utilizing a webview in my index.html file. The webview is equipped with a preloader, and my goal is to manipulate the DOM of the webview specifically, not just the index.html file. In my preloader code snippet below, the c ...

Retrieve information from a dynamically loaded page using jQuery

I'm currently attempting to extract text from a body that has been downloaded through ajax. I'm facing the problem that I can't inject this new body into an iframe or one of my elements because it contains scripts that could potentially bre ...

Tips for filling the offset space with a column

Having a bit of trouble phrasing my question, but here's the issue I'm facing: Currently, I need to develop two different views, the first being the mobile view However, I'm experiencing some difficulties with the second view, which can be ...

Arrangement of HTML file script and CSS styling

After watching Doug Crockford's Theory of DOM video where he discusses the positioning of <script> tags and CSS <link> at 16:50, I began to ponder a few things. He recommends placing <script src> closer to the bottom of the body and ...

Avoid placing dropdown items within the navbar container in Bootstrap 4

When collapsing the screen, I encountered an issue with the dropdown items being inside the navbar. I positioned the dropdown menu as absolute, but some items were getting cut off, and I didn't want the scroll bar to appear. Despite trying to use medi ...

Having trouble with Cordova.js not functioning on my Android device while using PhoneGap

Currently, I am working on developing an app using cordova.js phonegap. For the app, I have set an external URL to load when it launches. super.clearCache(); super.loadUrl("http://EXTERNALURL.COM/"); Within the index file, I have included the following: ...

Guide to embedding CSS into a DOC file generated from HTML with PHP

I've created a document, but it's not linking to the external CSS file. I have added .css files in my code, but when I generate the document, it doesn't apply the CSS classes. Here is my code: <?php header("Content-type: application/vn ...

Why is the combination of the overlay image, logo, and text not producing the desired outcome?

After adjusting the logo's resolution from 3400x1716 to 99x50 and overlapping it with a picture while adding text, I set the image dimensions to 300 height and 100% width to fill out the page. However, when looking at my code, the logo and text that w ...

Utilizing Bootstrap4 Grid System: Flex for SM and beyond, Row then Column for XS viewports

I'm in the process of developing a menu system specifically tailored for XL, LG, MD, SM screens in BOOTSTRAP4 while offering a unique appearance for XS (mobile) devices. Here is the HTML code I currently have: <div class="container-fluid"> ...

What is the best way to retrieve the value of the nearest text input using JavaScript?

I am currently working on designing an HTML table that includes a time picker in one column for the start time and another time picker in a separate column for the end time within the same row. My goal is to retrieve both values (start time and end time), ...

Discover the ultimate guide to creating an interactive website using solely JavaScript, without relying on any server-side

I'm facing a challenge: I have a desire to create a website that is mainly static but also includes some dynamic components, such as a small news blog. Unfortunately, my web server only supports static files and operates as a public dropbox directory. ...

Mobile navbar fails to collapse upon clicking links

I'm attempting to have my code collapse when the links are clicked, but I'm running into some issues. I attempted adding data-toggle to the link, however in doing so, the links stopped functioning. <HTML> <nav class="navbar navbar-expa ...

Adjusting jQuery tab content heights to maintain consistent height across tabs and prevent varying heights

I am currently working on a tabbed view that is very similar to the demo found at the following link: http://jsfiddle.net/syahrasi/us8uc/ $(document).ready(function() { $(".tabs-menu a").click(function(event) { event.preventDefault(); $(this).pare ...

Ways to implement CSS in my JQuery Plugin

In the process of creating a unique JQuery component plugin that relies on some essential default CSS for its layout, I am faced with a dilemma. Should I: Create a separate .css file and load it dynamically within my plugin code (How would this be accomp ...

Modify the background of the parent component when hovering in ReactJS

Here is my React code snippet that I am working with: Code My goal is to change the background of the App component to the "E-commerce" picture when hovering over it. This should apply to all other pictures as well. Any assistance in solving this issue ...