Questions tagged as 'css'

1
answer

Change style of A by passing mouse in LI

I have a structure where a is inside li , I applied a hover effect on li for when you mouse over, change the colors. What happens is that you are only changing background-color and not color in a . I would like color: #FCC12A;...
asked by 28.06.2016 / 22:25
1
answer

CSS - Align set of images in the center of a div

I need to align a set of random images in the center of a div, following sample code: HTML <div class="divAlign"> <img src="teste.jpg"> <img src="teste2.jpg"> <img src="teste3.jpg"> <img src="teste...
asked by 26.05.2016 / 20:52
1
answer

Hide DIV only in IE8

I have a small question, how do I hide a div (.laser) only in IE8? Preferably I would like to use only CSS or also JS     
asked by 15.04.2016 / 15:35
2
answers

How do I get the value of an attribute in JQuery?

It is as follows: I need to make when a person clicks on an image, the 'display' attribute of an 'ul' is changed to block, and then, when that person clicks again, the value of the attribute is' none '. I wanted to get the value of the 'display'...
asked by 06.08.2016 / 21:05
3
answers

Positioning a thumbnail

I have a website (using Wordpress) with multiple thumbnails, these thumbs are centered vertically and horizontally as the image shows: Howdothethumbsshowthetopoftheimageandcutthebottomifitdoesnotfit? /*.recent-posts .post-thumb { margin: 0;...
asked by 01.08.2016 / 18:18
1
answer

Doubt over cached files

I'm building a system in php, and I'm creating the design material that will be used in the system. I created 2 files, 1st Materia.js and 2º Material.css. Well in these files I'll put all CSS and JS. I will call the file on the login screen a...
asked by 05.08.2016 / 13:35
1
answer

Can anyone tell me why they are not loading this image (css)?

I'm doing an exercise here, but I'm not able to load the img/baladinha.jpg image. Note: I have not yet uploaded images to the body Code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtm...
asked by 05.04.2016 / 20:24
3
answers

How to zoom in a page in css or javascript?

Would you like to know how do I start the site with 67% zoom in CSS or JavaScript?     
asked by 22.03.2016 / 21:16
2
answers

How to pull horizontal scrollbar from my site?

/*-------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; margin-top...
asked by 19.10.2015 / 15:55
4
answers

How to make a background cover on a separate div?

I'm making a website with side menu. 30% of the screen is the menu and the rest is the content. In the content div, I want to put a background image using the COVER method. I used the first one: link However, this method works perfectly...
asked by 28.12.2015 / 20:22