Questions tagged as 'css'

3
answers

How to make certain words within an editable div be of a color?

I have a DIV that is editable by the user, but I wanted it when I typed Brasil it is only this green word tabem as EUA is red, but only certain words. DIV code: <div id="texto" contenteditable = "true" ></ div&...
asked by 04.03.2016 / 14:08
1
answer

How to keep the scroll bar of a div always down?

I have a div that updates every 4 seconds and I use the overflow in it, I need the scroll bar always to be aligned on the last line. Any suggestions?     
asked by 08.02.2016 / 22:32
1
answer

Floating Button Does Not Stand Behind Texts and Images

Hello, I recently made a floating live-support button, it works fine, it moves along with the page and it is fixed, but it, when moving along with the page, goes under text and images, or be it bugging. I've tried adding in absolute, relative,...
asked by 01.03.2016 / 14:00
2
answers

CSS animate does not stop at the last keyframe

I made a simple animation with keyframe and when running it does not stop at 100% and yes back at the beginning of my CSS animation, see: .mostramenu { animation: desce 2s; -webkit-animation: desce 2s; } @keyframes desce { 0% { margin-top...
asked by 19.02.2016 / 13:45
1
answer

How to prevent a div from leaving the page, when another div resizes?

My page basically has two divs , one right and one left, the two are with style="position: fixed;" , that is, if I scroll the page, these two divs are side by side, fixed, always visible. But when the div of the left...
asked by 10.03.2016 / 06:26
4
answers

Is there a way to set width specified in html as the max-width of this element in css?

The problem is this: I have the following html: <div class="page-left-col"> <p> <img src="/localhost/Department%20Pages/Communications/News/LearnStorm%20Rally.jpg" style="display: block; margin: 20px auto;" width="40...
asked by 03.05.2016 / 18:40
1
answer

error using @media

The page is this: link css is this: ... media screen and (min-width: 0px) and (max-width:480px) { .sessoes { width:100%; } .menu { background:none; } .menus { width:100%; } .menusItens { disp...
asked by 01.05.2016 / 22:48
1
answer

JQuery menu does not open!

The page is this: link Problem: When I'm at a resolution lower than 800px (yes, I'm using media queries ), I make the menu retract into a default figure, the menu opens. But this is giving error: Uncaught ReferenceError: $ is not...
asked by 28.06.2016 / 14:30
2
answers

Scroll according to section ID

I have the following li <li class="madmaxmenu"> <a href="#mad-max">Mad Max</a> </li> and the following Jquery $("li.madmaxmenu").click(function() { $('html,body').animate({ scrollTop: $("#madmax").off...
asked by 29.06.2016 / 05:32
1
answer

HTML & CSS is it possible to disable the right scrollbar of an html page?

My html page has many objects, but I want to leave all of them so that the scrollbar does not have to appear, is it possible to disable scrollbar?     
asked by 30.06.2016 / 00:16