Most voted "css" questions
Cascading Style Sheets (or simply CSS) is a style language used to define the presentation of documents written in a markup language, such as HTML or XML. Its main benefit is to provide the separation between the format and content of a document.
Learn more…8,314 questions
Sort by count of
-
0
votes2
answers613
viewsArranging html and css table layout
I have a page in php that searches for mysql data and shows in a table: However, when I shorten the window, the tables and the header are "disorganized", thus: How do I "lock" the tables and they do…
-
0
votes0
answers382
viewsCarousel bringing a table with database information
is the following I wanted to know if it is possible to put a table inside the Carousel, bringing the data of 5 in 5 lines, when it completes 5 lines the next data would continue in the next page,…
-
0
votes0
answers97
viewsCreating menu to link div
I have a link: <li><a href="#schedule">Programação</a></li> Which redirects to the div: <div class="schedule" id="schedule"> <h1>Programação</h1>…
-
0
votes2
answers74
viewsI do not know how to do that when the radio that has an img disappears, when selected (JAVASCRIPT if possible)
I’m making a very simple evaluation system using form validation (know q n is correct but it’s just a study), and have radios in html along with label and img, n know how to make so that when a…
-
0
votes1
answer133
viewsCSS misaligned menu items
I am developing a web application and developed a menu with some icons but when decreasing the width of the page the icons are misaligned and this is my menu but by decreasing the page width this…
-
0
votes2
answers217
viewsSetting the color of a div in rgb
I’m doing a div, where when I click it turns orange, and when I click again, it turns white again. But I have two questions : When comparing color with rgb in part…
-
0
votes1
answer143
viewsProblem in footer html+css
The part about does not appear on the footer <footer id="rodape"> <div id="endereco"> <div> <h2>Endereço:</h2> <p>Rua Alcides Lima, 150 bl6 apt 201</p>…
-
0
votes1
answer96
viewsDisplay Popup with facebook page for users, show once every 7 days
<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src =…
-
0
votes1
answer32
viewsPhp does not recognize css button
I’m not getting the button css within the code php, someone could help me in this? .botao01{ background: -webkit-linear-gradient(bottom, #E0E0E0, #F9F9F9 70%); background:…
-
0
votes1
answer65
viewsWhich Correct Way to Apply Lightbox to Each Descriptive Link and Clear
I’m on a little something. I need your help for a change. I’m practicing on a personal project, the effect Light Box and if possible would like to hear the dear(a)s colleague. Whether pointing out…
-
0
votes2
answers969
views -
0
votes0
answers55
viewsClick the button running as many times as you have tabs
I have the following situation: <ul class="nav nav-tabs"> <li class="active"><a data-toggle="tab" href="#segunda_tab" ><?php echo $array_dia_da_semana_s[0]…
-
0
votes1
answer367
viewsBootstrap menu dropdown items does not work
I am developing a web application and I put the bootstrap menu in my application but when clicking on the icon <b class="caret"></b> dropdown-menu items do not appear. Menu by clicking…
-
0
votes1
answer42
viewsApply CSS to URL
When I’m on /start CSS header Nav ul li . submenu must be top:300px, on the other pages should be top:120px. I put inside the $(Document). ready(Function() { }); the following expression:…
-
0
votes1
answer1587
viewsHow do I place an image that will scroll over the background and under the texo?
I’m learning HTML alone (doing research and free courses on the internet), I came across the following problem: I have a background image that was correctly applied, but I am not able to add another…
-
0
votes2
answers792
viewsProblem in Bootstrap Directory
I’m having a problem where when I try to access Bootstrap directly from the directory folder CSS does not work and only remains a few things, but when I Linko the Bootstrap page it works.…
-
0
votes2
answers943
views -
0
votes2
answers224
viewsRun css when loading Javascript CSS page
I am developing a web application and would like to take the edge to the page loading, but it presents following error. Uncaught TypeError: Cannot set property 'border' of undefined JS…
-
0
votes1
answer42
viewsRemoving fields from a list
I have a question. I created a list and wanted to remove its elements by clicking on 'x' as in the following image (I put x by Paint): How can I do it this way? It is an attribute or is configurable…
-
0
votes1
answer1278
viewscss Hover in a table with rowspan
Table - Example table, th, td { border: 1px solid black; } tr:hover { background-color:coral; } <table> <tr> <th>Col 1</th> <th>Col 2</th> <th>Col…
-
0
votes1
answer137
viewsApply CSS to a line
At the moment it’s this way like the code below, but I wanted the inputs related to fields Crachá, Pessoa, e Nome were aligned within a <div class='col-lg-12'>. But when you put the button to…
-
0
votes1
answer2236
viewsHow to center a title in the header using class attributes?
I started to study Bootstrap now and I’m having trouble understanding and modifying the codes in CSS of the folder I downloaded on their website, so it would be easier to edit on the HTML I need to…
-
0
votes1
answer126
viewsGrid system, calculations of
Before I start my question, I want to make it clear, I’ve seen some related topics. This is one of them, where Guilherme Nascimento explains how it works media queries, and the answer that was…
-
0
votes2
answers146
views"mouseout" of a div father is fired when the cursor is on a div daughter
I’m using the function .mouseover() and .mouseout(). Both work but I have a problem. The code below is what I’m using for this purpose. The effect always does the animation of <div>: both…
-
0
votes2
answers4381
viewsHeight of Row in bootstrap using percentage (%)
How to change the height of the Row in the Bootstrap using percentage? I tried the property height so much on the CSS, how much in the HTML pure, and did not work. In a nutshell, I want to have…
-
0
votes1
answer113
viewsFixed menu in refresh (F5)
I’ve created a menu that understands when the scroll goes from a certain point and is fixed, until then everything right, but when I rolled the page a little lower, and updated (F5) I noticed that…
-
0
votes1
answer1151
viewsUse of CSS background-image and background-color
I’m studying HTML and CSS through Caelum’s workbook and I’m having trouble getting CSS to work properly on the page. I have the following CSS code: body { color: #333333; font-family: "Lucida Sans…
-
0
votes1
answer999
viewsLine spacing
I’m using the Materialize Framework on a website, but when I create two lines it gives me this spacing, someone knows how to fix? <!DOCTYPE html> <html lang="en"> <head> <meta…
-
0
votes3
answers4370
viewsHow to add opacity only to the image?
A snippet speaks more than a thousand words: body { padding-top: 11%; background: url(https://fakeimg.pl/1920x1920/); } <link…
-
0
votes1
answer198
viewsModal Bootstrap does not exceed page end
I have a modal bootstrap and in it I display a table, However when this table returns many records the modal ends up overflowing out of the screen, And can not see the end of the modal as in the…
-
0
votes2
answers22
viewsSimple problem with CSS alignment
Hello, I’m new to this, so I’m having a lot of problems with this float. I want to do something like this: My attempt: .ant{ position: absolute; float: left; width: 80px; height: auto; margin-left:…
cssasked 7 years ago Daniel Castro 25 -
0
votes1
answer347
viewsScript smaller than 18
I’m making a record that’s only allowed for people over 18, I made a script that is catching two days ahead in the case today and day 02/11/2017 so only user who were born from the day 02/11/1999…
-
0
votes0
answers66
viewsCentralize input vertically within panel-Heading
How can I center this search input to stay on the line of text? I tried applying margin but instead of going up, he pushes the table down Current Code: <!-- tabela servicos solicitados -->…
-
0
votes2
answers702
viewsFixed menu problem with bootstrap
I’m having a problem on the menu of the site I’m creating, I picked up a style of a ready menu of the Boostrap, where it was fixed, I made some changes to the menu CSS (no big deal). But when I…
-
0
votes3
answers56
viewsProblem with div positioning - CSS
I’m developing a hotsite and I’m having problems with css. How I always leave the button next to the text? .divFixa{ font-family: 'Open Sans regular', sans-serif; font-style: italic; font-size:…
-
0
votes1
answer752
viewsMenu Hamburger Bootstrap Burger
My app has a Dashboard with a left side column, which is where the menu is. When this page opens on smaller screens the column disappears (this already happens), but I need instead the Hamburger…
-
0
votes1
answer619
viewsTable with Bootstrap does not respond some displays
I’m making a table with bootstrap, and I’m testing on google Chrome, only when I put to see how it would look on Iphone 5, the table does not decrease and bursts the layout. This black line in front…
-
0
votes1
answer777
viewsWhite space in bootstrap menu
Good afternoon, I’m trying to split a menu with a white line in the middle with css. I managed to do, but on the right side the menu is with a space without the line and in the items below is the…
-
0
votes1
answer3440
viewsLike leaving a div next to each other?
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <style type="text/css"> * { margin: 0; padding: 0; vertical-align:…
-
0
votes2
answers1790
viewsButton to open/close content
Hello guys I’m new here and also with programming... well I have several div with different contents and are with hidden, I would like that when you click a button continue reading it closes and…
-
0
votes2
answers44
viewsProblem with form formatting
Good morning guys, I have a certain problem in the newsletter form of my site. I have done several researches trying to solve the problem, but the lack of knowledge of the area I think is making me…
-
0
votes1
answer72
viewsExecute a code first of all
Good morning. When I press any MENU, BUTTON, link, etc everything works correctly and perfectly, however, there are hours that the code to be executed takes, sometimes a little, sometimes more than…
-
0
votes0
answers112
viewsLink doesn’t work in Chrome when I apply CSS
I have the following code. In IE the link works normally, but not in Chrome. When I change the "Nav-menu" to something else the link works. <nav id="menu"> <ul id="menu-nav"> <li…
-
0
votes2
answers82
viewsStructuring the content of a course
I’m a beginner in both HTML and CSS. As you can see in the image I need help to solve 3 problems: 1- Partition of the left I intend to make a kind of menu (or dividsórias) that will be the modules…
-
0
votes1
answer85
views -
0
votes1
answer47
viewsHow to change the CSS in this case?
Good morning everyone! Being very objective. I want to change the CSS of two different pages at the same time, with an on/off button on one of them, and make this change in all of them, but I have…
-
0
votes2
answers131
viewsBlank spacing does not leave the html document
Well, I’ve looked at several solutions like: *,html{ margin: 0; padding: 0;} / body, html{ margin: 0; padding: 0;}, but none solved the solution of the blank spacing on the page, follows the code…
-
0
votes1
answer230
viewshtml paragraph does not "break" and the content is hidden
I insert several comments that are received from the bank with the code below: $retorno = '<ul>'; while($row = mysqli_fetch_assoc($select)){ $retorno .= ' <li…
-
0
votes2
answers1823
viewsSide menu with 100% height does not match the size of the div "content"
I have the following structure at the moment: So far so good, the side menu has height: 100% and is going to the end of the page. In the content, we have 8 inputs that are not enough to reach the…
-
0
votes1
answer35
viewsScrool Mouse Tracking lines, with css and jquery
I need to make sure that according to the mouse scrool is rotating downward, will accompany a line to the side, this I managed to do, as shown in the link below Click here to see the example My…