Questions tagged as 'css'

1
answer

configure @page print css

Staff could help me with a CSS problem (I believe) because I can not solve it myself. As you can see below, when printing the page ALWAYS, another blank one appears below. MyCSShtml{position:relative;min-height:100%;}html,body{height:54mm;wid...
asked by 30.01.2015 / 19:51
0
answers

Logo Set CSS

I wanted to leave my logo fixed only when the website is opened on small screen or large screen and fits the size ex: SmallScreen: Menu CSS: #navtoplist { padding: 0px; width: 100%; margin-left: 389px; margin-top:-60px;...
asked by 08.03.2015 / 02:25
3
answers

How to prevent a click on a link / anchor or element with event tied

In the case of a link: <a href="http://www.google.com">Google</a> or in case of another element that has an event tied with addEventListener , what alternatives exist to prevent the content from being "clicked" and that th...
asked by 23.01.2014 / 17:18
2
answers

Lightbox does not cover full screen

When I open the image in lightbox, and I scroll down the page, it looks like this: Cananyonehelpme?Mycodeisasfollows:html:<divclass="mtlsr-images-for-lightbox"> <ul> <li> <a href="images/1.jpg">...
asked by 13.07.2015 / 16:30
1
answer

How to increase height as scroll scrolls the page but not decrease with scroll up?

I'm in a single page project, and I need a div that increases as I go down the page, but when it goes up it can not go down, it has to stay still, the size it was until it went down again. I'm using JQuery with the following code: HTML: <...
asked by 25.08.2014 / 16:21
3
answers

Image with 100% width

I have the following CSS declarations applied to an element: .minhaClass { float:left; width:100%; height:560px; background:url(../imagens/corpo/imagen.jpg) repeat-x top center; } This will happen on a website with top, body and foo...
asked by 31.01.2014 / 16:56
6
answers

How to vertically center the content of an element?

I'm trying to vertically center the content of an element that has position: absolute . I've been able to make the content position half-way down the container , however, halfway up the space is "left over." How can I solve this jus...
asked by 12.12.2013 / 01:06
6
answers

Hover in DIV1 change DIV2 with CSS

If I have a #div1 and a #div2 , and they are siblings , I know that I can use the ~ selector to style #div2 as follows: #div1:hover ~ #div2 { /* regras */ } Is there any equivalent selector to stylize #div2...
asked by 18.12.2014 / 19:45
1
answer

How to make a div that expands and shows hidden content?

I want to make a block that expands down giving party information and events, but I'm having a lot of trouble, because I do not know how to make 2 div s activate mouse over at the same time. / p> this is my html code: <div id="ev...
asked by 30.09.2014 / 19:17
1
answer

Use Fade Out / In effects when changing CSS [duplicate]

I created a function that changes the background image of <body> every 5 seconds, but I wanted to insert a transition effect between the images: Fade Out to black at the start of the transition and then Fade In to the next image....
asked by 04.07.2014 / 03:00