Styles for creating static headder

<!DOCTYPE html>

<html lang=”en”>

<head>

  <meta charset=”UTF-8″>

  <meta name=”viewport” content=”width=device-width, initial-scale=1.0″>

  <title>Floating Header</title>

  <style>

    body {

      font-family: Arial, sans-serif;

      margin: 0;

      padding: 0;

    }

    /* Style for the floating header container */

    .header-container {

      position: fixed;

      bottom: 40px;

      left: 0;

      width: 100%;

      overflow-x: auto;

     background-color: #404B80;

      z-index: 9999;

      box-shadow: 0 -4px 8px 0 rgba(0, 0, 0, 0.2); /* Adjusted shadow for bottom */

      transition: background-color 0.3s;

    }

    /* Style for the floating header */

    .float-header {

      display: flex;

      align-items: center;

      justify-content: space-around;

      padding: 15px;

      font-weight: bold;

      font-size: 11px;

      color: white;

      width: 2500px; /* Adjust width as needed to match content width */

    }

    .float-header div {

      padding: 0 5px; /* Adjust padding for better spacing */

      text-align: center;

    }

    /* Content to simulate scrolling */

    .content {

      padding: 20px;

      width: 2500px; /* Adjust width as needed to match content width */

    }

  </style>

</head>

<body>

  <div class=”header-container”>

    <div class=”float-header”>

      <div>SL.NO</div>

      <div>DOC<br/>UPLOAD</div>

      <div>DOCUMENT<br/>NUMBER</div>

      <div>CUSTOMER</div>

      <div>VENDOR</div>

      <div>CUSTOMER<br/>PO#</div>

      <div>DATE</div>

      <div>ITEM</div>

      <div>QTY</div>

      <div>SPLIT QTY</div>

      <div>DUE<br/>DATE</div>

      <div>FINISH DATE</div>

      <div>MODE:<br/>BOAT/AIR</div>

      <div>AIR FEE</div>

      <div>DELIVERY DATE</div>

      <div>STATUS</div>

      <div>BILL NUMBER</div>

      <div>HBL NO./AWB NO.</div>

      <div>CTN ID</div>

      <div>QTY/CTN</div>

      <div>PACKAGE LENGTH<br/>(INCH)</div>

      <div>PACKAGE WIDTH<br/>(INCH)</div>

      <div>PACKAGE HEIGHT<br/>(INCH)</div>

      <div>GROSS<br/>WEIGHT(POUNDS)</div>          

      <div>SUBLIST<br/>CHANGED</div>          

    </div>

  </div>

</body>

</html>

Leave a comment

Your email address will not be published. Required fields are marked *