Questions tagged as 'css'

3
answers

Div with fixed position on the screen within the limits of another div

I need a div to be fixed on the screen, ie, go down as I see the rest of the page, but the problem with position:fixed is that it takes the element out of the page flow. I want this div to be fixed within the bounds of another div, and...
asked by 17.08.2015 / 19:34
1
answer

charset declaration in .css file

Sometimes I come across some examples of file .css with the declaration of charset logo in the first line: @charset "utf-8"; Until my code editor (Dreamweaver CC 2015), when I create a new CSS file, it already places this line...
asked by 21.11.2018 / 00:30
1
answer

z-index of an element without defined position

Is it possible to know z-index of an element without a defined position using javascript? For example in this code: CSS #exemplo1 { z-index:4; } #exemplo2 { z-index:4; position: relative; } HTML <div id="exempl...
asked by 24.03.2014 / 21:58
2
answers

Problem with animate.css in fonts in Safari

I'm having problems rendering fonts that have effects from the Animate.css plugin And that only happens in Safari. Website Link . As an example, the first three links in the menu have no effect, and the last three links are with the "anim...
asked by 07.05.2014 / 15:57
3
answers

CSS: Problem in Firefox and Chrome using padding

When I set padding to some div it gives a difference of 1px , I'm building a menu, set padding to #menu ul li a and difference from one browser to another is 4 px , is there any hack for this? <body>...
asked by 07.04.2014 / 17:19
1
answer

What is the "behavior" attribute in CSS?

I have seen in some CSS codes made to work in the beautiful browser Internet Explorer the following attribute: img { behavior: url(ie_png.htc); } What is the purpose of this behavior ? Does it only work for Internet Explorer?...
asked by 10.12.2015 / 16:29
1
answer

Why is the Stylus not identifying classes? [closed]

I have a problem with the Stylus. Compiling my code by Node sometimes gives a bug , it does not seem to identify the classes because of . generating the following error:    expected "indent", got "outdent" Note: There are hours th...
asked by 03.12.2015 / 14:03
2
answers

Animation with JavaScript / jQuery [closed]

I have this html: Iwouldlikethefollowingtoappearwhentheuserdrags: Whenyoudragagain,disappear...HowcouldIdothiswithJavaScript/jQuery?Followthecode:<divstyle="width: 100%; overflow-x: hidden;"> <div class="item-total"&...
asked by 14.11.2018 / 16:52
1
answer

With CSS is there any way to change the style of Text-Overflow: Ellipsis?

Imagine that I have a situation where the text is larger than the container , so I'll use text-overflow: ellipsis to put the 3 dots ... showing that the text goes on and on inside container has more content, so far so good. T...
asked by 13.11.2018 / 11:19
2
answers

How to use CSS style in application?

I created an app for Android using App Framework from Intel and did the build with PhoneGap. It has the visual style of the framework , but when I run it on the Android device, it uses the native, black look. How do I reverse this?  ...
asked by 28.08.2014 / 15:47