the section disappears once it is moved to the bottom of another section

My project is complete, but I've encountered a problem that needs solving. I want to create a website with a Metro design aesthetic. The three div boxes on the left side should remain fixed, while only the middle part scrolls horizontally. Now, I also want these three div boxes on the right side as well. However, when I place them at the end of the </section> with the id="Content", they disappear. If I place them just before the closing tag, they appear but move horizontally, which is not what I want.

 <section class="clearfix section" >    
     <h3 class="block-title">Class 7a</h3>
         <div class="row custom-row-three" >
           <div class="tile red "></div>     
           <div class="tile turquoise"></div>      
           <div class="tile orange"></div>
         </div> 
</section>

This HTML code represents the three boxes currently on the left side that I wish to also have on the right side, in a fixed position. View my school project here.

Answer №1

Experiment with these design options -

.leftSection {
    position: fixed;
    left: 0px;
    top: 0px;
}

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

Navigate through the components of an array within HTML

I am a beginner in HTML and I need to customize a specific piece of code to suit my requirements. Here is the code snippet written in pseudo code: <app-myapp *ngIf="true" [exclude] = "[this.myUser.id]" ...

Issues arise when Tailwind CSS fails to apply styles consistently across different components

Having an issue with my button component where the props for styling are not working as expected. It seems like a problem occurs when attempting to use these props, even though there might not be any issues with the code itself. Interestingly, manually set ...

Ensuring DIV Fills without Compromising Aspect Ratio

I am currently attempting to fill a div with an image in both width and height. However, I have only been able to control the width while the height respects the aspect ratio without filling the div completely. I have tried various combinations of backgrou ...

What is the ideal solution for resolving the problem of loading HTML page content in this specific situation?

Currently, I am working on an HTML website project where I am integrating header and footer content from separate HTML files into each page using jQuery. However, I have encountered an issue while the page is loading. Upon loading, the content initially ...

Why does Typeahead display a JSON object in the input field upon clicking?

My suggestion engine is working well, but I am facing an issue where the json object appears in the input element when I click on an item. I want only the OrgName to show up in the input value. <input class="form-control companySearch" type="text" valu ...

Design inspired by dot matrix patterns

Is it possible to create a background HTML page filled with a dot matrix designing tool? Can anyone provide guidance on how to achieve this? If I need to use a background-image for this, where can I find the appropriate picture? Thank you to everyone in ...

Display stylish Instagram-like dots in the slick slider

Currently, I am utilizing the slick slider to display numerous slider items. Additionally, I want to include dots to indicate the position of the items. However, there are too many dots visible at once, and I wish to display them similarly to how Instagram ...

A specific class has no border on its left side

Is there a way to use CSS to disable the left border to the right of a cell with a specific class? In the scenario shown in this image, the right border appears double due to the combination of the "selected" class border and the default gray border. I wo ...

Extracting information from an HTML form and generating a PDF document using TCPDF

I've recently delved into the world of TCPDF and hit a snag... My task was to create a form on our intranet where employees could input data (text fields and radio button), submit it, and have TCPDF generate a PDF with that information. I have an ide ...

How to retrieve the query string in VueJS

Recently, I've delved into the world of VueJS and so far, it's been a great experience! :) One thing I'm trying to figure out is how to save querystring values to a VueJS variable. It seems like a straightforward task in handlebars + express ...

What is the best way to vertically align an h1 heading in the content area of

I attempted to center my h1 within the body tag using the following code: h1 {margin:0 auto} http://jsfiddle.net/qPDwY/ However, it did not appear to center. What steps can I take to correct this issue? ...

Struggling to access a JSON file using Angular framework

I'm currently working with the following JSON and controllers: JSON Format: {"tomcatLogDir":"C:\\apache-tomcat-7.0.70\\logs","tomcatLogs":["1.log","2.log","3.log"]} Factory: app.factory('filesFactory', [ '$http&a ...

Struggling to center the dynamic content within a div

I've been working on a small counter utilizing flipclock.js to track the number of unique visitors. Every two seconds, the counter updates to reflect the increase in visitors by flipping. Previously, I displayed a static value fetched from the databas ...

Tips for detecting if text appears in bold on a webpage using Selenium

I came across a pdf document with the following content: <div class=**"cs6C976429"** style="width:671px;height:18px;line-height:17px;margin-top:98px;margin-left:94px;position:absolute;text-align:left;vertical-align:top;"> <nobr ...

Difficulty achieving gradient effect with partial background color change in table-cell

In order to achieve a unique look for this particular design, I am seeking ways to alter the red background color of each cell in varying degrees - such as 100% for the first cell, 100% for the second cell, and 50% for the third cell. Update: After experi ...

Button to scroll down

I have successfully implemented a #scrolldownbutton that scrolls to the first component. However, I am now attempting to modify it so that when the button is clicked, the page smoothly scrolls within the viewport and stops at the partially visible componen ...

Is there anything I can modify in either the HTML or CSS code to achieve the desktop layout I envisioned?

I have been striving to replicate this https://i.sstatic.net/B0Qkb.jpg desktop design. The mobile version has already been crafted, but when I attempt to adapt it for desktop, I'm utilizing a specific flex property called row-reverse. However, the ou ...

Transform the look of your bootstrap 5 inputs by making them dark-themed

I have a feature in my app that allows users to switch between light and dark modes. Currently, I am using Bootstrap 5 form-control inputs and want to customize their background color based on the mode selected. Which CSS classes do I need to target in or ...

Is it possible to supersede CSS styling using a class name in React?

My <li> tag in my .css file has the following style: li { padding: 15px; background-color: #32383d; transition: 0.4s; border-bottom: 1.5px solid #464e53; color: #6b6d6d; font-family: "Poppins", Arial, sans-serif; cursor: pointer; } The issu ...

Dealing with 'this' while using an addEventListener

I need to trigger the function handleRangeUpdate in a way that it responds to the event calling it and decides whether to run console.log(this.value). The problem arises when I pass e into handleRangeUpdate using addEventListener, causing the value of thi ...