Questions tagged as 'css-display'

4
answers

What is the difference between display: none and visibility: hidden?

I know that both hide the element, but there is in practice some difference between: #foo{ display:none; } and #foo { visibility:hidden; }     
asked by 20.12.2014 / 20:53
1
answer

What is the use and how to use the "display: contents" of CSS?

Recently I saw that there is a new type of display in CSS display: contents , but I did not understand its intention to use it? link It seems to be just to remove the CSS from the container ... But is that what it's all about...
asked by 20.12.2018 / 13:55
1
answer

Is it correct to use H1, H2 with display none in order to SEO or are penalized by the search engines?

I searched here but did not find any topic approaching. If there is already, please mark as duplicate. I have a problem. My client's logo can not be reproduced through clean fonts and CSS, and in the name of it contains significant keywords...
asked by 24.09.2015 / 03:27
2
answers

Function Optimization (probably with for loop)

I'm having difficulty developing when we talk about for ... The basics I can understand now in practice ... People have developed this code and I believe it can be reduced to a few lines with. Notice that in the input range change it appears...
asked by 24.01.2017 / 22:47
2
answers

Leave all LI with height of greater using CSS

I have some elements <li> that I estimate to stay inline-block . However, since the content of each <li> is different, they end up with different HEIGHT. Like that: However,thecorrectthingisthatthe%with%withlessc...
asked by 07.03.2017 / 23:23
1
answer

How to put Scroll to table inside div with width 100%?

The example shows a div with horizontal scroll, but I would like the table along with the div that has scroll to adjust 100% to the size of the screen. .div { border: solid; display: inline-block; width: 300px; overflow: auto;...
asked by 30.07.2016 / 22:40
1
answer

Unnecessary space in sales module div

Ihaveaquestionforyou.MyproblemisthatthespaceontheviewistoobigifIhidethesameoptionsintheshoppingcart!Mycodehidestheproductimagebuttheemptyspaceislarge.Iwanttofixthistohaveabeautifullayout./app/design/frontend/rwd/default/template/customcart/cart/...
asked by 06.02.2015 / 08:25
1
answer

Pie Chart of Google gets deformatado to be called by Javascript function

Hello everyone. I'm having trouble rendering a chart that has "display: none" in "display: block" via Javascript. The problem is that when I render the graph visible it gets smaller than expected. The chart is getting this resolution When...
asked by 23.07.2018 / 20:00
0
answers

Identify if it is blog and hide div - Wordpress

I put a div called "image_top" and I want it to have the display: none property when it is the blog page, woocommerce product or post. I have already tried putting in functions.php, header.php, page.php and nothing works. What am I doing...
asked by 30.10.2017 / 15:21