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
votes1
answer28
viewsReplace value after tag, but inside div
I have the HTML code, and I need to replace the decimal value at the end of the div, the project is doing a reverse proxy of a site, and I have to put the value of the tag "changed" in the place…
-
0
votes2
answers980
viewsInsert Image with CSS Without Line Break
I have the following problem , when I insert some photo with the background it keeps breaking line : I wanted them to line up : Ex: [Imagem] - [Imagem] HTML: <span id="vote"><a href="#"…
-
0
votes1
answer702
viewsRadio button assignment via div
I need to ask a simple questionnaire of questions and answers of multiple choice, in this case I chose the radio button... In my PHP I’m receiving the posts and I’m already checking the answers with…
-
0
votes0
answers93
viewsMake a CSS responsive
I am developing a system with Asp.Net Mvc using bootstrap, but I want to give a different "face" to my login screen, I created a css but I would like to make it responsive, does anyone know how to…
-
0
votes0
answers471
viewsHow to style the scroll of a div
hello, I’d like to know how I style the scrollbar of this div, and something else, when passing the name on the names the effect Hover it opens a div to the left, after I put in that div that holds…
-
0
votes3
answers1141
viewsHow to call HTML code inside css?
First of all, it is quite possible that there are already topics talking about this. It was not lack of research, I believe only that I did not find the correct keywords. Self-explanatory question.…
-
0
votes1
answer58
viewsHow to make two separate selections
Good afternoon, you guys, I am developing an application where the user will have a number amount, for example from 01 to 20 and he should perform two selections, 3 red numbers and 5 blue. The first…
-
0
votes1
answer64
views -
0
votes0
answers231
viewsSelect2 with incorrect styling
I’m using a Lect2, but its style is coming in a way that wasn’t expected. That way: How I make it fit and align with the input-group? HTML code: <div class="form-row"> <label…
-
0
votes1
answer79
viewsProblems alignment dropdown menu
I have a menu dropdown in Wordpress in the tab of Services, only when I resize the page with zoom, the menu is not following its parent element, Follows image and code. ul.sub-menu { display: none;…
-
0
votes2
answers230
viewsbecause the Hover does not overlap the div
I have a problem I think very simple. But I’ve done everything and nothing solves, as you can see in the print div who is with the hover she doesn’t stand on top of the div pai…
-
0
votes1
answer1485
viewsCenter images side by side
I would like to center these two images side by side, but on a small screen the bottom is very close to the top image <script…
-
0
votes1
answer60
viewsMake facebook widget responsive
I have a div that is put news, and in the laterial of this div, has the widget facebook, wanted his size to be responsive, IE, his height was the same as the news div My current html: <div…
-
0
votes1
answer53
viewsSUB-MENU is MISSING CSS
The submenu is hidden in the menu; I need this help, here is the menu code and submenu. .menu.superior{ background-repeat:no-repeat; height:225px; margin-left:-185px; margin-right:-184px;…
cssasked 6 years, 8 months ago Vitor Giovanny 59 -
0
votes1
answer28
viewsSend data to a pdf and email file
Good afternoon I would like to save data from a form of an html page when users register and commit in a pdf file and be sent to a predefined email but I do not know how to do this, I have the form…
-
0
votes0
answers437
viewsBootstrap Tab Responsive
I have some tabs and want to leave responsive. I found an example in codepen, using version 3.3 of Bootstrap. In the project I’m fixing, they used the 4.0.0-alpha-6. NOTE: DISPLAY WITH SCREEN LESS…
-
0
votes1
answer118
viewsCenter submenu with menu
/*Sub-Menu*/ .menu.superior .nivel-dois, .menu.superior .nivel-dois, .menu.superior .nivel-um li:hover .nivel-dois{display: contents;po;position: unset;} .pagina-login .menu.superior, .pagina-busca…
-
0
votes1
answer235
viewsHow to also change the flag of the selected language?
On the link 1: How to customize google-Translate on my website? I managed to customize dropdown language using the google-Translate, now I would like to customize my selection as follows, when…
-
0
votes1
answer2303
viewsbackground image does not go out in print (using window.print)
I need to print a page that has a background image as background, a Dagua logo. But using window.print() the background does not appear in the image (unless the user marks "background Graphics" on…
-
0
votes1
answer40
viewsFix Bug of a simple Jquery function
Hello! I’m having a little problem regarding bugs on a site I’m setting up, where when the interface opens, a function JQuery which was made to replace the navbar logo by a larger one is not being…
-
0
votes2
answers535
views -
0
votes2
answers110
viewsJquery - Identify automatic text
I am using Jquery to identify when the text box is text in the text box, thus: CSS: .inputtext { border: 1px solid lightgrey; margin: 0; margin-top: 11pt; width: 100%; } .inputtext:focus { border:…
-
0
votes1
answer36
viewsTremble/ Shaking when I do Hover in H4
Can someone tell me what to do to stop h4 do Tremble/Shaking when I do hover? Send down my code. CSS: films{ width: 100%; height: auto; margin-bottom: 30px; padding-top: 100px; text-align: center;…
-
0
votes1
answer523
viewsOrganize HTML table data - CSS - SQL
I have the following code <table border="1"> <?php $sql = $mysql->prepare("SELECT id FROM usuarios WHERE status = 0"); $sql->execute(); $sql->bind_result($id);…
-
0
votes0
answers30
views.hasClass to expand <div>
Wanted to expand the <div>, but I can’t. Where I’m going wrong? In principle it will be this, but I want to make a screen with 100% width with this effect, expanding and returning with another…
-
0
votes1
answer169
viewsdescription call (HOVER)
How do I display the description when doing the hover in <img>? I would like that when the user passes the mouse over an image a certain description is displayed, follows below my code: /*…
-
0
votes0
answers39
viewsMy Lightbox module that I inserted in Angular does not work, how to do it?
Well I installed this Lightbox module with the command npm install lightbox2 --save according to the website: lightbox so far so good. After I put the paths in the angular file-cli.json as examples…
-
0
votes0
answers50
viewsCarousel Disappearing when inserting a Link
Good morning, I’m having a problem where I’m trying to reference a link in a Carousel here, however it is in trouble. Below the image as the site is. Below picture how it looks when I put the link…
-
0
votes1
answer168
viewsReplicate sidebar on all HTML pages
I’m studying a code, and setting up a website with it. But, I made changes to the Dashboard sidebar, but they weren’t replicated to the other pages, I’d like when I changed the Dashboard, all the…
-
0
votes2
answers62
viewsjs ul lis appearing a post a
So I have a ul with their li's. I’d like to make a js so that each li appeared and disappeared (automatically in an infinite cycle) to make way for the next li. That is, that each li appears in…
-
0
votes1
answer164
viewsCentering buttons on a div does not work
I created a div containing several buttons, and I set in two of these buttons (those of the second row of buttons) the attribute align = "center", html itself. But it was the same thing as nothing,…
-
0
votes0
answers31
viewsDisplay css with file_get_contents to avoid rendering blocking
I’m optimizing a site (which has already improved a lot) and in Google’s Pagespeed Tools, says I have to "Eliminate Javascript and CSS rendering blocking content above the edge". It worked out that…
-
0
votes1
answer147
viewsDIV that starts at the end of another div and goes to the end of the father div
I have the following structure: <div class="pai"> <div class="t1"> itens </div> <div class="t2"> itens2 </div> </div> css .pai{ height:100%; } .t1{ height:20%; }…
-
0
votes0
answers211
viewsBlank pages - wamp server
Hello! The day before yesterday my Wamp Server started a strange bug where all the pages of the project, including phpmyadmin, went blank. No mistake, white only. What I tried to see if it solved:…
-
0
votes2
answers86
viewsas "cachear" css concatenated via GET
I’m making a concatenation of css files where the names of the files are passed by parameters in the url to the css.php file, my question is if it is somehow possible to "cached" the requested files…
-
0
votes0
answers340
viewsConfigure my Datatable (Bootstrap) headers padding using Javascript and CSS
I need to configure the padding of my Datatable (Bootstrap) headers through Javascript and CSS, because the arrows are getting too close to the header titles and getting cluttered when the columns…
-
0
votes2
answers255
viewsCollapse mother close the child Collapse also, but do not open together in bootstrap 4
I have the following menu: When I click on collapse mãe "Security": Opened the collpase mãe and inside it is the collapse filho "Users", let’s click on collapse filho "Users": So far everything is…
-
0
votes0
answers40
viewsHow to adjust a custom text editor to mobile version
Is there any way to adjust an editor on the screen, in the mobile version, without using css: zoom:0.1 or transform:scale(0.1). I need to make the CSS element: .main{} which is CSS of the container…
-
0
votes0
answers80
viewsChange father’s height by son’s height
I would like to do this in CSS: $("div.slider").height($("div.slider div.slide").height()) it is possible? The goal is to create a slide where the height of the div container (slider) is always, and…
-
0
votes1
answer39
viewsSlider occupying more than 100vh
I have a problem, I added a slider to my header but it happens that it occupies more than the 100vh I gave, still occupies a little section below the header. Above that section he occupies I had a…
-
0
votes2
answers4800
viewsAdd input with Javascript
Hello, I’m new here. I’d like to know how to make my javascript-generated input inherit the css formatting my html input has. Follow the code: <html> <head>…
-
0
votes1
answer237
viewsReact Native Maps - CSS HELP
I’m trying to get an icon under the mapview in my project, so: But now it’s like this: Code: <View style={styles.viewMaps}> {this.state.ready && this.state.region &&…
-
0
votes1
answer117
viewsNavigation and Sticky Nav
I’m trying to make my navbar Sticky when it comes to the section after the header, but I’m not getting it, I’ve researched several ways, but the navbar gets very buggy... First problem is: When…
-
0
votes1
answer90
viewsGeneralize a Javascript dropdown function?
Hello, I’m having a certain difficulty to generalize a dropdown function, I imagine I’m doing something very wrong, I searched on forums and did not find the answer so I’ll open this topic. My code…
-
0
votes0
answers115
viewsProblem with navbar bootstrap 3
Person, good evening! And I’m having trouble styling the icon-bar. Part of the code contained the search form, so I removed it. And in the search it contained the navbar-left With this removal broke…
-
0
votes1
answer576
viewsDifferent font on mobile and desktop
In my CSS I put the font Poiret One in the menu of my site. But when I open it on the mobile phone, the font is totally different. Desktop Menu Menu Mobile My CSS is like this: .menu a{ font-family:…
-
0
votes0
answers116
viewsText rolling in bootstrap
I’m using a <ul> to display the results on a website. 3 items per line are printed: Site name, link and status. In the browser the resutlado is good: Poblema occurs when using mobile: Because…
-
0
votes4
answers3804
viewsHow to align image of Carousel Bootstrap?
I wonder, how do I center the Carousel images (or slider) in bootstrap 4? <div id="demo" class="carousel slide" data-ride="carousel"> <!-- The slideshow --> <div class="carousel-inner…
-
0
votes3
answers3449
viewsHow to limit the size of a td so that regardless of the text it has, heigth does not increase
Good afternoon, I have a Table where I need to put different texts in it, so the size of the TD is different, there is some way to make the TD is always the same size even if you have to cut the…
cssasked 6 years, 6 months ago Lucca Fernandes 19 -
0
votes1
answer1299
viewsChartjs. How to adjust the graph height according to table size? Ionic 3
I’m developing an application in Ionic 3, where I consume data from an API and display the data on a horizontal graph. The amount of data returned by the API is not standard, so sometimes the height…