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
-
1
votes1
answer1479
viewsWhat is the difference between "~/" and ".. /" for directory navigation?
I saw it somewhere, I wanted to know the difference.
-
1
votes2
answers1421
viewsCenter vertically on a <span>
How can I vertically center a tag (Top countries) with the form? Code: <div class="wrapper" role="main"><!-- START Content --> <div class="container"><!--- START Site Content…
-
1
votes0
answers49
viewsFirefox OS: Error submitting app
I am trying to validate my app in firefox Marketplace. However, I am getting the following news: Error while extracting the manifest from zip file. But manifest.webapp complies with the firefox…
-
1
votes1
answer313
viewsMap of Google Maps disappeared
Hello, I am using the JS V3 API from Google Maps. I went to style the page and the map disappeared. jQuery, CSS and HTML: $(function() { $('.nav-toggle').click(function() { if…
-
1
votes1
answer1083
viewsHow do you get two Ivs to be the same height even if they have different content sizes?
Hello, How can I leave a <div> with dynamic height, that is, when the <div> with the content of the products grow the <div> that contains the menu also grow together, getting both…
-
1
votes2
answers216
viewsLeave click on A throughout the LI
I have the HTML: <li class="duoBtsAnalise"><a href="#">Análises de Risco</a></li> I want the click of a is active throughout the li. My CSS: .duoBtsAnalise {…
cssasked 9 years, 10 months ago Felipe Viero Goulart 3,693 -
1
votes1
answer66
viewsImage positioning
I’m having a problem positioning images on a website that I’m developing. Some of them apparently aren’t fitting into a line, in which case, I’ve positioned four per line. I made some attempts,…
-
1
votes0
answers79
viewsProtection x Freedom - Paid Sources
We know that when a site decides to use a paid source on its site, it seeks design and at the same time differentiation. But in order for the user to see the source at work on the page, the…
-
1
votes1
answer312
viewsAnimation with height with relative measurements
.item-case { position: relative; overflow: hidden; padding-right: 0; padding-left: 0; margin-right: 15px; margin-left: 15px; } .item-case .info { min-width: 100%; max-width: 100%; background-color:…
-
1
votes2
answers1117
viewsTake URL link and modify CSS
I would like to take the URL link and with it, modify the class property flechaSubmenu of display:none for display:block. I thought I’d do with CSS: .classe a[href^="/categoria/categoria2/"] {…
-
1
votes1
answer96
viewsHow to keep icon aligned left when resizing page?
I have a page that when resized the facebook image is broken and I am not able to leave it aligned to the left next to the field of the newsletter, I tried to decrease the size of the input and was…
cssasked 9 years, 9 months ago adventistapr 5,498 -
1
votes4
answers1380
viewsWarning box after click div
Hi, I was wondering how do I make it so when someone clicks on a button to open a box in the center of the page and the background page is blurred. I have only the button code: <a…
-
1
votes1
answer1582
viewsVertical alignment of icones
I have the following structure: one div with width: 228px and height: 228px. Class: icons an element <a> with image size (icon). The problem is that I have some cases that have 3 icons (1…
-
1
votes2
answers1652
views2 different tables from each other
I want to create two tables on the same page only one will have borders and the other will not. I have one already created in CSS but now I can’t create another. <table border="0" width="500px"…
-
1
votes2
answers269
viewsText appears behind the menu
I have a menu and my page text is appearing behind the menu and I want it to appear beside. Page code is: <html> <heard> <meta charset='utf-8'> <meta…
-
1
votes0
answers189
viewsBootstrap Android
I’m trying to make a project using some Bootstrap components, but it’s giving a XML error in my Layout. The error: The following classes could not be instantiated The article of this project with…
-
1
votes1
answer1177
viewsHow to place border-Radius on an iframe maps?
I have an iframe with the google map I wanted to put a border-radius to get rounded corners tried border-radius but has not given any suggestion as to how I can do this?…
-
1
votes1
answer255
viewsCSS: Dropmenu with Login
I have a drop-down menu :Hover for a div that contains 2 input, login and password, and two buttons, so when I try to type something in the div(that appeared with the li’s Hover) it goes away...…
-
1
votes2
answers39475
viewsImage alignment to the right of the div in Bootstrap
I know what central and center-block alignment is in bootstrap, but I’d like to know how to line up a picture to the right of a div? I’m unable to place the phone image next to the number, I have to…
-
1
votes3
answers121
viewsLink to edit another window open
Next, I have a page that, by clicking on a button, opens a new window. On this new page I would like to put links that affect the page that generated this window. Someone knows how to do?…
-
1
votes1
answer54
viewsHow to maintain List/Menu position online
Hello I am trying to leave a List/Menu on the same line as the description of a particular product I present to the user but as the line uses a H1 my List/Menu accompanies the text size, I created a…
cssasked 9 years, 9 months ago adventistapr 5,498 -
1
votes2
answers1076
viewsStylize a return message
I would like to stylize the return messages of a Newsletter that I have on my site, the attempts I made did not give the expected result and I believe that the lack of knowledge in the subject has…
cssasked 9 years, 9 months ago adventistapr 5,498 -
1
votes3
answers14756
viewsCentralize one div within another 100% div
I have a div that is 100% and has a background image. .bannerTotalHome { background: url("../imagens/bannerTotalHome.jpg") no-repeat center; width: 100%; height: 570px; margin: 0 auto; } And inside…
cssasked 9 years, 9 months ago Felipe Viero Goulart 3,693 -
1
votes1
answer560
viewsBreak div when content exceeds maximum size
My style css to a div, like an A4 page .pagina { width: 210mm; min-height: 297mm; max-height: 297mm; padding: 30mm 20mm 20mm 30mm; margin: 10mm auto; border-radius: 5px; background: white;…
-
1
votes1
answer91
viewshow to set up a very extensive table
How do I show a form form by x in the table? the table is very extensive as do p show it as a form vertically and not horizontally? <CENTER><FONT COLOR=BLUE…
-
1
votes2
answers521
viewsHow to make race effect?
I need to put an effect on the cars so they can move up to that point when I load the page. You got any Jquery for that? I don’t even know if you have a name for it I also have to put this edge on…
-
1
votes2
answers148
viewsbest way to do sprites in SASS
I am making a Sprite with Sass as follows below, but I would like to know if this way is correct or not, or if there is another better way. $sprites: bovino, suino, aves, embutidos, congelados,…
-
1
votes1
answer404
viewsClear selection of subfilter
I have an option on my site that is the facility to search the products by subfilters, but now I have a problem, I need to "clean" this navigation, going back to before research, I used a technique…
-
1
votes1
answer658
viewsHow to make the tip of the "balloon of dialogue"?
How do I do this triangle before the numbers tab? You can do this by manipulating the edges?
-
1
votes1
answer880
viewsPlace div with image on another div
I’m trying to apply a solution in a div in my project, but I’m not succeeding, I did a test in Jsfiddle worked, as can be seen here, by my limitation in css I’m having difficulty implementing.…
cssasked 9 years, 9 months ago adventistapr 5,498 -
1
votes1
answer154
viewsHow not to leave buttons to like and share below the product image?
I am unable to leave below the detail text of my product buttons like and share, they are being moved down the photo of the product on the left. I tried to change the size of the product image div,…
cssasked 9 years, 9 months ago adventistapr 5,498 -
1
votes1
answer1733
viewsCheck number of clicks on buttons
I have a script with functions to control what each button of an application does. I declared a global variable so that when all buttons are clicked, two actions are triggered: hide a div and show…
-
1
votes2
answers8312
viewsCarousel image resolution
I’ve been looking for some option but could not find how to configure Carousel resolution. I’ll give you an example. Have this image: In the Carousel she looks like this: Is there any way to make it…
-
1
votes1
answer157
viewsWhat is the best logic to implement sub-menu with mouse events
I am developing this site and for now I have not put any Javascript code in it to make it dynamic. I have a problem that repeats itself in all projects for lack of knowledge of language and logic,…
-
1
votes2
answers497
viewsMedia query messing up another media query
Good Morning, I’m having a problem with some media queries I started doing the media queries on the desktop part with the following measures that worked perfectly: 1024x600 1024x768 1280x768…
-
1
votes2
answers480
viewsLoad checkbox from select
Good morning! I have the following select: <select name="category" class="form-control" id="categorias"> <option value="">Escolha uma categoria</option> <optgroup…
-
1
votes1
answer60
viewsTurn 3 CSS classes into one
I have these three classes css, and I wonder if it is possible to turn into one, it would be used in panel grid of Primefaces .panelGridCenter { margin: 0 auto; } .gridNoBackground tr{ background:…
-
1
votes1
answer88
viewsSvg contained in DIV does not follow "max-height: 100%"
Take the example of the structure first. .follow-window-size-container { height: 100vh; background-color: green; } container-of-svg { max-height: 100%; } container-of-svg svg { max-height: 100%; }…
-
1
votes1
answer1145
viewsSass - how to compile the minified file?
I use Sass to help in the development, but I would like to optimize the final result of the generated css, would have some way to generate the file . css already minified? I use the following…
-
1
votes2
answers589
viewsImage changes alignment of all components within a div
I’m creating a FORM within a DIV. In it I have a text box for the user to enter the data and an image, to the right, to forward the data. The problem I’ve been having is that my image changes the…
-
1
votes1
answer58
viewsHow do I add this expense counter to my Woocommerce theme?
I kind of want it that way, it looks elegant and practical. Anyone who knows how to do it or any other similar way please help. Thank you!…
-
1
votes2
answers2501
viewsHow to style only an excerpt of a text?
I want to know how I can have a result like this in my text: I want to highlight certain excerpt and put in bold. <p> A ferramenta é 100% online, desenvolvida com as mais modernas tecnologias…
-
1
votes2
answers543
viewsZoom button and Street View do not appear in Modal Boostrap
I’m loading Google Maps v3 into a Boostrap Framework modal. The problem is that I can’t see the zoom icons/button and Street View, they appear distorted in the blue square of the image. The right…
-
1
votes1
answer1781
viewsHow to place next and previous buttons on a slider?
I have this slider simple, but I can’t put buttons Previous and Next. And I was wondering if it’s "viable". HTML <div class="fadein"> <img…
-
1
votes2
answers181
viewsHow to adapt a div with position: Fixed?
I have a div with position: fixed. How do I make for the height(Height) adapt according to screen resolution?
cssasked 9 years, 6 months ago Andrew Maxwell 429 -
1
votes1
answer57
viewsLink does not click in small dimensions
I’m having a problem with the links (<a href=""></a>) because on normal screens (desktops) it is normal as it should be, now when the resolution is lower type mobile or tablets, the link…
-
1
votes0
answers204
viewsCss problem since the site was changed to https
Good night, I had the whole site in HTTP now switched to HTTPS to increase the security and data of our users what is happening to me and that I’m having a css problem only on the first page in HTTP…
-
1
votes2
answers334
viewsCSS heritage in Divs
I’m having trouble editing some legacy Ivs. Let’s take a look at the example: This is the current code: <div id="conteudo"> <div class="titulo">xxx</div> <div…
-
1
votes1
answer145
viewsHow to customize Ruby tags on Rails?
I have a form: <% form_tag :action => 'validacao' do %> <p> Login: <%= text_field :acesso, :email %></p> <p> Senha: <%= password_field :acesso, :password…
-
1
votes1
answer624
viewsDropdown Bootstrap 3
How to put a Bootstrap Dropdown menu to display on the right side? Follows a model: