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
votes0
answers186
viewsSend data via modal and keep modal open with a result
I created a modal with a simple form this form will send information to a bd, so clicking send the modal should not close should show a result to the user. It turns out that what I did keeps…
-
0
votes1
answer31
viewsProblem aligning with responsiveness
I would like to align the x button in the upper right corner of the image vide image and example: .teste { overflow: hidden; display: inline-block; margin-bottom: 5px; vertical-align: middle;…
-
0
votes0
answers61
viewsHeight of my website
Good evening, I made a responsive site and I was testing in Mozilla to see how it looked on mobile devices and it seemed all right, but when I put it on the air it did not look like I expected. This…
-
0
votes1
answer143
viewsAdd footer with xhtml2pdf on specific pages with Django
I have a standard footer that is displayed on some pages when generating the PDF with the xhtml2pdf using Django which should be positioned at the bottom of the page. But in some I don’t want to…
-
0
votes1
answer76
viewsReusable elements in the CSS BEM Methodology
I am studying about the BEM methodology (right at the beginning, I assume), and I was in doubt about one aspect of it. I see that it aims to standardize the CSS declaration means of your page…
-
0
votes2
answers1683
viewsHow to center the image?
Picture I want to fix, the logo is all right -> http://prntscr.com/i2qrez While on mobile -> http://prntscr.com/i2qrl0 And on the laptop -> http://prntscr.com/i2qsdw are correct. my html…
-
0
votes2
answers84
viewsError in positioning of Divs
Hello, I’m making an application and I want to create cards using html and css, I’ve been able to create the cards, but I’m not trying to position one next to the other, someone knows how I can do…
-
0
votes1
answer53
viewshow to pass the BRAND variable that receives an Array per Javascript URL to another page? what am I doing wrong?
function escolheControle(c) { controle = c; marca =todasAsmarcas[controle]; window.location="marcaWebkit.htm"; console.log(controle+' controle-----'); console.log(todasAsmarcas+'…
-
0
votes1
answer37
viewsSite content covering navigation bar
I have a navigation bar at the top of a page, but the content of my site covers the navigation bar from the moment I use the scroll bar. How can I fix this? Code: html, body { margin: 0; padding: 0;…
-
0
votes1
answer102
viewsHow to save inline style in a variable?
I need to assign to some variable the inline style of a div, before it is modified: The example below is what I hope will happen, but I cannot force 'top', '100px' on the second button and recover…
-
0
votes0
answers51
viewsApply . css styles before displaying page
I don’t have much experience in web programming. On the website I’m creating was having a problem with the graphical formatting of . css not be soon applied and create weird effects when showing the…
-
0
votes0
answers51
viewsHow to expand a list item in mobile browser?
I have the following navbar on my website: <div class="navbar-custom"> <div class="container"> <div id="navigation"> <!-- Navigation Menu--> <ul…
-
0
votes0
answers13
viewsProblems with Tag Label Pseudo-classes
It is possible to apply effects of :hover, :active and :focus on the tag Label whole? I’m not getting it because the effect only applies to content label... body{ font-family:Helvetica,Arial; }…
-
0
votes1
answer47
viewsAnimation in css
I have a code in html that when I click on the button it opens a modal, and inside the modal I have another button to close, and I would like to put an animation at the opening and closing time, for…
-
0
votes2
answers2837
viewsClick anywhere in the <li> and run href from <a>
It is possible to visualize that the <a>is clickable ie, I click on it and it redirects me to another location for example, but I would like to know how I do so that it is possible to click…
-
0
votes2
answers172
viewshow do I leave my button in the marked menu?
When I click a button I want it to be marked white, if I click another uncheck the old and leave the new marked var menu = document.querySelectorAll("#menu > ul > li > a"); for(var i = 0; i…
-
0
votes1
answer409
viewsDate time Picker bootstrap in modal
The following is the date time Picker is appearing behind the modal and I’m not able to put ahead has to do this? Code that I tried: .form_datetime { position: relative; z-index: 9999; } and…
-
0
votes2
answers121
viewsBackground color did not quit when clicking the CSS close button
I am developing a web application using Html,CSS,Jquery, and every time the page is loaded a modal appears with an image. But when I click the close icon the image comes out but the background color…
-
0
votes0
answers217
viewsHow to insert and customize tooltips in the image using map and area tags
Personal I am trying to create in an image of a product several points of interest, when the person click on one of these points will open a tooltip with the necessary information. I’ve already…
-
0
votes1
answer2013
viewsOpen link in another HTML browser
Good morning, everyone ! Next, I have a very simple HTML code, where I have an image linked to a link from a local application in the company (the application is web) or when I click on the image…
-
0
votes1
answer2803
viewsChange font after text to a div?
I have a div that has position: fixed, that is, accompanies the scroll. But I have a problem. Since the div has text with a color, if pass over a div darker, the text will not be visible. Is there…
cssasked 6 years, 9 months ago I_like_trains 1,430 -
0
votes2
answers1885
viewsAdding Buttons in the upper right corner of the div
I am using bootstrap, HTML and CSS in a responsive layout and wanted to add two Buttons in the upper right corner of the DIV How can I do that? Regardless of what’s inside the div? for example…
-
0
votes2
answers4327
views -
0
votes1
answer49
viewsMenu with dropdown doubt
Guys, I made a menu with dropdown that gives a little problem. As soon as it opens, it stretches the line instead of being in a "box". Someone can help me -> http://marciabelmiro.com.br/tg18/…
-
0
votes0
answers50
viewsinteract with TD with canvas line on the TABLE
I have a common table informed given radius of geometric coordinates, as in the image below: There is a javascript function that calculates the distance from the char point (0,0)' to any marked…
-
0
votes1
answer89
viewsAutocomplete/Suggestions/Mysql
Question 1: Does anyone have any functional examples of when someone types in an input pop up suggestions below? preferably coming from a table created in mysql. Bench: test Table: users (user_id,…
-
0
votes0
answers36
viewsAdjust graphics at header ends
I need help adjusting two pie Chart charts at the left and right ends of a header. Every time I zoom in (Ctrl and +) they mismatch. I set the css to look adjusted, but as soon as I zoom in,…
-
0
votes1
answer215
viewsCancel bootstrap JS default procedure
Good morning, I’m learning to program web now( studied C# last year in college and this year is web, so I wanted to get ahead ), I will program in Asp.net, I did all my "form" in bootstrap, visually…
-
0
votes2
answers64
viewsCSS: How to insert an image element centered on paper?
Personal how can I insert a centralized image element as logo into an html document, to set format "@media print"? In the model I’m applying on screen, for viewing on screen. <html>…
-
0
votes1
answer901
viewsCustomizing the Fullcalendar button
I’m trying to customize the fullcalendar button, but I’m not getting it. I’m using Bootstrap. The fullcalendar CSS code, put after the Bootstrap CSS and before the tag. See the code below: CSS…
-
0
votes2
answers744
viewsHow to format select option with bootstrap in an Angular?
Note the image below: You can see that the field ZIP CODE is quite different from the countryside State and City, I am aware that the field settings ZIP CODE is due to the Angular Primeng features…
-
0
votes1
answer37
viewsProblem with MDBBOOSTRAP
Well, I’m using the hrefs below and everything fucnionava perfectly until yesterday 07/02/2018, today for tomorrow when I opened the site and clicked on a logo to open the templates just doesn’t…
-
0
votes2
answers99
viewsProblem respecting grids, adding fields dynamically
Good morning, I am creating a form that the user will add more fields dynamically (Reference code), But the field is created but does not respect the grids (Bootstrap4) that should follow. Example:…
-
0
votes2
answers703
viewsHow to style elements within the <textarea> tag?
Hi, I was trying to create a "text editor" to program moon, I tried to change the color of the word Function every time it was typed, but I came across something, I can’t style any element within…
-
0
votes3
answers327
views:first-Child no . active Owl-Carousel does not work
Good morning! I am using the Owl-Carousel plugin that has several items. I need to get the first and last item on the first page, but I’m not getting it. Carousel renders this way: <div…
-
0
votes3
answers1286
viewsPlace div height at 100%
I’m putting together a layout using Bootstrap 3 and wanted to put together a layout more or less like this: +-------------+---------------------------------+ +-------------+ + +-------------+ +…
-
0
votes1
answer45
viewssetar scrol location
I have a div with overflow: auto; I press to leave the scrol of this div at the lowest point, to show only the newest information: div{ width: 150px; height:80px; border: 1px solid; padding:5px;…
-
0
votes2
answers346
viewsSimulate event click tag list Span
I have a page where I display some audios when the user clicks and fires the sound. Example HTML <td><span class="audiospeak" data-lang="en" data-aid="of">of</span></td>…
-
0
votes4
answers2107
viewsSearch string on page with Javascript
How can I perform a search in a DIV resembling Chrome’s Ctrl+F with javascript? Case-independent, lowercase, accents, etc. So far I have the result below. I take the term found and check if there is…
-
0
votes0
answers73
viewsGRUNT CSS-MIN does not process with @import inline
Hello, I am building an html page where I merge js files using Grunt and the modules Grunt-usemin Grunt-contrib-uglify Grunt-contrib-Concat to compress the js using the following structure <!--…
-
0
votes1
answer112
viewsLoop wordpress in list with classes
I’m making a loop in Wordpress to capture the posts of certain categories and show them as in the image below (image - html template). I used the Codex of WP to see how I was gonna do it, so I…
-
0
votes0
answers54
viewsCss file with image inside
Person I’m trying to set inside css an image, for this I’m using: body { margin: 0px; padding: 0px; background: #C0C4C5 url(images/page-body-bg.png) repeat; font-family: "Trebuchet MS", Arial,…
-
0
votes0
answers45
viewsStep by Step or Progress Menu
I was trying to make a step-by-step menu, so I got to that. My intention was to click on the first circle, light step 1 in the color green and move on to the next step, making the line between them…
-
0
votes2
answers33
viewsHow to add background to an inline list ? And how to remove the default underline effect?
I’d like to add a background to that menu, how can I do that? The background-color only adds color to the words and not to the whole. And it also has this effect underline in the list <nav>…
-
0
votes1
answer908
viewsChange the color of Datepicker
I’m trying to modify the background color of my jquery datepicker , I searched the internet some solutions brought me this code: .ui-datepicker { color:white; background-color: red; background: red;…
-
0
votes1
answer83
viewsDashboard with this information
I am wanting to create a simple Dashboard. exactly like this! in the field (ORDERS) would be the order count of the current day or by date. in the field (REVENUE) would be the value of sales on the…
-
0
votes1
answer272
viewsCreate a video by javascript
I tried to create a video on my page that is generated by clicking the button through javascript, as follows in the code: function tocar_video(mysrc){ var video = document.createElement('video');…
-
0
votes0
answers101
viewsUse @keyframes of css with angular 5.2.6
I’m migrating a project and it had some animations. The same goes for animations in css with @keyframes, but putting directly into the component’s css and viewing the generated page from the angular…
-
0
votes1
answer235
viewsHow to use the Transition effect on a display?
Good morning, all right? I’m trying, but I still can’t use the effect Transition to smooth the exchange of display:block for display:none and virse and versa. I’m using JS to when the user scrolls…
-
0
votes1
answer188
viewsCSS Bootstrap in Ajax combobox
I am using an ajax combobox, so it can be typed inside the combobox data, but I am using bootstrap and it is not configured correctly, I use class to configure, follows how it is getting: <div…