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
answers568
viewsScroll bar in a SELECT in html
Talk to you guys, I have a SELECT in my HTML that when the results exceed the width limit, it breaks a line. I would like instead of breaking this line, to be added a scroll bar. Explanatory image:…
-
0
votes2
answers94
viewsProblems with the footer div
Good morning, you guys, I’m having trouble with my baseboard div. Whenever I use the shortcut CTRL + (+), there comes a time when the footer is filling the bottom of the page. Is there any way I can…
-
0
votes1
answer283
viewsHow to set height in percentage using css
Is there any way to define height:80% 80% being the size of the div that it occupies on the CSS screen? class="wrapper" style="height: 80%;">
cssasked 7 years, 12 months ago Amadeu Antunes 3,331 -
0
votes2
answers114
viewsForm with multiple windows
I’m trying to make a form with multiple windows, but I don’t understand what’s going wrong. Code for testing What I want to do is that by clicking the buttons it hides and shows the next form.…
-
0
votes0
answers133
viewsModal interfering with the scrolling of the page
I’m having a problem with modal, because I have a modal with several links and by having several links it creates a scrolling on the page, until then it is normal. When you click on one of these…
-
0
votes2
answers431
viewsDiv with other Divs inside
I just want to make one div, as if it were a windows window, with title, body and a button bar at the end. But I don’t know why, depending on the size of the window, it "leaks" or is left over…
-
0
votes1
answer1958
viewsHow to make the automatic animated scroll effect?
This site I found https://cliquestudios.com/ has a super cool effect that I would like to do a similar on my site: When you scroll down, item 01 changes to 02. Consequently, the content changes. I…
-
0
votes1
answer179
viewsForm does not appear
Well on the contact page the form that was supposed to appear there simply does not appear, no input appears, I have tried to change some things, take and put in other Ivs but still the problem…
-
0
votes3
answers4104
viewsAuto height in iframe?
I have an iframe and I need its height to be automatic according to the content inside it. How can I do that? No jquery of preference.
-
0
votes2
answers35
viewsProblems with my table
Good afternoon guys, I’m getting a problem here on my table If I define td’s to "GCOI, GCTA and GOAG", the GCTA line has a different background color than the others, if I set th’s to "GCOI, GCTA…
-
0
votes1
answer1633
viewsHow to make a circular progress bar for web?
Like the image attached below…
-
0
votes1
answer182
viewsDiv fixed hide when arriving in another div
Hello, I’m trying to implement this idea to my project: https://jsfiddle.net/dx2dsta9/ function removerSetas() { var topo = $(window).scrollTop(), alvo = $("#alvo").offset().top, setas = $(".left,…
-
0
votes0
answers30
viewsWeb Fonts do not work when sending email with Phpmailer
When I send an email using Phpmailer the fonts are not recognized by gmail, I was already aware of some problems with CSS and having user the inline css in the "style" tag, there is some way to…
-
0
votes2
answers89
viewsI can’t leave words side by side of the form
I’d like to leave a div completely aligned with a form of straight horizontal shape. However, although they are side by side, the form is "going down" when it should be aligned horizontally. How can…
-
0
votes1
answer38
viewsHTML: Anchor point - what is it?
Can anyone tell me why the anchor point isn’t working? <html> <head> <title> Lake Tahoe </title> <style> body { text-align: center; } h1 { font-size: 52px; color:…
-
0
votes1
answer47
viewsProblems with float and position Absolute
hello, I’m trying to make a kind of menu like this: https://jsfiddle.net/ofjw7cah/1/ However, I would like the text to open in 100% width and occupy the whole line. As I am using bootstrap, I could…
-
0
votes1
answer782
viewsProblem using Bootstrap Tabs
I’m trying to use the tabs component of bootstrap, but I’m not able to make it work, I’ve taken several examples, but I can’t make it work. <script type="text/javascript"…
-
0
votes2
answers475
viewsInput alert if typed data is invalid
Suppose there is an input that receives a phone number. If the mask returns that it is invalid, how to insert a warning (html and css) in the input to tell the user that the data is invalid? I do…
-
0
votes2
answers4022
viewsDoubt with table in div css
I am mounting a table in div and css, the problem is that I need the div div-table-Row to have the size the other Divs. but she keeps breaking lines. How do I fix this? Follows my code: .div-table{…
-
0
votes1
answer749
viewsApply CSS Style to Razor elements ex: Editorfor
How do I apply a style to all EditorFor of my View? Field example: @Html.EditorFor(model => model.Photo, new {htmlAttributes = new {@class = "form-control"}}) I tried to do it this way but I…
-
0
votes1
answer97
viewsSeparate Jquerys and Css
I own a index.php which uses the following JQuery and CSS: <script src="http://code.jquery.com/jquery-1.12.1.min.js"></script> <script…
-
0
votes0
answers61
viewsSave two cookies, one to the root and one to a subpage
I’m wanting to use cookie on my site to change style, but, I have conflicts, I asked the question on this link: Stylesheet with cookie works only the second time The solution Bacco presented worked,…
-
0
votes3
answers105
viewsdoubts related to site style
Good Evening Personal :), I am new here I would like to answer for a question! , I wanted to know how to make the email and password part equal to the image below. I tried to do here but ended up…
-
0
votes2
answers1385
viewsOverlaid and responsive images
Good morning, Friends I am a beginner in CSS and I am using bootstrap and I would like to put two overlapping images, and they should be responsive and the imagem2 has to have absolute position in…
-
0
votes0
answers462
viewsSite appears disfigured when goes to the hosting
Hello, I’m creating a site, actually I’m already finished is in the testing phase, it was normal when tested locally, but when I passed it to hosting simply it defaced, but only part, the sliders.…
-
0
votes2
answers1377
viewsCustomize input range for progress bar?
Custom progress bar for a player video with input crease, someone can give me some tips, I appreciate. <input type="range" id="progress-bar" min="1" max="100" step="0.1" value="0"/>…
-
0
votes1
answer81
viewsWhat is the best way to assemble this layout?
Good guys I’m mounting a simple layout for a sisteminha in php. My question is, which is better, table or div? I mounted it in table to display what I need. Follows him: body{margin: 0; height:…
-
0
votes0
answers40
viewsFirst faces generating primefaces.css.html file
Primefaces is generating css and js files with extension . html, for example, primefaces.css.html. This file is reported as a potential vulnerability. Does anyone know how this file is generatede?…
-
0
votes1
answer402
viewsI can’t link to css with relative path
I am using Valet and my link to the css file is not working. I have this in my file /exemplo/index.php <link rel="stylesheet" type="text/css" href="css/style.css"> The file is in…
-
0
votes0
answers347
viewsPlace a balloon on top of input[type=range]
I am generating a form from a php, it generates an html equal to this: <div class="mf_slider"> <div class="mf_slider_label">Você tem cabelos brancos?</div> <div…
-
0
votes1
answer163
viewsMy site does not load all scripts, it is heavy? how to solve?
Good afternoon My site does not load all scripts, it is heavy? how to solve? Image example that does not load: in the inspector Object of Chrome appears the following messages:…
-
0
votes1
answer242
viewsHow to know if a certain "class" is in use on my page?
Friends, There are many Divs on my page, I need to check if any have not been "finalized", for example: <div class="triagem"> conteudo a ser analizado</div> Ready Divs get another…
-
0
votes1
answer137
viewsCreate a single change function for multiple CSS selectors in Jquery
I use the function below to add CSS classes (blue, red, pink...) in a DIV ". container" from a select "#selcolor". Is it possible for me to use this same function in other select tags with different…
-
0
votes0
answers22
viewsNavbar - Link outside the Local Boostrap
I made a Jsfiddle to show my problem. The following happens: Navbar has an icon of a house, that when I click on it does not execute the link, but if you click a little more to the left the link…
-
0
votes2
answers46
viewsMenu error appear slowly
then person I am having problems with if I and with function Hide(), show() I am creating my portifolio and I want the menu to be fixed from scrolltop 70 and I want it to appear slowly then I did…
-
0
votes0
answers155
viewsSlideshow lightbox show screenshots by category
Good evening, I have the following code that separates the images to be shown in the slideshow by category, until I was able to show the separate images when the user clicks in the category,…
-
0
votes2
answers484
viewsWhy isn’t my footer staying on the full screen?
I’m trying to make my footer pick up 100% of the screen, but depending on the resolution is missing a part, as in image 2, the CSS code I’m using in the footer is this: footer { width: 100%; margin:…
-
0
votes2
answers608
viewsAlign images and text within div
I need to align some elements on a page and I’m not getting, I’ve done some tests how to use the text-align:center in class pull-right as well as in the header-features according to examples I read,…
-
0
votes1
answer80
viewsbackground image on one page
Good morning Guys, I’m creating a site one page , but I’m having difficulty putting the background of the image filling the space 100%,how can I put the fixed background under the menu,filling all…
-
0
votes0
answers29
viewsOptions for Safari Browser
Hello, Use some CSS classes to align objects on the screen: height: 65vh !important; display: flex; align-items: flex-end; justify-content: center; However, in Safari some of these classes do not…
-
0
votes2
answers144
viewsCheckbox style changing label style. How to tidy up?
Good Morning! I have the following code: <div style="float:left;"> <label class="labelPequeno">Oportunidade</label><input type="checkbox" id="oportunidade" name="oportunidade"…
-
0
votes1
answer1180
viewsEffect on navbar bootstrap
People would like to know how I do this animation of the header of this site https://blackrockdigital.github.io/startbootstrap-agency/ the effect of when I scroll down the page the header changes in…
-
0
votes1
answer163
viewsAnimated website
I started studying web now and would like to know which languages are used to make a site with animations like these: http://helpsanta.panic.lv/ http://www.mallonitrace.com/ Grateful!…
-
0
votes1
answer133
viewsHow to do this Background with animation
I started to study a little about web, I would like your help to know how to make a background with an animation "infinite" like this site: http://www.mallonitrace.com/ Grateful!…
-
0
votes1
answer1758
viewsHow to build menu and sub menu?
How to show a sub-menu inside another? <div class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <li>@Html.ActionLink("Início", "Index", "Home")</li>…
-
0
votes1
answer71
viewsCan anyone tell me why this image (css) isn’t loading?
I’m doing an exercise here, but I’m not able to load the image img/baladinha.jpg. Note: I haven’t put images on the body Code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"…
-
0
votes1
answer65
viewsProblem with menu formatting
I have the following menu: And when passing over a session a vertical submenu should appear underneath (information, defenics and finish). The problem is it’s badly formatted. The submenu are…
-
0
votes1
answer65
viewsI can’t make fluid layout on the menu
Hello. I have the menu below: <ul class="menuUlTopo"> <li class="menuTopo"><a href="principal.php" title="Principal">Principal</a></li> <li class="menuTopo"><a…
-
0
votes0
answers35
viewsProblem with menu
When passing with the cursor over this one it turns blue and wanted it to stay blue while I was with the cursor over the submenu code: menu { padding-left: 0; display: inline-block; padding: 5;…
-
0
votes1
answer130
viewsHow to show a whole image
Well, I removed a layout from the internet to edit it, but when I do <img src=""> and then I put a <a> back and a <a> the front of the image, I only see a part of the image and I…