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
answer735
viewsCakephp - Loading a background-image css
I’m not being able to upload my image to the Css Background style.css - working, just not able to call this image .layout{ width: 100%; height: 230px; position: relative; margin: auto;…
-
1
votes2
answers884
viewsDoubt about z-index in separate Ivs
I have the following code: .div1{ position: absolute; z-index:2; } .div2{ position: absolute; z-index:1 } To .div2 has an image that is on top of the .div1, a few pixels only. What happens is that…
-
1
votes2
answers1647
viewsHow to position html elements with css
I have difficulty positioning controls, like: I have a Textarea and I would like to put a label next to it, next to the bottom right and below the label, a SELECT control. Well I have managed, but…
-
1
votes0
answers34
viewsHow to apply Blur-like effects to images that work outside of Chrome?
When trying to apply the effect Blur in images, I had problems with some browsers, as you can see in the link below. BLUR EFFECT I wonder if there’s any effect that resembles Blur and that works in…
-
1
votes2
answers2177
viewsHow to change anchor links URL?
How to change that "#" sign of the anchored links? I am creating a slide menu in CSS and it is horrible this sign in the browser bar. Is there a workable solution? I read about the jQuery Address,…
-
1
votes1
answer800
viewsTransition effect of website content
I visited that website and liked the way the content moves, when it is clicked on More Articles or Hide List, I’d like to implement it on a website I’m developing. I’m having difficulties to find…
-
1
votes1
answer606
viewsChange a Textbox to Multiline while maintaining CSS
I have a web application with several Textboxes. However, I need some of them to stay with Multiline because of the text they will contain. Every time I make this change I lose CSS settings. From…
-
1
votes1
answer40
viewsie7 x Chrome brightness
I’m walking in a responsive portfolio project, and I’m configuring ie7 with pieces of own css, I’m already using modernizer. I use Ubuntu 13.10 and to run IE7 I use Wine with playonlinux, and it…
-
1
votes2
answers311
viewsMaintain full size image - CSS
good morning, I’m showing images in a slider, only they’re being stretched, like q do in css, so that it stays in the size specified in css, for example: width:200px; and height:200px. on that, the…
-
1
votes1
answer127
viewsHow to prevent GIF images from uploading and only authorize them by clicking a button?
Self-explanatory title "How to prevent the loading of GIF images and only authorize it by clicking a button?".
-
1
votes1
answer201
viewsUse :before or a div with an image?
I’m finishing a website and I don’t know if I use :before or a div with the background of the picture, what I need is this: As you can see, there are two divs, the first is the glasses, and the…
-
1
votes3
answers3178
viewsHover in two elements at the same time
I own a div and inside it a <a> I can see it in the div, but the anchor color doesn’t change. HTML structure: <div class="TamanhoECorTabs ThemeGrid_Width6"> <a id="ancora"…
-
1
votes2
answers613
viewsTwitter bootstrap, button on panel title
I’m trying to put a button inside the title of a panel twitter bootstrap 3, but this button is not aligned centered on the panel. Code: <div class="panel panel-default"> <div…
-
1
votes1
answer167
viewsHow to make images occupy 100% of the browser
I wanted to know how to have a 'Gallery' like this:(HTML and CSS) http://logiciel-tek.com/demo/html/ether/ether-html/index.html (In the area OUR WOKS) I wanted it to be the same regardless of the…
-
1
votes1
answer52
views -
1
votes1
answer4123
viewsWidth adjustment to take up space remaining to be occupied in a div
Supposing I have this structure: <div style="width:1000px"> <div id="div1" style=""></div> <div id="div2" style="width:300px"></div> </div> How to make the div1…
-
1
votes1
answer1210
viewsProblems with dropdown menu with bootstrap
I have a dropdown menu on my page. When I select the menu the following problems occur: 1) Nothing is selected, that is, I choose the option, but do not select anything. 2) Even if nothing is…
-
1
votes1
answer913
viewsGenerate PDF from selector on current page with CSS
I would like to know how to generate a PDF from a selector that I define and that all the formatting of this selector comes correctly in PDF? I want to make client-server. Example: Imagine that I…
-
1
votes1
answer262
viewsWhat is the Pinterest content effect called?
I’d like to ask you what the effect is called Pinterest content that some items are but on top, other items are lower, nothing with a horizontal line defined? Can be seen below:…
-
1
votes3
answers262
viewsA column in several rows
I already searched in documentation and could not get the expected result using bootstrap. The image illustrates better what I want to do <div class="container"> <div class="col-lg-4">…
-
1
votes2
answers271
viewsCreate a bottom bar with Tabs
Is there any jQuery plugin that creates an options bar like the one in the project PHP Debug Bar? Does anyone have any suggestions for implementation? The "Messages | Request | Timeline" is a thin…
-
1
votes3
answers998
viewsHow to work with multiple bootstrap columns,
In bootstrap 3, there are some types of columns col-Md-xx , col-Sm-xx, col-lg-xx My question is, is there any pattern to be easy to develop with all these columns? For example "Whenever using…
-
1
votes1
answer1931
viewsAligns in the same row rowEdit and other buttons in Primefaces
I’m in trouble where mine dataTable owns the property editable set to true. Allowing editing of the line the user selects. Well, when putting a button to delete for example I’m having trouble that…
-
1
votes1
answer2222
viewsPositioning controls with bootstrap
I’m having a hard time positioning controls on the bootstrap page. I wish I wasn’t resorting to external CSS resources, because that would take away the reason of being bootstrap. What I mean is: 1)…
-
1
votes1
answer11910
viewsBody Mass Index Calculation (BMI)
My html code is as follows:: <!DOCTYPE html PUBLIC "-//WC3//DTD XHTML 1.0 Stric//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">…
-
1
votes1
answer4075
viewsHow to put time and date in input fields with jQuery and jQuery UI?
How to include jQuery UI style files and Javascript files so that date and time inputs show pt_BR fields perfectly? You need to modify library attributes?
-
1
votes1
answer1645
viewsValidating text box
Whenever I do a javascript validation of a text box, to know if it is empty or not, I do it as follows: function validar(){ var input = document.getElementById("texto"); if(input.value == ""){…
-
1
votes1
answer141
viewsCenter two Ivs with text
I have the following structure: HTML <div class="contatoTopo"> <div class="buscaConteudoCent"> <div class="buscaFontEncontraTit">Nenhum resultado encontrado para:</div>…
cssasked 10 years, 3 months ago Felipe Viero Goulart 3,693 -
1
votes2
answers3732
viewsMouse over image to show information box
How do I make a mouse over open a Tooltip and this box does not disappear when removing the mouse focus so I can place a clickable text inside this container? As an example: the tags that appear…
-
1
votes0
answers230
viewsIdeas for an issue involving html and css
I’m developing an app where users can send photos that works like this: The app When a user chooses multiple photos, through a loop, a form is generated for each photo to fill in the title and…
-
1
votes2
answers180
viewsWhy does the universal selector * have a negative impact on browser rendering?
I was just applying a CSS Reset to my website. I usually use the one suggested by Eric Meyer http://meyerweb.com/eric/tools/css/reset/ . But I was looking at Diego’s suggestion…
-
1
votes3
answers501
viewsHow to resolve this situation in the layout part?
I wonder how, through the tools of Photoshop CS5(CS6) I can make either white or black arrive in the color pointed by the hexadecimal code which is also that of the larger color image. I tried to…
-
1
votes1
answer197
viewsHow to make the movement of a paragraph not influence other elements
Every time I div her. content moves, the text adjusts itself to its size, but, makes the image/div inside also move, I want to keep the image fixed in the div without being influenced by the other…
-
1
votes3
answers660
viewsPosition of a text relative to the top line
I would like to know how to line up a text vertically, compared to a word/letter of the previous line? When I use only the space bar I can’t get the result. Would have some code for it? For example,…
-
1
votes1
answer1844
viewsHow to move element randomly across the screen (css or jquery)?
How to make an element move around the screen randomly by bouncing at the edges of the screen. Like those old DVD screen savers?!? The closest example I found my question was in css (keyframes,…
-
1
votes1
answer66
viewsCursor is the size of input height
I have a form and inside it inputs. THE HTML: <input type="text" id="nomeForm" name="nomeForm" onblur="if(this.value=='')this.value='Nome';" onfocus="if(this.value=='Nome')this.value='';"…
cssasked 10 years, 3 months ago Felipe Viero Goulart 3,693 -
1
votes2
answers9397
viewsPlace image in bootstrap menu
As I put an image in the right corner of a menu bar with bootstrap. Below the code of my Layout(Master) <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta…
-
1
votes1
answer76
viewsText always aligned horizontally
I can align a text horizontally. I always define a height and a line-height and everything is fine. But in Chrome, the cursor, inside a input becomes giant, because I always define everything in px.…
cssasked 10 years, 2 months ago Felipe Viero Goulart 3,693 -
1
votes3
answers160
viewsbg-image internationalization by CSS
I have a Rails project that needs different images for each language, however and image is pulled from CSS and I can’t change that. How to change the image according to the chosen language?…
-
1
votes5
answers3979
viewsFooter alignment
I am frying my neurons and so far I have not reached a solution. I am putting together a page, but there is no way for the footer to line up the page. In my machine I solved, but if it opens in a…
-
1
votes1
answer1708
viewsCentralize in vertical form with Zurb Foundation
I am using the CSS framework Zurb Foundation, and have made several attempts to center this form in the center of the screen. I’ve tried attacking with a normal CSS of putting 50% at the top and…
-
1
votes4
answers405
viewsHover does not work in div
I have the following HTML code: <li style="background-image: url(fotoSYS)" class="produtos f-left margin-right-30 margin-top-30"> <div…
-
1
votes1
answer629
viewsDifficulty positioning table on screen with bootstrap - layout only
I need to make a layout on my page, as follows. That I have three textbox controls, one at the bottom of the other and picking the other side all the rest with a table. See below how I need. I tried…
-
1
votes1
answer299
viewsProblem when aligning Footer
Hello, I have a problem that is disturbing for a long time, I have a page on which there is a div which has several contents inside which are modified according to the user’s wish, below there is a…
-
1
votes3
answers616
viewsCarousel bootstrap with two items upright
The challenge is this: Make a Carousel, using the Bootstrap, which displays two items at a time, aligned vertically. Follows an outline of the idea: I found some examples of Carousel using multiple…
-
1
votes1
answer113
viewsSelect specific items within a while loop
I have the following HTML inside a while PHP: <article data-id="1">...</artcile> <article data-id="2">...</artcile> <article data-id="3">...</artcile> <article…
-
1
votes2
answers428
viewsOverwrite CSS compontente Richfaces
I’m using a component Calendar but only the date (omitting the time), and overriding the CSS to reduce the screen size. Below: <rich:calendar value="#{_sessao.dtSessao}" showFooter="false"…
-
1
votes1
answer1090
viewsUse of attr to apply edge color to LI
I own a li, which is a square, the CSS is like this .produtos{ width: 294px; height: 349px; /*background-color: #f1f2f2;*/ border: 3px solid transparent; position: relative; cursor: pointer;…
-
1
votes1
answer108
viewsWhat is the standard method of positioning elements on a page?
What is the standard method of positioning elements on a page? I ask because I had seen in some material that by default the elements on a page (HTML) have the property position defined as relative,…
-
1
votes0
answers85
viewsPlugin javascript or jquery stars
Obs: I don’t know if you can ask this question here, if not! Please disregard/delete. Does anyone know any plugin that I can make this screen(the rating): Where this classification I’m trying to do,…