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
-
3
votes2
answers782
viewsJavascript and Asp.net mvc help
In my project I have a field that is the Status of a certain occurrence. That is, if it is pending or solved. I made a javascript function that , by clicking the input field that is in readonly…
-
3
votes2
answers1168
viewsPositioning scripts and css links in an html document
I always put the CSS scripts and links at the top of the document in the head of the document. Now I realize that there is another concept where the calls to scripts and CSS, are at the bottom of…
-
3
votes2
answers361
viewsReturn div to initial position after animation?
How can I return mine div to the starting position if it reaches a certain point on the left? I have the following current code: $(document).ready(function() { $("#botao").click(function() {…
-
3
votes1
answer2870
viewsHow to select a radio when clicking on the text next to it?
It’s very simple to make radio buttons. I’ve seen inputs of this kind around that allow you to click directly inside the circle or on top of the text that refers to each radio button. How do you do…
-
3
votes2
answers1018
viewsHow to drag elements using dragSort inside a scroll div?
I need the elements to be dragged only inside a div that has scroll. For example: HTML <ul id="list1"> <li><div>1</div></li>…
-
3
votes2
answers9928
viewsTables with Bootstrap
I started yesterday with Bootstrap and I’m still on the learning curve. My need is a table with two columns, a form of a grid. In this table I have only two columns: CNPJ and Social Reason. And I do…
-
3
votes1
answer425
viewsDivs with float right without its inverted position
I’d like to know how to ensure that two DIV, both with float:right, do not reverse the position of each other, for example: <div id="divMaster"> <div class="pull-right" id="Div1">…
-
3
votes2
answers971
viewsPaint top titlebar of a table with bootstrap
How do I paint the top title bar of a table made with bootstrap? To paint all thead TR. <div class="pull-right" id="tabela4"> <br /> <table class="table table-striped table-ordered…
-
3
votes2
answers5945
viewsGet full monitor width using CSS3
Is there any way to get the width total of a monitor using CSS or CSS3? I know that in JS there is a $(window).width(); which associates to a variable the width of the monitor size. Now I needed to…
-
3
votes1
answer1066
viewsHow to make a hover effect change another "object" selected in jqGrid?
I have two classes A and B, I need that when you mouse over A what changes is the value, color etc of B. I don’t know if I can do this in CSS or using Onmouseover.
-
3
votes0
answers278
viewsJQGRID Frozen Columns - Duplicating information
I am using the Frozen column option, as it is in the documentation, as follows: jQuery(grid_selector).jqGrid({ url:urllst, datatype: 'json', height: 'auto', width: 'auto', ignoreCase: true,…
-
3
votes1
answer846
viewsTake TD value and send as parameter
I have a table with two TD only (CNPJ and Social Reason). My controller has a method that takes 2 parameters (CNPJ or Reason). These parameters are sent via jquery. I am unable to do the following.…
-
3
votes2
answers147
viewsAbout menus on websites
I took an HTML and CSS course and now I’m putting the learning into practice. For this, I’m trying to set up a site, but I would like to make menus similar to that of this site…
-
3
votes1
answer6998
viewsAlign left and decrease distance between bootstrap controls
See the following image: Note that the first label (CNPJ) is very far from the margin and the most important for me. The distance between the label and the control is very large and the distance…
-
3
votes2
answers3872
viewsRight align font icon
I try to align an ico font on the right side of the screen within a header HEADER, but I can’t even use one float: right. But then it goes to the right, however I lose the other alignment settings.…
-
3
votes1
answer85
viewsHow to take blocks out of a grid?
I’m trying to do something similar to the facebook Timeline, two columns with multiple posts, the problem is, in some parts a hole opens, the reason is that the bottom block (on the left) is, in the…
-
3
votes1
answer1697
viewsForm Multiple Wizard Steps
I’m implementing a step-by-step form (Wizard) and I’m using the CSS of the gathering. Basically I use the Model Bootstrap so that the user cannot log into your account without first completing…
-
3
votes2
answers965
viewsHTML + CSS structuring for hover effect on buttons
I have a list of social media icons, which I know how to do, I’m not here to ask how to do, but rather, a more correct way, to minimize my work, if there is, of course. My HTML is like this:…
-
3
votes2
answers915
viewsTwo Different Horizontal Menus
I’m creating two horizontal menus on the same page with different settings and so I used a class in each of them. I’m not getting one of these menus to get the one-color box on have What I did was…
-
3
votes3
answers25078
viewsResize images using Bootstrap
I have a 400px image for 400px, and I want to display it as if it had 200px X 200px. What is the ideal way to do this using Bootstrap?
-
3
votes1
answer58
viewsError with Cap in Safari!
I’m having trouble with Safari 5.1, css width: Calc(100% - 350px); it doesn’t work properly in safari, follow the code and jsfiddle: JSFIDDLE <div id="menu"></div> <div…
-
3
votes2
answers483
viewsSmooth scroll without anchors
Look at this site: www.kinfolk.com The horizontal navigation below the photo carousel has a Ease smooth in interaction, and does not use anchors. It’s just a conventional scroll with Smooth and I…
-
3
votes1
answer518
viewsCan we use all versions of css on our website?
There is currently the css3 version however there are the previous ones. It is correct to mix all the code in the same stylesheet?
-
3
votes3
answers1185
viewsicone does not stand next to input bootstrap
I’m trying to put an icon next to my input using bootstrap, but it always stays down My code is like this: <div class="row"> <div class="col-md-12"> <div class="form-group has-warning…
-
3
votes3
answers152
viewsCss alignments
My case is this:: But I want to leave it at that: HTML <div id="problema"> <div id="verificar" style="width: 500px; height: 100px;"> <h1 style=" clear: both;position: relative;…
-
3
votes3
answers1758
viewsDo I need to insert an HTML tag with jQuery to encapsulate the code below?
How to insert an HTML element after opening and before closing the jQuery tag? That within a each: $("#main_div").append('<div class="Ftitulo">'+item.titulo+'</div>')…
-
3
votes1
answer424
viewsHead Block does not load CSS file
I created a block to upload the files CSS: <block type="page/html_head" name="head" as="head"> <action method="addCss"><stylesheet>css/base.css</stylesheet></action>…
-
3
votes1
answer6100
viewsWhat is the right way to use form-group bootstrap?
Which Correct Way to Use Form Group ? I use it as follows <div class="row"> <div class="col-md-2" align="center"> <span class="glyphicon glyphicon-user"…
-
3
votes3
answers13183
viewsHOVER effect on a <li> and the components within it
Good morning, everyone! I have <li> in my project, I would like very much to use an image on the right side of my <li>, did so: <ul> <li id="sair">Sair<div…
-
3
votes1
answer367
viewsHow to make Footer stay in the footer after using AJAX?
I have done several applications and always used the method below to regulate the height of footer. Always using Bootstrap. HTML <div id="footer"> <div class="navbar…
-
3
votes0
answers68
viewsUse! Important in CSS applied with Jquery
I have a code in Jquery, and would like to apply the !important in the CSS, as below: $('.prodMenor:eq(6)').css('margin-right','0!important'); But the way I did it’s not working, there’s another…
-
3
votes4
answers685
viewsEffect with jQuery locking without reason
I am using the following jQuery command: var timer1; SemConflito("#lp-1").on('mouseover', function(){ clearTimeout(timer1); timer1 = setTimeout(function(){…
-
3
votes1
answer295
viewsDiv with superior z-index cancels another div with lower z-indez
I have 2 Divs. The first has z-index 1 and position Fixed. The second div has z-index 2 and position relative. The second div has a very extensive content and among the contents, there is a blank…
-
3
votes1
answer953
viewsHow do I leave a dash item in the middle? With <del>?
I wonder how I do to use the <del> in a menu, that when clicking on it it gets the dash in the middle ("strikethrough") and without the mouse over function. only the arrow.
-
3
votes3
answers9349
viewsDisable all inputs from a form using css only?
Problem I’m implemented some controls in a prototype, and I’m creating a dashboard overlay to represent background processing, loading asserts server, search data on the server, finally to represent…
-
3
votes2
answers14405
viewsRun Javascript function in event by clicking a button inside a table
Good morning, I have a table and in each row of this table I have a button, when I click this button I need to run a function but I’m not able to do it because I think I don’t know how to use the…
-
3
votes4
answers787
viewsCSS transparency
I know that if you use opacity on a div, all the elements inside it will also be opaque. And I also know that I can use RGBA to make an element with a background color transparent, but how do I…
-
3
votes1
answer129
viewsjQuery external page Toggle effect via require or include PHP
I’m creating a user menu, it stays on a page the part that is incorporated to other pages like index and home for example. It assumes the role of a widget that is only shown if there is session…
-
3
votes6
answers1855
viewsHow to create link with Hover showing strokes on the sides
What I wish to do I want to create a menu and for each link I want to apply an effect "Hover". When the user hovers the mouse will be shown strokes to the sides of the link. Image Example Follows…
-
3
votes2
answers275
viewsMulti-level in an OL
I’m trying to get the following result: Presentation 1.1. Content 1.2. Programming 1.2.1. JAVA 1.2.2. DOTNET Completion 2.1. Acknowledgements 2.1.1 Family 2.1.2. Teachers End Through the following…
-
3
votes1
answer154
viewsTwo elements with same height with jQuery - all the time
I’m taking advantage of a gallery system that I found on the web where, depending on the proximity of the mouse image, it expands proportionally. Link: Image gallery Well, I adapted the code to be…
-
3
votes0
answers53
viewsHow to make three curved shadows with CSS in a rectangular element
I would like to make curved shadows on the left, right and bottom edges of a rectangular element. Knowing that I only have one :after and a :before, slightly I would use them to shadow the edges of…
cssasked 10 years, 1 month ago Phellipe Lins 1,261 -
3
votes1
answer119
viewsSorted list with next element on the right when it does not fit
I am creating a menu where I will have several buttons. To align the buttons I use a simple ordered list. I want to know if there is any way that, when no more buttons fit within the maximum height…
-
3
votes2
answers5270
viewsBackground image does not appear in div without content
I am creating an empty div with a background image. But when I render the site, the div does not appear. I believe that the mistake happens because there is no content in the div. In this case how…
-
3
votes1
answer7838
viewsRotate text via CSS
Is there any way to rotate a text, to look like the image? Researching, I saw that you have the transform: rotate(10deg);, would like to know if it is functional for the IE8, or if already another…
cssasked 10 years ago Felipe Viero Goulart 3,693 -
3
votes2
answers6158
viewsHover over one element that will effect another
I have the following code: .tratoresList h3{ font-family: "opensans-light-webfont"; font-size: 17px; color: #000; width: 210px; text-align: center; } .tratoresList strong{ font-family:…
cssasked 10 years ago Felipe Viero Goulart 3,693 -
3
votes3
answers194
viewsWhy use float:left and display:inline at the same time?
I’m watching a tutorial, where the teacher at a certain moment, minute 28, establishes the style of the elements of a ul to create a horizontal navigation bar, and do it using be the float:left that…
-
3
votes3
answers648
viewsHow to hide the tooltip created by the Title attribute?
There’s a way to hide the tooltip created by Title while holding the mouse over the IMG, through CSS or Javascript?
-
3
votes1
answer1042
viewsChange background according to image
I’m needing to create an effect on my slideshow that for each image, the background of div color change according to the predominant color of the same. I searched the internet for a plugin that does…
-
3
votes0
answers51
viewsChange CSS element depending on the SELECT option using jQuery
I’m having a hard time making a certain interactivity on my site. For example, there is a select in HTML with 3 options, and when the user selects certain option, there would be a change in the CSS…