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
answers39
viewsImage disappears after animation + window resize
I’m building a menu for my blog, I found some code on the net, and I’m trying to implement one of them. The problem is this: the image (logo) disappears from the menu (header) when I do the…
-
0
votes2
answers13324
viewsChange content according to screen size
I have a link with a text that is normal when displayed on the pc, however, very large for mobile phones (where I would use only one acronym). I need a way to change the text according to the…
-
0
votes2
answers747
viewsHow to center menu
I’m trying to center this menu but I can’t, I’ve tried several tips on the net but it doesn’t work, someone could help me? HTML <div id='menu'> <div class='menu1'> <ul class='menu'…
-
0
votes1
answer44
viewsOdd and Even don’t work
I’m doing a Heme on tumblr and wanted to change the color of the chat boxes, so that in each line they alternate colors. Turns out they all get the color set on Odd .label:nth-child(odd){color:…
-
0
votes0
answers32
viewsHow do I get the answers to a form?
Guys I made this site recently but I don’t know how to get the answers I did in the form. Can anyone help me?! Thank you! <title>Felipe Mellão - Programador Web</title> <!-- Principal…
-
0
votes1
answer90
viewsmap <iframe> overrides options bar
I created a class to be able to apply the CSS, I already changed the relative positioning to absolute and yet it continues as it is in the photo. I need the bar to not overlap with the map and the…
-
0
votes0
answers266
viewsPercentage problem and float: right
Hello. I need to make a menu with icons to get to the right of the Header. The icons are divs with background-image, and the measurements are relative and in percentage (%). The idea is that the…
-
0
votes1
answer43
viewsHow to put a scribble on the page
How to put an orange scribble as in the image below in the html page?…
-
0
votes1
answer398
viewshtml+css(bootstrap) file when inserted by php’s "require_once()" dropdown menu does not work
I was creating the menu of my system and everything was working properly, the menuHorizontal.php file contains the menu and in it has a dropdown that was working, when I click, it opens the submenu,…
-
0
votes1
answer215
viewsHow to use materialize features in php with javascript
is it possible to use materialize in a php file next to javascript ? on the return of a php function I want to issue a Materialize.Oast(); however I’m not succeeding, I already referenced the file…
-
0
votes1
answer306
viewsHow to export a Powerpoint file to HTML?
I have a file Power Point which is interactive, that is, some buttons send the user to another slide, and remain interactive to each slide. I need to generate a HTML to insert into a web page so…
-
0
votes1
answer517
viewsHow to close responsive menu by clicking an item and changing the iframe in an html file?
I’m using a file index.html that on a wide screen appears all menu items, but when resized to a smaller screen (max-width: 640px), the menu bar becomes an icon where when clicked appears the menu…
-
0
votes1
answer7835
viewsHow to do CSS and HTML search field
Hello good afternoon I would like to take some questions I’m starting to learn now , I have a problem to create a search field on my site , I would like a help . I’d like to put this search system…
-
0
votes1
answer872
viewsNavbar bootstrap Collapse
I need a customization in a navbar that is the following: First, without the Collapse, appear this way (this I achieved and it is very quiet) Then, when you have smaller screens, turn into 2 buttons…
-
0
votes1
answer1017
viewsHow to print keeping the page layout?
I’m developing a basic hotel control system. When registering the guest’s entry in a suite, I need to print a "receipt" for the customer, but putting only the function window.print() Javascript is…
-
0
votes1
answer256
viewshow to create a layout using float
I’m trying to create a page like the one in the picture, but without success. From what I’ve been seeing I need to use the float property. I’ve reached that point, but you’re not responsive either.…
-
0
votes0
answers22
viewsHow to place the RSS Feed next to the Google Map API
Good morning, I’m trying to make a small HTML page with a Google Maps API and an RSS feed. However, I am unable to put my RSS feed on the right side of the API. Can anyone help me? Here is the…
-
0
votes1
answer44
viewsMy bootstrap logo is too big and the rest of the menus have a large empty space
Can anyone help me fix this? I’ve used CSS, but I still can’t get the menus to be "glued" to the image. My HTML is as follows, and below will be the css…
-
0
votes0
answers58
viewsDoubts with Position
I have a question regarding the position of the logo of a website I’m creating. I’m learning now HTML and CSS, I’m having some doubts one of them would be the one of logo positioning. That next…
-
0
votes1
answer309
viewsSub-Tables in Bootstrap
I’m creating a conventional table, which when clicked on in the group name it shows a sub-table containing the same columns and refactoring the results: NORMAL STATE: GRUPOS QUANTIDADE | GA | | 1000…
-
0
votes1
answer288
viewsHTML/Php how to change the content of the page according to the inserted end
I have an HTML here that I use to generate Players on My Site But I have to keep changing the contents of the file to access Different Videos I’d like to know if there’s a way to change the area: De…
-
0
votes1
answer24
viewsHow to differentiate clones to color certain parts of SVG
Following my series of issues to resolve this, I would like a tip on how to differentiate these clones that are generated as I would like to paint only one slice at a time. The idea is to click on a…
-
0
votes2
answers30
viewsImage opacity linked by CSS
Is there any possibility of giving attributes to an item linked via CSS? #content-homepage { background-image: url(../img/back.jpg); } I wanted to decrease the opacity of this image…
-
0
votes1
answer42
viewsHtml5 - onContextMenu, block other events
Hello, I’m using the onContextMenu event with e.preventDefault(), to create a custom menu. The problem is that if it is the "native" behavior of the browser, events like Scroll and Zoom are…
-
0
votes2
answers89
viewsCSS and HTML display
I’m having a problem leaving my menu online someone could inform me what I’m doing wrong, thank you !!! @charset "utf-8"; /* CSS Document */ #topo { background:url(../imagens/topo.png);…
-
0
votes2
answers338
viewsHTML CSS rollover effect
I am trying to do a rollover effect on CSS someone could tell me if it is possible with HTML and CSS in the way that the codes ? the effect would just be to add a black border around each menu item…
-
0
votes1
answer563
viewsGulp command does not work
Hello, I created a home.Ass file @import molecules/mixins @import ../bower_components/bootstrap-sass/assets/stylesheets/bootstrap /variables @import…
-
0
votes1
answer423
viewsInput type password show password
I followed some tutorials to get the display input Like this one here :http://jsfiddle.net/cj3kmxL4/1/ But when I run on my pc it gives the following error: Code:…
-
0
votes1
answer66
viewsjQuery and css menu
The icone is not aligned with the text Good follows the code of the menu, I already thank the help. $(".top_menu ul").each(function() { alignMenu(this); var robj = this; $(window).resize(function()…
-
0
votes2
answers829
viewsImport a file containing script and link tags
I am creating a website where on all pages the script and link tags to import the JS and CSS libraries are repeated. Is there any way for, for example, I create a script.html file (for example) and…
-
0
votes1
answer37
viewsHow to make a funnel responsive table?
I’m trying to do similar to this image: Here’s a Fiddle as far as I can go The data will be dynamic, and I need the corners to be rounded. I accept other alternatives or suggestions for mounting…
-
0
votes1
answer111
viewsGif loading when searching
Hello I am implementing that self-cmplete And I would like that while the system searches the items, it show a gif by clicking on the corner of the input. <!doctype html> <html…
-
0
votes2
answers61
viewsHow do I div fill the corners of the screen?
My div instead of her staying at the top of the screen, she has a small space (image attached), how do I solve this?…
-
0
votes2
answers227
viewsFixed size DIV with CSS (generate PDF with MPDF)
I need a DIV with fixed size in centimeters width:12.5cm; and height:7.5cm;. I can keep these sizes when loading the view, but when I use PHP’s mPDF class, it ignores the height and increases it…
-
0
votes1
answer159
viewsSlide animation for
I have a problem on the slide , he does the image transactions but when he arrives at the last he stops and does not return to the first image he stops right in that picture @charset "utf-8"; /* CSS…
-
0
votes0
answers124
viewsDetect line break before it happens
ul{ listy-style-type: none; margin: 0; padding: 0; width: 100%; text-align: center; } .an{ width: 300px; } ul li{ display: inline-block; padding: 14px 16px; color: #f0f; border-bottom: 1px solid…
-
0
votes1
answer215
views -
0
votes1
answer713
viewsHow to remove edges and make the background of a Modal window transparent
I have a modal window that displays a Spinner to indicate the loading of a page. The problem is this modal needs to be without the edges and with transparent background. Someone knows how to help…
-
0
votes0
answers503
viewsHide or show field according to selected option
I could use a lot of help. I have a php form ready, but the user requested that after selecting the Requester, the requester name field should appear according to the Requester selected. There are 3…
-
0
votes1
answer54
viewsHow do I make the form static at print time (without changing the size)?
When I send a form to print it changes the size according to the size of the page, in my case it is a card 54mm wide and 84mm high, I put these measurements in my code. It creates the page, I can…
-
0
votes1
answer21
viewsOverwrite first-Child css
Good morning, I’m working with bootstrap cards and I need to replace the header border Radius, but when I try to modify it with css I can’t because of the :first-Child you have in the bootstrap…
-
0
votes1
answer211
viewschange the style of a tag within another tag
within a DIV has three A and an IFRAME, I want to change the A style without interfering with IFRAME, but I need to do this in javascript, because I’m developing an api from a single file and I…
-
0
votes1
answer87
viewsI changed the html of the form, now the php file does not respond
Good afternoon, you guys, I am at the end of a project, and the php file of the forms do not respond. I have 02 separate forms on the page, one of them has file submission input. None of them are…
-
0
votes2
answers127
viewsImage is not loaded as background
Hello, I have the following code as part of my index.php <style> #backgroundImage{ background-image: url('<?=base_url();?>bg.jpg'); } </style> <body id='backgroundImage'>…
-
0
votes1
answer307
viewsCss error in Sass
Hello , I created a reset.Sass file for my project when I was updating Gulp, it generated the following error in one of the lines of my file, but I still can’t figure out which error. This is the…
-
0
votes1
answer32
viewsCSS - inputs are not aligned
I have the following code: <span class="input-label">New Password:</span> <input id="password" type="password" name='password' placeholder="Insert new password"> <br>…
-
0
votes1
answer26
viewsOpen modal from a span hierarchy
How to make both a parent element and a child element being of the "span" type capture the attributes for a modal type event, regardless of the span hierarchy in the text? I already have a text that…
-
0
votes0
answers47
viewsAs UTF-8 force in PHP
I’m programming in PHP. I have a div and inside it I’m calling another screen for example: </div><!-- End col-md-6 --> <?php require_once ("partialView/carrinho_view.php"); ?> That…
-
0
votes1
answer723
viewsHow to adjust span next to Labels?
I’m wondering how to line up the spans beside the labels as an example: Mine is like this: Below is my html: <!DOCTYPE html> <html> <body> <div class="outputs"> <ul>…
-
0
votes1
answer389
viewsChange the text color of an iframe
It is possible to change the color of a text iframe? <div class="col-md-10 padding" style="background-color:white;"> <iframe height="500" scrolling="no" name="Resultado"…