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
votes3
answers831
viewsChanging the theme of a website
I need to create themes for my site, when entering the site the person clicks on a button to switch to the chosen theme, but when clicking the button has to change beyond the css, the images that…
-
-1
votes3
answers1789
viewsHow to apply background-color to the p HTML element?
I need to apply the CSS property background-color to the HTML element p but what’s happening is that this background-color take the whole width of a div for example if it is the parent element and…
-
-1
votes1
answer351
viewsPage size different HTML/CSS screens
My doubt is in creating a page in html and css and that same page be opened on different screens. For example, now I have a little problem. HTML: <iframe id="contentframe" width="300px"…
-
-1
votes1
answer77
viewsProblem in pages with size %
I’m creating a page where I have a page that gives me problems when using IE and Firefox. The page in question has 3 rectangles next to each other with a small space between them. For the size of…
-
-1
votes1
answer86
viewsHow to center a dropdown with Javascript?
I need to create a drop-down menu with the following styling: As you can see, it must be aligned with the 'Arrow' pointing to the center of the parent element. I tried numerous styling combinations,…
-
-1
votes3
answers402
viewsResponsive Design - Text on img background
I have a website start and I’m trying to develop it into a responsive layout. At the moment the site is like this: http://40kgg.zz.vc/ (temporary domain, only for testing). For my resolution, in…
-
-1
votes1
answer125
viewsHTML Jquery Slideshow
Good morning friends, well the problem is the following, I downloaded a package for slideshow which I include in my site however it is all disfigured, does not appear border and does not appear the…
-
-1
votes1
answer51
viewsSite opening horizontal margin how to resolve
I am making a site that is almost ready and it is opening horizontal margin, I’ve used body{ background:#CCCCCC; overflow-x:hidden; } but it didn’t work, there is some way to open margin without…
-
-1
votes1
answer442
viewsThe power of Java
I recently saw a Infographic pointing JavaScript as the most used language in the year 2015. And also direct see here on Sopt several posts about JQuery and JavaScript. My question is this, it is…
-
-1
votes2
answers367
viewsResize image with CSS
I have a question about CSS image resizing. I have an image 1920x1080. This image should be automatically resized to fit any screen, but I’m not able to do this. Check out this site:…
-
-1
votes2
answers856
viewsCentralize Nav with Materializecss
Hello, I’m running a lab with the use of Materializecss, but I’m having trouble centralizing the menu(Nav) of the page. Can anyone help? See the link http://www.equipasub.com.br/teste/ Thank you.…
-
-1
votes1
answer163
viewsHorizontal Menu - CSS
I’m trying to learn how to work with horizontal CSS menus. I am starting and therefore I am with a silly doubt and I did not find anything on the internet similar to my question (Maybe I do not know…
-
-1
votes4
answers264
viewsCSS - Bootstrap min
When I open the CSS for editing bootstrap.min is a massage without tabulation. You can fix it? I would like to do a simple editing in the font of a class and even identifying the line by inspecting…
-
-1
votes2
answers514
viewsPadding Bottom does not work
I’m making the mobile version of my site, with two bars (one at the top with the logo and the other at the bottom of the page with contact links). These bars are with the Fixed position, appearing…
-
-1
votes1
answer1666
viewsHow to position the iframe below according to the position I want on the screen?
How to position the iframe below according to the position I want on the screen? <div> <iframe width="1100" height="500" id="processoControleExterno" src="www.google.com" scrolling="no"…
-
-1
votes3
answers14256
viewsHow to make a DIV that increases in size every time you increase content?
I am doing a course work, I need to do a DIV that increases in size according to the content I add. Can anyone help me? Would it be right if in css I put like this: height: ; ? Aside from the value.…
-
-1
votes1
answer62
viewsWhat can I do to load page without breaking code?
Currently, when I load the page of my site, everything appears broken, no configuration and then renders everything, the problem is that this is little interactive for the user. I’ve minified the…
-
-1
votes2
answers73
viewsI would like to know how to leave my page with this layout
I need to put this example on my html page using a table or else lists. I’d like to know how I do it because I’m not getting it and what’s the best way please.…
-
-1
votes4
answers1407
viewsHow to make elements appear and disappear with Js
I have, like, three titles. I want when the site loads, one appears, then it disappears and the other appears, then the second disappears and the third appears. You can use as code the following:…
-
-1
votes1
answer33
views -
-1
votes2
answers2308
viewsImage(Logo) in the menu and body of the Bootstrap site
I’d like your help solving a problem. I’m learning and trying to draw with Bootstrap the image below: But I can’t get it to you. Here’s what’s happening: I’m using so far only this code: <nav…
-
-1
votes1
answer267
viewsSort Wordpress posts with Jquery or meta_key and meta_value
I intend to use the code below to sort and group by posts section of my Wordpress site. This would be applied to Home Page and Categories, where each post would feature the css class according to…
-
-1
votes2
answers80
viewsHide videos in safari iframe
I have an iframe video from youtube inside a div and when I do Id in div, in safari, the video continues to appear. How can I fix this? It also happens to me that the video keeps playing when I hide…
-
-1
votes1
answer469
viewsHow to change the background color of an image?
I need to change the white background color of images using programming. Does anyone know how to proceed?
-
-1
votes3
answers5861
viewsHow to style an echo with CSS?
For example: I want to display a formatted database number: echo number_format($saldo, 2, ',', '.'); There echo writes: 8,944,664.00 I want to know how I use css in this condition... to show in the…
-
-1
votes1
answer2173
viewsHow to put logo on site?
Good afternoon, you guys! I have a small doubt regarding the insertion of an image in an HTML page , well , I need to put the logo of a site at the top of the page , but I do not want to appear the…
-
-1
votes1
answer1544
viewsSubmenu Bootstrap open left
needed my menu on the site below, open in left, so there is no layout break. http://alertweb.com.br/desenvolvimento/novamodallayout/site/ You could help me? <nav class="navbar navbar-inverse…
-
-1
votes2
answers1243
viewsPop up with jquery before closing the browser
People would like to do a pop up that appears before the person closes the browser tab equal to Shoptime: http://www.shoptime.com.br/ I don’t have much Javascript knowledge, much less jquery. Can…
-
-1
votes1
answer39
viewsTransition at the Hover
Hi, I was wondering how to use the property transition to achieve the result you have in the Nav-bar read of the site http://tableless.com.br/.…
-
-1
votes1
answer364
viewsI can’t style and center the menu text
Good afternoon, I’m putting a fixed menu on my blog, this is the image. The text next to the icon home is without style, as I do to style this text leaving it centered and spacing between them,…
-
-1
votes2
answers180
viewsFloat element to direct
How could I float this image to direct without breaking the page? in this image, the css is like this: #centro-distribuicao { float: right; width: 550px; }…
-
-1
votes1
answer449
viewsHow do I make this panel with bootstrap grid system?
I know how to use the bootstrap grid system but in this project I need to do the Row class has height size and aligns with the other grid I will post an example here…
-
-1
votes1
answer49
viewsError in css content
HTML and CSS Problem : The content of the p element does not appear on the page, it fills the space, but does not appear...…
-
-1
votes2
answers1368
viewsChange color of input color
I need a very important help, I have a color input with a color and a text field. How I could change the input(color) color using the text field.
-
-1
votes3
answers1931
viewsBreaking Bootstrap Columns
I’m making a structure with bootstrap, according to the "laws" of bootstrap one should use col-xs-12 col-md-12 I’m making 2 main columns with columns inside, example: CODEPEN EXAMPLE the right…
-
-1
votes2
answers744
viewsHow to make a menu that when clicking opens another div?
EXAMPLE: I want to create a menu that will have four links, and each link opens a certain div with different contents in each div. type the of this site here http://www.footebol.com/ the part that…
-
-1
votes1
answer59
viewsTitle system bug I developed
I developed a title system using jQuery and CSS, it is very good and works when I call the tag <title>. But I am facing 2 bugs that I am not able to solve. first: When I put a very large…
-
-1
votes1
answer1795
viewsupdate a div without refresh on the page, after insertion via ajax
I need to build a new (table-like) structure containing the information that has just been inserted into mysql via ajax without the page being updated. To better specify, I currently have a while…
-
-1
votes1
answer81
viewsUse of flex in sub-items with different parent elements
I’m using the flex to align all the items equally, however, the sub-items of each of them do not align equally, I used the stretch to align and gain the size according to the largest, but I don’t…
-
-1
votes1
answer52
viewsdoubt about performance
I’m riding a little Framework of design CSS and JS to standardize the system I’m working on. My doubt is how to get the best performance. I’ve done several things like enable the cache, organize the…
-
-1
votes1
answer413
viewsHow to quickly put restitution on my website
Hello, I’m having a problem with my blog logo that after your update only it’s not getting responsive. I wonder what I should change in css. I could only find "logo" in the following codes: Thank…
-
-1
votes1
answer277
viewsChange css of templates
That one Website is template-based and I have access to CSS of it; but I’m trying to change the background color (All white - As attached images) and I can’t find in css where to change... With…
-
-1
votes1
answer125
viewsProblem with CSS ID Selector
My problem is this, I have a file css, in it there are 2 types of form, one for contact and another for another type of contact, however the forms They come into conflict, causing one to be…
-
-1
votes1
answer355
viewsHow to do diagonally using after and skew?
People I need to make a site where the divisions are on diagonals. I was told to put an edge on the after of div, and use the property skew. But the edge on the after is not appearing. Below is an…
-
-1
votes1
answer353
viewsDIV Just Disappearing On?
I was setting up a website for a Minecraft server. But I came across something very strange. I use Brackets to create HTML pages, and so I use the live preview tool. By placing a button in the HTML…
-
-1
votes1
answer129
viewsHow to make a "Home" Bay and others render the main page of my html document?
Greetings! I created an html-css navigation bay with the following features: <ul class "nav"> <li><a href="# n a"> Home </a></li> <li><a href="# n b">…
-
-1
votes4
answers248
viewsError when centralizing ul in div
I have the html below and your css. No matter how hard I try, I’m not being able to centralize the ul list in the div. This ul brings data from a search to the database. Where I am missing? * {…
-
-1
votes2
answers123
viewsProblem with responsive div with 1920px resolution
The resolution of my pc and 920px , my code is all right, more when I see it in the resolution 1920px it looks as if the div had left the screen. 920px resolution: 1920px resolution: HTML: <div…
-
-1
votes1
answer913
viewshow do I make the slider responsive?
I have a slider in pure css and would like to make it responsive. <title>Slider UNIP</title> <head> <meta charset="UTF-8"> <link rel="stylesheet"…
-
-1
votes1
answer79
viewsQuestions about HTML/CSS - Spotify Page
I’m recreating the Home of Spotify following a course I picked up on the Net and while continuing alone the rest of the site that in the course had not yet, there are parts in which I’m having…