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
answer2430
viewsAlign the top of Divs (Bootstrap)
Hello I have a page where your blocks(blue and red border)(of different size) stay with the uneven top, how could solve this problem? Imagery: Respective HTML code: <div class="row"> <div…
-
0
votes1
answer791
viewsCreate search button like twentyfourteen theme
I need to create a search button like the one in the theme twentyfourteen. How can I do?
-
0
votes1
answer333
viewsAlign size according to larger text
I have a menu and some submenus, I need the submenu to be aligned width from it according to the larger text, because there are texts that can contain only 5 words but texts in the submenu that can…
-
0
votes3
answers2125
viewsOverride CSS Component Primefaces
I’m using the component calendar of Primefaces, but I’m having a hard time overwriting CSS of the same. Follow my code on xhtml: <h:panelGrid columns="2" columnClasses="col one, col one">…
-
0
votes1
answer1571
viewsconfigure @page print css
People could help me with a CSS problem ( I believe ) because I can’t solve it myself. as print below, when printing the page ALWAYS appears another blank just below. my CSS html { position:…
-
0
votes1
answer608
viewsHow to change an image’s LINK by CSS
I’m editing a site where I only have access to one area to insert CSS. And I have a default image with a link, I was able to change the image using only css, however, I wonder if there is how (even…
cssasked 9 years, 8 months ago Matheus Link 55 -
0
votes2
answers138
viewscenter form vertically to the center
I am finalizing a site and the form has to be centered vertically on the page. I’ve tried everything to have a margin in % but no technique works. I’ve put %, I put like Absolute to top and nothing.…
-
0
votes1
answer140
viewsAdd information to a map in SVG
I have a SVG map on my website. I would like to add a div for when the user hovers the mouse over a respective state, it shows the name of it. What happens is that if I include any information…
-
0
votes1
answer872
viewsSearch JSON format information from a url
I have a url that when opened has the following json: [ { "Name" : "Alfreds Futterkiste", "City" : "Berlin", "Country" : "Germany" }, { "Name" : "Berglunds snabbköp", "City" : "Luleå", "Country" :…
-
0
votes1
answer40
viewsWindows Phone ignores breakpoints
How to solve the bug of viewport on Windows Phone? I use the code below, which is for him to change the background on the Smartphone, but it continues with the background 1200px. @media (max-width:…
-
0
votes3
answers637
viewsLeave paging fixed using jQuery datatable
I have a table and I’m using it datatable of jQuery, however, my table has a lot of column, and I did a scroll on it, but in this my paging scrolls along with the scroll, would have some way to…
-
0
votes0
answers100
viewsError installing Jeet Grid System
I’m having a problem installing the Jeet Grid System. When I give one svn checkout https://github.com/mojotech/jeet/trunk/scss/jeet console gives an error: 'svn' não é reconhecido como um comando…
-
0
votes0
answers175
viewsjavascript does not display image . gif in Chrome and IE
I’m using Bootstrap and in a modal simulate the process of sending data to the database. When the user clicks to save it displays an alert message asking if this is exactly what the user wants to…
-
0
votes1
answer2863
viewsHow do you use Bootstrap Popover?
I need to put a "balloon" in the event click the cars or even use the tooltip with mouse over I think the best way is to use the Bootstrap 3 Popover, but I don’t know how to use this element. Any…
-
0
votes2
answers333
viewsA div superimposed on an image descends according to the scroll bar
I have a div that shows some details about an image when it is displayed, but I’m developing for mobile and when you slide down the Ivs that contain these details also move out of the images. Follow…
-
0
votes1
answer37
viewsCreating tabs without rectangles
I need a little help. I have these tabs that are working, but visually I don’t like the rectangles where I click and I wanted to change. Original: http://jsfiddle.net/f6jk903s/ I want to remove the…
-
0
votes1
answer12676
viewsIframe mobile responsive mode
Can anyone tell me how to make one iframe mobile responsive?
-
0
votes0
answers84
viewsError in width Firefox
I’m looking to position a div on the site, but in Chrome appears one way and in Firefox another, IE, div in Chrome positions correctly, but in Firefox is more to the left than in Chrome and left the…
-
0
votes2
answers2471
viewsLoad HTML pages into a <div>
good morning! I’m a beginner in HTML and CSS. I created a web page where I basically have the navigation menu and I have the other pages in separate files. I would like that by clicking on a menu…
-
0
votes4
answers1122
viewsAlign 4 Divs in CSS table
I have 4 div created, as I can line up in the center in table. That is the first line with the two div and the second line with the others. Using the CSS display table and without using an HTML…
-
0
votes2
answers1547
viewsProblems using Dropzone.js in a form
I want to add fields to a form that uses Dropzone.js to upload files. When I add the files to upload, the screen looks like this: var Galerias = function () { return { //main function to initiate…
-
0
votes0
answers123
viewsLogo Fixed CSS
I wanted to leave my logo fixed only when the site is open on small screen or large screen and fits to ex size: Tela Pequena: Menu HTML and CSS: #navtoplist { padding: 0px; width: 100%; margin-left:…
cssasked 9 years, 8 months ago feliphe felix 629 -
0
votes1
answer75
viewsBroken alignment with Bootstrap
Hello, I’m making the following page. http://www.goldhairmoveis.com.br/bancos And for some reason the alignment went wrong in the fourth product. I have already inspected everything and apparently…
-
0
votes1
answer363
viewsClick on Jquery does not work
According to this question I asked earlier and was resolved I have another question that happens after that. $(".membrosClick").click(function() { var el = $(this); el.css("width", "766px");…
-
0
votes1
answer98
viewsDiv with float does not adjust the grid
I’m developing a website and it should list some specifications of a system. There are several lists of varying heights. Problem: I use the float: left in all lists. I expected the lists to adjust…
-
0
votes1
answer136
viewsShows posts from a Tag on a Wordpress page
I’m trying to organize my posts based on the tags of each article. Example? Cars, houses, a, b, c ... and so on. I found this site that seems to do that perfectly: http://punchsub.net/#anime…
-
0
votes1
answer542
viewsHow to know which is the first and last element with Jquery?
Good evening, everyone. I have a question. I am doing an image gallery and would like to know how I know what is the first and last element. Like I have the right and left arrows for previous image…
-
0
votes1
answer73
viewsBroken texts
I have an imageButton that represents files, and a label on it: <div class="block"> <asp:HiddenField ID="idDirectorio" runat="server" Value='<%# Eval("guid") %>' />…
-
0
votes2
answers120
viewsHow do I do css animation?
I was surfing the net and I found a site with a very nice animation but I couldn’t find the name or how it does it. I admit, I am beginner with web languages and I wonder if anyone can tell how I do…
-
0
votes2
answers101
viewsHow to remove the sub node from a list of a select
I have a responsive menu on my site that some options should not appear when viewed through mobile. <ul class="sf-menu"> <li><a href="#lk1">A gente!</a> <ul>…
-
0
votes0
answers68
viewsHow to make a web system run on a mobile device with IIS 7?
My tcc group is developing a system in ASP.net and CSS, where there is a server connected to a wireless router where the system will be accessed by tablets connected to this network, I am performing…
-
0
votes1
answer1203
viewsPadding-top does not work in the content below the bootstrap navbar, in firefox browser
Context: I’m using Bootstrap as a framework for the interface and Django part for the business rules and database access part of a website I’m developing. The problem: I have two navbar, one for the…
-
0
votes1
answer345
viewsMigrate template to bootstrap
I have a responsive template that repeats some components, which are at the top and the bottom. The problem that the components of the top do not click (buttons) when they are responsive, ie I…
-
0
votes0
answers361
viewsDiv going into another
I have a div with an image, and some information inside it, the image is responsive and increases according to the size of the interface: <div class="col-sm-12" align="center"…
-
0
votes0
answers528
viewsHow to get a (stylized) UL that breaks inside the DIV?
I’m new to design, and I was trying to put together a page like this http://www.anamelmercearia.com.br/ First of all I would like to thank you for your help, because I tried so hard to fix this…
-
0
votes2
answers256
viewsHow to position an image with vertical-align?
I have a menu that poses the logo of the site as follows: html: <a href="#"> <img src="layout/img/logo.png" class="logo" /> </a> css: header div a img.logo{ top:50%;…
-
0
votes1
answer358
viewsTable with different size on various monitors
the menTo the following table: <div id="page-wrapper"> <table class="col-xs-12 col-sm-12 col-md-12 col-lg-12 fm-table" > <tr> <td class="col-xs-6 col-sm-6 col-md-3 col-lg-3…
-
0
votes1
answer1606
viewsImage positioning with z-index
I’m trying to position a text box over an image through the z index, to get something like this: http://postimg.org/image/an6lkq9gf/ Now the text appears after the image (since it is in a 100% width…
-
0
votes3
answers450
viewsVideo Html5/css3
I have a HD video (1920x818 approximately) on my site, I had help in a part of the solution since it was put 100%x100%. Now I’d like to leave it fixed at the top of the page, tried to use…
-
0
votes0
answers21
viewsDirect to a particular gallery using Javascript
I have 3 galleries being represented in Javascript, each of the galleries shows 4 main photos with the option "see more" next. I want you to click on the option, open a new window showing all photos…
-
0
votes1
answer28
viewsDoubt about how to work with (getViewportHeight())
I have a problem. I have a Javascript library that creates a slider that can be folded horizontally. What I need is that the height of the block has a specific height according to the viewport…
-
0
votes5
answers934
viewsAlternatives to center the img tag
I thought the problem was simple, but I can’t in any way center an image that’s inside a div. I have images of various sizes and would like to center them horizontally, but I can’t use the property…
cssasked 9 years, 7 months ago Rafael Almeida 2,585 -
0
votes2
answers276
viewsCSS vertical alignment based on the height of another element
I’m trying to create a block that contains an image with content on the side, where I want the image to be aligned to the center based on the height of the content. I leave here a scheme of what I…
-
0
votes2
answers72
viewsButton animation does not happen
When I clicked on the button it was supposed to go left for 400ms but when I click it goes straight without the animation, it "jumps" straight to the final place without going through the rest. CSS:…
-
0
votes1
answer2653
viewsAnimated Slider in Pure Javascript
I researched several questions of the type, both in English and Portuguese and could not do, because I could not understand the logic to leave the slider of my site animated, with the images…
-
0
votes1
answer34701
viewsHow to align fields of a form
Good, I am developing a webpage with a form. How can I align the text boxes to fill? I tried to put everything inside a div with the container class, I tried to set the size to approximate sizes,…
-
0
votes0
answers178
viewsHow to change the image in the Water-Ripple effect, when the effect changes some
How to change the image in the effect Water-Ripple-, when it changes the effect goes away, the photo it comes from, this pulled from the internet: <div class="a ripples"…
-
0
votes0
answers427
viewsTurn table rows into columns with css
I have a question/problem here. I wonder if you can help me. I have a table, composed of tbody, tr and td, but I would like to turn the rows into columns, only I need you to stay for example 3…
-
0
votes2
answers992
viewsChange the color of a div with a setInterval
Here is the code: jQuery(function($) { $('a.panel').click(function() { console.log($($(this).attr('href'))); var $target = $($(this).attr('href')); $target.show().css({ left: -($target.width())…
-
0
votes1
answer950
viewsTable with column and fixed Scrolls
I need to make a table with the first column fixed and with fixed lateral scroll, as the example of this link: http://hazaa.com.au/blog/how-to-create-an-html-table-with-frozen-headers-and-columns/…