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
votes3
answers1207
viewsJavascript Change css when you are in a particular div
I have on my website a white logo and a white menu, and my contact div has a white background, so these disappear. I want to know how to make a script that changes the css of the logo and menu when…
-
0
votes0
answers55
viewsFixed bar in CSS footer does not display correctly on iPad
I have a div to stay in the footer, but when accessed by the IPAD it creates a distance from the last DIV with the DIV fixed footer. CSS: .fixo-modelo-3-1 { position: fixed; width: 100%; height:…
-
0
votes1
answer175
viewsRadio Carousel Radio Uttons
I am using the plugin Owl-Carousel 2.0.0, to make a Carousel of images packaging products that are selectable, through a radio input, only one package must be selected, the structure of this…
-
0
votes2
answers1725
viewsDIV with height:auto; does not readjust according to the height of the internal DIV
I have a DIV with height:auto; which does not adjust the height according to an internal div with height:120px; See the CSS .conteudo-modelo-3-0 { width:960px; height:auto; margin: 0 auto; }…
-
0
votes0
answers33
viewsProblem side menu jquery
I’m having trouble closing the side menu on intelXDK, I use JQuery to make the opening and closing but the problem is when I close, because it does not maintain the margin of the rectangle I…
-
0
votes0
answers353
viewsHow to change menu position with materialize framework?
Someone knows how to always put the slide on top and everything else(menu, text, etc...) after the slide? example: http://99webpage.com/theme-review/html/tooku/index.html Using the framework:…
-
0
votes1
answer412
viewsSlideshow with the bootstrap?
I’m one creating a prototype in bootstrap , how do I create a slideshow for a power point presentation file ? can do this ? to present the images I made this way : <div id="myCarousel"…
-
0
votes1
answer2028
viewsButton action after clicked - jQuery
I have a button that when clicked it closes the modal, in fact it does an action with CSS doing the div disappear, just getting the button to be clicked again and open the modal. However I am not…
-
0
votes0
answers125
viewsHTML fixed element with scrollToFixed
I’m using the scrollToFixed plugin to work with fixed elements on the screen. What I’m trying to do is, I have a div, and when my header hits a certain point, I want that div to move along and when…
-
0
votes1
answer734
viewsHow to open an external page in phonegap when clicking?
Today I started developing using Phonegap, but I came across a problem, which is to click on a link and not be able to open an external page, as if it were a new Activity, how can I perform this…
-
0
votes0
answers148
viewsReload all css within a div
Gentlemen, I will try to explain my problem, I hope to be clear. I’m using C# MVC5 in my app. Today I have a page and in it a grid. In this grid there is a button to edit the record. By clicking…
-
0
votes1
answer679
viewsLayout of many columns with datatable
I’m having a problem with datatable layout. I ended up creating a very extensive component (if I’m not mistaken, about 25 columns). I need to move one of these columns (year) according to the scroll…
-
0
votes1
answer105
viewsPan Image js and css with "mask" on top
I am using a js script to make a "pan image" effect as the following link: http://gdebrasil.com.br/test/ The first one listed has an image on top and so it doesn’t work.. the bottom one is the…
-
0
votes0
answers129
viewsElastic scroll effect in mobile applications
I would like to know how to make an effect today widely used in mobile applications, in which you move the objects with your finger "elastically" horizontally or vertically, sometimes taking the…
-
0
votes2
answers524
viewsDisable Scroll with open menu
I have a menu with width 100% and height 100%, in which I use a button to open it and close it (hamburger style). But when he opens my site, he still scrolls behind it. I want to know how I can…
-
0
votes1
answer367
viewsHow to always line up for the top one LI
I would like to know how I do so that these images always stay on the footer of the other. The ones below should always touch the footer the top in the shape of a li. Below is the print: My code is…
cssasked 8 years, 9 months ago Bruno Bafilli 327 -
0
votes1
answer100
viewsIt has to pass my dropdow menu to one of 3 Lines , but only when the mobile resolutions arrive
I can’t do that, because I’m still a layman in responsive design. I would be grateful for anyone who helps me. Here is the designation of my menu!! .nav{ width:100%; height:42px;…
-
0
votes1
answer485
viewsHow do I make Transition work in "round trip" when using Hover?
I have this :hover here... .novidades{ background-color: #F5dcdc; background-color: #f5dcdc; background: linear-gradient(#f5dcdc, #bebef4); position: relative; bottom: 0; } .novidades:hover{ bottom:…
-
0
votes1
answer31
viewsWhat is the best component for resizing and partitioning image in different sizes?
I have already searched enough and there are some solutions to "resize" the images and create the "thumbnail" from an original image. I am creating a corporate network and would like to resize an…
-
0
votes1
answer90
viewsHow to open Fancybox above menu
I’m having a hard time opening one lightbox Fancybox the same is getting below my menu, I changed the position of the same, but I did not like the result, it became strange, but I could not leave it…
-
0
votes2
answers884
viewsHow to stretch an element to the end of the screen?
How to stretch an element to the bottom of the page taking into account the position it is in? ex: <div class="caixa1">CAIXA 1</div> <div class="caixa2">CAIXA 2</div>…
-
0
votes2
answers63
viewsAvoid zooming inside a textarea
Good afternoon, everyone, I have the following problem and did not know how to describe a title well, I have a field that has a textarea that adapts the page width with 98%. What I want to avoid is…
cssasked 8 years, 9 months ago Bruno Luiz 1 -
0
votes2
answers310
viewsPage with different layout
I’m starting to develop themes for Wordpress and so far managed to some content and tutorials of how to do such a thing, however the information I have is that: the page page.php is responsible for…
-
0
votes1
answer992
viewsHow to Create Tabulated Data with Link View More?
I’m pulling from the database records of a certain table. I want to show only 4 out of 4 records on the screen. But I would like to pull them all at once instead of paging (1, 2, 3, 4). I want to…
-
0
votes1
answer288
viewsImages don’t stay inside the div
I have a div where I want to leave 2 images on top of each other, and only the image checked in an input will be visible, while the caption of the visible image should be positioned to the right of…
-
0
votes2
answers61
viewsColor of text in direct mail (gmail) already read
By gmail, when we receive a second email that has the same text as the previous one it changes the color of the text. I can manipulate this in the html/css of the direct mail, so that the color of…
-
0
votes0
answers30
viewsproblem when updating my site css
Well I have a problem that I think affects a lot of people, and probably someone’s been through it and solve the problem. Whenever I update my site, with a new menu or any changes in css, many users…
-
0
votes1
answer54
viewsStretch canvas without interpolar image
I have a canvas of width = 400 but, with Style.width = 100%, the image interpolates and the right angles of the pixels blur. I want to keep the pixels well visible, if anyone can help me I am very…
-
0
votes1
answer321
viewsDiv with height equal to background-image
I’m with a div and in it there’s a background-image of height variant, I wish that div had exactly the same height of this image, so that it does not get cropped. It’s something like that: <div…
-
0
votes0
answers109
viewsProblem with header size
I’m suffering from a code where I need to leave a particular banner with a predetermined size in the browser when opening the page, but every time I open the page, it gets the full size of the…
-
0
votes1
answer43
viewsImprove css code
How can I improve the semantics of this code in css. Ex: I created two div’s with display:None attribute; and when passing the mouse on a parent div those div’s should qualify. .acaoBaixar,…
-
0
votes0
answers465
viewsHow to create multiple menus on the same page with xhtml
I can’t put on the same page, for example two menus. Let me explain. I use the unordered lists and the inline display to create a horizontal menu. I do the same to further down the page create…
-
0
votes1
answer12
viewsTogglecss except on some Ivs
I have the following problem: I have a js that adds a certain style in a div or whole html. I would like to know how to ignore some Ivs so that this style is not added to them. Follow the code I am…
-
0
votes2
answers596
viewsHow to take horizontal rolling bar from my website?
/*-------Conf.CSS--------*/ body{ background-color:#FFF; } header{ background-color:#222; width:100%; height:78px; float:left; } .logo{ width:10.9375%; height:66px; float:left; margin-left:162px;…
-
0
votes1
answer63
viewsCSS Search Element for JS
Good, I am now starting HTML5 + Javascript + CSS programming and I have a question that I suppose is basic, but I can’t find an answer. I created an HTML5 canvas and since I wasn’t able to add…
-
0
votes3
answers2318
viewsHow do I zoom into a css or javascript page?
I would like to know how I get the site started with 67% zoom in CSS or Javascript?
-
0
votes0
answers378
viewsHow to export an entire DIV (with images, table and charts) to PDF?
I have a DIV with several elements ( images, table, graphics) and need to export this whole DIV to PDF, I tried using jsPDF plugin but did not render CSS!!
-
0
votes1
answer1464
viewsStyle input type file
Is there any way to style an input type file and leave it like this? I tried styling via css but I didn’t succeed. I can’t think of any way to do this.…
-
0
votes1
answer78
viewsOpen different elements js
I would like to know how I can create a function in JS/Jquey which opens a DIV which nay this visible. However, I will have more than one DIV, and I need the JS to identify these DIV’s (I hope I was…
-
0
votes2
answers48
viewsThere is the possibility to mount a CSS specific to a size in Bootstrap
I would like to create a css that when a certain class was in the Xs size it would have a red font-color and the other sizes this color would change to green. But without having to repeat the text.…
-
0
votes1
answer133
viewsChange link tooltip class
Dear friends, good afternoon. I have the link tooltip set to: <a class="evento color-red" href="#"><span>informação</span>link</a> You can leave it that way and keep the…
-
0
votes1
answer1680
viewszoom in/out button of a div
They know some way with jquery and/or css to simulate the zoom in/out effect of a div. Div does not necessarily have an image. Without the increase/decrease div, simulate this effect for the…
-
0
votes2
answers1558
viewsHow to fix search box on menu?
I wanted to know how fixed search box in the menu !! The menu designation with the box : My code: .nav{ width:100%; height:42px; background-color:#4682B4; font-family:arial; font-size:1.000em;…
-
0
votes1
answer72
viewsHow to organize questions to display on screen
good night. I have a String type attribute that receives a question coming directly from a textarea. My problem is that I can’t let the questions go when it comes to displaying them equally as a…
-
0
votes1
answer33
viewsGeneric styleClass in table
I am mounting a table and wanted to know the following: I want to put a css style in the column headers, you need to use a styleClass in each header or I can declare a generic for all the headers?…
-
0
votes2
answers99
viewsHow to scroll horizontal on tumblr
Hello! I think the title says it all. I’ve tried many tutorials, but I can’t get anything. The basic theme I’m trying to change is next. Thank you…
-
0
votes1
answer49
viewsDIV misalignment when inserted text inside
I’m doing some frames with the help of CSS Triangle to get to the point I need. But when I insert the text inside the BOX, it is misaligning. My intention is that the text aligns inside the BOX as…
-
0
votes2
answers88
viewsRemove undesirable margin below image
I’ve done this so far: *{margin:0;padding:0;} .container{ width:700px; } .image img{ margin-right:15px; float:left; width: 300px; height: 225px; object-fit: cover; position: relative;…
-
0
votes1
answer366
viewsHow to customize the attach file button in aspx
I’m having trouble changing the text of the file attachment button. My button has the text like this: I wanted to change the text of "Search..." Could be how? I’m doing on Asp.net. Follow the upload…
-
0
votes1
answer97
viewsHide DIV only in IE8
I have a small doubt, how do I hide a div (.laser) only in IE8? Preferably would like to use only CSS or also JS