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
-
4
votes1
answer509
viewsBrowser zoom does not work with my CSS
I have inside the tag body 3 Divs with height defined in pixels and width in percentage. When the person types CTRL+ browsers zoom up to 500%. My problem is that the zoom doesn’t work. I tried to…
-
4
votes2
answers208
viewsHow to change the style of superior brothers?
I have a parent element (div#workarea) that has four children: figure#start, p#first, figure#start2 and p#second: <div id="workarea"> <h1 id="title">Área de Testes</h1> <figure…
-
4
votes3
answers8001
viewsWhat is the right way to remove the edge with CSS?
To remove edges in CSS I usually use one of the two values: .exemplo{ border:0; /* ou */ border:none; } The funny thing is that they both work, and it happens with other properties like outline, but…
-
4
votes1
answer904
viewsHow to work with CSS media queries?
I would like some information on how to use media queries. How do I define media of a website in the below? 2560 x 1440 2560 x 1080 1920 x 1080 1366 x 768 1280 x 1024 1280 x 768 Being that my site…
-
4
votes2
answers8294
viewsCan you change the vertical order of Divs by CSS?
I have the following automatically generated page layout: I’d like to bring to Source, next to the Date (below). But I cannot change the layout of the generated elements. I can only change a…
-
4
votes2
answers272
viewsHow to create a box with two separate texts
Hello, I am a beginner of XHTML and I ask you to tell me about this code and not Html5. I want to make a header but I’m not getting it. The goal is for the first text to be higher than the first.…
-
4
votes2
answers13199
viewsHow to force cache cleanup on my visitors' browsers
I usually update the style sheet of my site (CSS) a lot. What happens is that my visitors see no difference. Is there a script or something that forces cleaning? Example: On the next access the…
-
4
votes1
answer2114
viewsHow to change the URL of an image when the resolution is below 767px
I have a website that he’s responsive to. The problem is that the header has a blue background and a white logo. When the resolution is below 767px it changes the menu. Imagery: As it is on the…
-
4
votes3
answers540
viewsLink resources, such as CSS, within the structure of a website
I am a beginner and I am facing problems with linking scripts, CSS and images. I have the following structure in folders of my site, just an example: - Pasta Raiz --cadastro --- cadastro.html…
-
4
votes1
answer12235
viewsResize <td> using bootstrap
Have how I create a table with Bootstrap and fix the size of each <td>? I would like to be able to make the cell size of a table more flexible with Bootstrap, it is possible?…
-
4
votes4
answers3935
viewsAutomated tool to join multiple style sheets (CSS) into 1 and to join Scripts (JS) into 1 Sheet only
I searched the internet for ways to join Stylesheet CSS and Script Sheets JS in an automated way, however, I did not obtain good results. I own about 17 Style Sheets and 15 Scripts, if I do it…
-
4
votes2
answers16534
viewsDynamic page break when printing (in <table>)
On a budget screen, I display the products registered within a Foreach in a table (each product), so in some cases, at the time of printing the page the table is broken and ends up getting very ugly…
-
4
votes3
answers7805
viewsFont does not accept accentuation
Speaking personally, I’m using a custom font, so I use @fontface in CSS. I’m having trouble putting accent, when I put it looks like this, follow the link below: What I could do ?…
-
4
votes1
answer1198
viewsCombobox ( select ) extended option
I have a select with a "width" defined, however, there are some cases where the "option" is too long, end up cutting the selected option as the image: Customer complained from that point, a…
-
4
votes1
answer442
viewsWhat is the relationship between the Primefaces ajax and the events
Faced with certain problems during my developments I arose the following doubt for example. When I use the tag ajax in the Primefaces, has the property event where we passed events, then I arose a…
-
4
votes1
answer704
viewsDetermine maximum height of a column title in Primefaces
I would like to know if it is possible to do the following: I need in a datatable define a maximum height of a column. Because there are some that the text gets too long and the column value is a…
-
4
votes1
answer378
viewsdiv that does not exceed certain limits
Well, on that link :: http://voky.com.ua/crostini/ there is a menu that when loading the page is not fixed at the top of the screen, but when descending the page a little this menu appears and is…
-
4
votes3
answers843
views -
4
votes3
answers4578
viewsCreate a comic balloon-like div
How can I create a div with the appearance of a comic balloon (I don’t know if this is the best expression). Goal: Reality: *Please ignore fonts and colors in question, the focus is tip of the div.…
-
4
votes1
answer1671
viewsAlignment drop down menu
I have a horizontal navigation bar, which has submenus. Currently the submenu is aligned to the left of the menu to which it belongs. As in this image: I would like the submenu to be aligned to the…
-
4
votes3
answers688
views -
4
votes1
answer313
viewsWhat do I call a font variation in CSS?
How I use the OPEN SANS font variation? Example: <script src="//use.edgefonts.net/open-sans-condensed:n3,i3,n7:all; open-sans:n3,i3,n4,i4,n6,i6,n7,i7,n8,i8:all.js"> </script> I want to…
-
4
votes1
answer404
viewsAn image on two Ivs
I am currently dealing with a project and using Bootstrap v3.2.0 as the main tool. My layout follows the single page line, and each topic is approached as a window to the user, with all available…
-
4
votes1
answer159
viewsMenu with side banners
I have been working on a project that requires the implementation of a request that takes advantage of the white spaces to be placed advertising banners. I deal with a structure already determined…
-
4
votes1
answer214
viewscustomize input for multiupload images
How can I customize a file input field for multiupload images? would like to get some information from the image, such as: format, size. (I know there are several plugins for this, but I would like…
-
4
votes3
answers1585
viewsBackground image 100%
I always had this curiosity, how to leave the background image 100% according to the monitor ( We all know that there are several measures). So I was told that it would be a script in JS or jQuery,…
-
4
votes3
answers7469
viewsDoubt about input stylization="Submit"
I have a following class: .rodape input{ blablabla } And the following HTML <div class="rodape"> <input type="text" /> <input type="text" /> <input type="submit" />…
cssasked 10 years ago Felipe Viero Goulart 3,693 -
4
votes3
answers49868
viewsOverwrite image with a DIV
How do I place a DIV over a <'img image'> ? HTML <div id="main-banner"> <img src="images/wall.jpg" /> <div id="main-banner-content"></div> </div> CSS #main-banner…
-
4
votes5
answers758
viewsHow to embed CSS in HTML tags?
I have a CSS file containing the following code. .texto{ Color: Red; } I have the HTML file with these tags: <html> <body> <span class="texto">TEXTO 1<span> <span…
-
4
votes1
answer1119
viewsMenu made in Bootstrap
Centering a menu made in Pingendo Bootstrap? <html> <head> <meta charset="utf-8"> <title>Boletim Online</title> <meta name="viewport" content="width=device-width,…
-
4
votes2
answers1654
viewsWhat’s the difference between top and margin-top in css?
This is a subject that always confuses me a lot. What is the real difference of both? When to use one and the other? I usually go for trial and error, but I need to understand how it really works.…
cssasked 9 years, 11 months ago Pedro Vinícius 1,870 -
4
votes1
answer1776
viewsVector images, Font Awesome, Bootstrap Glyphicons. How do they work, what are the advantages and disadvantages?
I was just taking a peek at Font Awesome and in the Bootstrap. They use a font scheme for icons: On Font Awesome I saw the following files: Fontawesome.otf fontawesome-Webfont.eot…
-
4
votes2
answers11183
viewsHow to put an Submit input inside the input text?
I have this HTML: <form action="" method="post"> <input type="text" name="pesquisa" placeholder="O que você procura?"/> <input type="submit"> </form> And I have this CSS:…
-
4
votes2
answers5928
viewsHow to remove the default arrow(from the browser) in the select tag?
I’m making a < select > customizable. The problem is the different renderings that happen in browsers. In fact, you just need to hide the arrows that appear: in IE: and in the FF: In Chrome…
-
4
votes1
answer355
viewsI can’t hide the SCM Music Player on Tumblr
I’m trying to hide the SCM Music Player and expand the main container to 100% (because the player reduced it a bit at the bottom) on my Tumblr blog but my code doesn’t work. The Javascript code:…
-
4
votes2
answers261
viewsAffix on a dynamic sidebar
I have a Bootstrap layout with a right sidebar that accompanies the scroll, inside the div[role=main]. My layout: My code: <header class="container"> <div class="row"> <div…
-
4
votes1
answer180
viewsDefine style in the :Hover event of an inline HTML form element?
It is possible to define style(CSS) of a single element HTML so inline at the event :hover? How to define style(CSS) of a single element HTML so inline at the event :hover?…
-
4
votes2
answers2204
viewsHow to make SVG image fit the size of a DIV?
I have an image SVG of more or less 100 lines and 60 paths and need it to fit to any block node, such as a div for example. I tried to put a class css in the tag svg and adjust the width for 100%…
-
4
votes1
answer4093
viewsHow to correct serrated source in Chrome?
I’m having a problem with Google Chrome. I don’t know if it’s CSS, but the fonts declared in CSS are getting serrated mainly in Chrome. I have tried the following properties to decrease serration…
-
4
votes2
answers6847
viewsHow to avoid abrupt page breakage when printing an html table
I am developing an html page to be printed later. But when printing I could notice that the break of pages in the middle of tables, are getting strange and abrupt, as can be seen in the following…
-
4
votes1
answer5730
viewsVertical Sidebar Menu using Bootstrap 3.3.2
My problem is replicating something similar to this. I’m having big problems solving this: http://ironsummitmedia.github.io/startbootstrap-sb-admin/ The difference is: no words. When I do Hover over…
-
4
votes2
answers1969
viewsHow to make a CSS animation stop in the last state?
I have a div, which is lively, and would not like that at the end of the animation she turns to the state of when she started, because she ends up returning to the original state at the end of the…
-
4
votes1
answer2703
viewsFixed sidebar layout on bootstrap
I’m wanting to make my website the following way with Bootstrap I’ve tried every possible way to make it nice and responsive and I couldn’t! Can someone give me a light on how to make this layout…
-
4
votes2
answers40440
viewsHow to resize image to container size?
I have a div with 1184x308px and I want to place inside images that are dynamic. Since images can be loaded with any dimension, how can I adjust the dimensions of the div?…
-
4
votes2
answers922
viewsChange Css with javascript when clicking
I have a css circle and half of it is hidden. When you click on it, I want the hidden part to appear. When you click back, I want him to hide again. I made the following javascript code, the problem…
-
4
votes2
answers2104
viewsHow to put an image in front of a button?
I am trying unsuccessfully to put an image (Facebook icon) in front of a form newsletter: I tried to adjust the size, but was unsuccessful due to my poor CSS knowledge, I tried to narrow down the…
cssasked 9 years, 9 months ago adventistapr 5,498 -
4
votes1
answer105
viewsWhat is the reason for the suffix "? algumnumero" in the link of some CSS?
I was going through the sources of some websites, and sometimes I see something like this: <link href="http://css.siteX.com/imagecache/.../ymPrompt.css?2014102701" type="text/css"…
-
4
votes4
answers2426
viewsColor transitions with fade in a word
I have a code that is making color transitions, has to leave a fade in this transition, IE, so it does not keep changing so "dry", I am doing with JS, is there any CSS what makes it? Anyway, wanted…
-
4
votes2
answers422
viewsIs it possible to combine first:Child with :Hover?
It is possible to use these two pseudo-classes together? I have a <ul> and I want the first <li> when passing the mouse has a different property. I imagine it would be something like: ul…
-
4
votes1
answer299
viewsHow to leave navigational arrow centered on flexslider
I have a banner that is displayed on a flexslider and need to leave the navigation arrows centered on the sides, today are at the base. As much as I change I can’t leave them centralized, my limited…
cssasked 9 years, 9 months ago adventistapr 5,498