Prevent the use of a blue border around the selected button and enhance the appearance of the selected

I am facing some challenges while trying to create a panel and I'm struggling to resolve them.

Currently, I have set the min-height on

.panel_out {
    width: 23%;
    min-height: 100%;
    float: left;
    color: #707070; 
}

The issue is that only the panel_buttons are displaying the desired color within the specified 23% of the screen from the left margin, rather than the entire section showing up in the panel_out color.

Furthermore, the active state is not maintaining the color I've chosen when selecting a panel_button. Additionally, I'm looking for a solution to remove the default blue border that appears when clicking on the panel button.

For reference, you can view a demo of the problem in this fiddle:

https://jsfiddle.net/ba98bjmf/1/

Answer №1

To get rid of the blue border that appears when you select the button, use this CSS property: outline : none;

To eliminate the grey border on the button, you can use: border : none;

Does this address your inquiry adequately?

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

jQuery modal window extension

Currently, I am utilizing a jQuery popup plugin that opens a popup window using the anchor's href. For example: <a href="/some/site?hello=hi" class="popup">link</a> There could be an unlimited number of these on my page, each pointing to ...

Tips on effectively showing padding and margins in django templates and minimizing empty space between rows using bootstrap

Still fairly new to the world of html, Django, and Bootstrap. I find myself struggling with grasping the concept of padding and margins. Is there a clever trick or CSS technique to visually display the padding and margins? I've noticed that margins do ...

Styling all HTML buttons globally without the need for a specific class, ID, or name attribute

To style all input tags in a different way based on their type, you can use the following CSS: input[type=button] { color:#333; font: italic 80% 'arial',sans-serif; background-color:#f0f0f0; border:2px dashed; } input[type=text] { color:#0 ...

swap the positions of two distinct texts

I need to dynamically change the positions of two texts based on the text direction (LTR or RTL) using CSS specifically for an email template. Here is the code snippet I am working with: '<span style="font-weight:bold; text-align: center;">US ...

The border line gracefully curves at the bottom and remains crisp and straight

I am trying to create a curved line between sections similar to what is shown here. The issue I am facing is that when I attempt to curve the border, the top also curves as well. My project utilizes nuxt.js and tailwind CSS. Although I have not completed t ...

Design elements - Responsive vertical images

I am facing an issue with resizing the slider I have on my website. Currently, it is set at 1200 x 400 pixels, and while the width adjusts correctly when the page is resized, the height remains fixed at 400px. I would like the height to resize proportional ...

Having trouble with Jquery autocomplete feature not functioning properly. Struggling to assign a value to the data response using jQuery.map()

Currently in the process of learning jQuery within MVC. Everything appears to be working smoothly except for the autocomplete feature, which is not functioning as expected. After debugging, it seems that the success method may be the issue. Any assistance ...

Use jQuery to insert the current date into an input field, but do so only if the field is currently

I am looking to automatically add the current day and month to input fields only if they are empty. If the fields already have data, I do not want them to change. Here's the concept: I have two fields, one for the month and one for the day. If the in ...

"Vanishing act: The mystery of the disappearing Bootstrap dropdown

I am currently using Bootstrap 3 in conjunction with Ruby on Rails through the Rails Tutorial Sample App. Within my application, users have the ability to like, or "savor," microposts, referred to as "pops." My goal is to display Gravatar icons of users wh ...

Display user's name in navigation bar using asp.net mvc

When working on an ASP.NET MVC project, I wanted to include a short message for the user, such as 'Hello, username!' In the navigation bar, specifically when the user is signed in, I encountered some display issues with the standard bootstrap la ...

Tips for creating a clickable title that directs to a URL

I am currently using the "Import All" WordPress plugin to bring in an Excel file containing numerous hyperlinks that point to specific Custom Post Types and a designated field. These hyperlinks are separated by commas from the corresponding title. For exam ...

What are some ways to create a responsive Grid in React JS with the help of Bootstrap?

Utilizing bootstrap in my react js project, I am implementing css grid to showcase some cards. However, I am encountering responsiveness issues. import React from "react"; import "./Project.css"; export const Project = () => { return ( <div& ...

Keeping information saved locally until an internet connection is established

I have a vision to develop a Web app focused on receiving feedback, but the challenge lies in the fact that it will be utilized on a device without an internet connection. The plan is for it to save any user input offline until connectivity is restored. Th ...

How can I craft a customized lightbox with dynamically generated content?

I am currently developing a Twitter fetcher application and have encountered some issues with the scrolling functionality, particularly due to oversized images. I would like to implement image restrictions similar to what Twitter uses. https://i.sstatic.n ...

``There seems to be an issue with the alignment of items in the

I am fairly new to using css and bootstrap and I am currently working on integrating a carousel into my angular web app. I copied the code from the bootstrap site but I am facing challenges in aligning everything properly. Additionally, the image slides do ...

The HTML table is not fully filled with data from the XML file

Trying to populate an HTML table using XML data retrieved from an AJAX call is proving to be a challenge for me. The main issue I am facing is the inability to fully populate the HTML table. Being new to AJAX, understanding how XML interpretation works an ...

What could be the reason for the event not being triggered multiple times?

Currently, I am in the process of designing follow/unfollow buttons for various members within a system. However, I am encountering an issue where the jQuery event does not trigger after the HTML is re-rendered within the same div containing the buttons. T ...

What is the best way to make AngularJS acknowledge invalid input that has already been identified by the browser?

Encountering an issue (specifically in Chrome) where a number input is deemed invalid by the browser, but valid as per Angular. <form name="form_name"> <input type="number" step="any" id="a_number" name="a_number" min="0" ng:model="aN ...

How can I retrieve the HTML content of a ReactJS rectangle element saved in an array?

Within a loop, I am creating rectangle elements and adding them to an array: rectangles = []; render: function() { for (var i = 0 ; i < 10; i++) { rectangles.push (<Rectangle height={this.props.afm} width={this.props.afm} x={xpos} y={ypos} va ...

Get the file in Safari web browsers

Looking for a solution to download media files (mp3, mp4) supported by the Safari browser? I attempted using the HTML5 download attribute but found it only works on Chrome and IE. Any suggestions for an HTML or JavaScript code that would work instead? ...