Questions tagged as 'html'

1
answer

height: vh; does not work as it should on Chrome mobile

Chrome is not tailoring content in the viewport In Firefox and Opera mini you are adapting perfectly Chrome Firefox Operamini IsitpossibletomakeChromefitlikeFirefoxandOpera? .intro-noticias { width: 100%; height: 89vh; margin...
asked by 17.02.2017 / 22:38
1
answer

How do I undo a height assigned to a div?

I'm using bootstrap and this is my css: .painel-altura{ height: 540px; } @media (min-width: 630px) { } I would like to undo this height and leave it the size before 540px. I'm trying to use @media but I do not know how to do it! Withi...
asked by 07.02.2017 / 20:43
1
answer

How to put three dots in a word if the text overflows the page? [duplicate]

I'd like to know how to put three dots in the last word that exceeds the page limit. This image is like the current text. AndthisimageishowIwantittostaywiththethreepoints Hereistheentirearchiveofthesite link HTML: pastebin.com/JfaRD...
asked by 05.02.2017 / 16:06
1
answer

View information in HTML with angular

Hello, people, I'm a beginner in angular, javascript, and so on. I'm trying to display the information from a json returned by a php script, but I'm getting this error:    Duplicates in a repeater are not allowed Angular: angular.module...
asked by 07.02.2017 / 19:33
1
answer

Animation with CSS and jQuery

I'm building an alert system with jquery and css. Everything is working. But I noticed that in some browsers it's getting a bit slow. The problem occurs because the alert div moves along with the animation. Well my doubt and how to make the a...
asked by 13.01.2017 / 19:17
1
answer

Problems generating PHP page from dynamic menu link

I have a dynamic menu where it is generated from the tables in my database. <?php $results = DB::query('select * from categoria'); foreach ($results as $row) { echo '<a href="#" class="categoria">'.$row['Nome'].'</...
asked by 02.04.2017 / 01:06
2
answers

Scroll Event

I'm trying to change the color of my navbar according to the page scroll, eg: It starts as transparent, but when I scroll it turns white, if I scroll up again, it becomes transparent again, but it's not rolling, it turns white when I go down,...
asked by 01.04.2017 / 18:13
1
answer

Defining default values to vary with the Pug Engine Template

I'm starting to work with MEAN and use the Pug template engine. I know the same was Jade previously and there have been updates on how to work with it. My problem is that in Jade, and in various places on the internet, I have the informatio...
asked by 20.01.2017 / 02:42
2
answers

How to display item that was added to the shopping cart with javascript?

Hello everyone, here is a way to modify a following script: when I run the code below, I have a system where I click on the + on the right side, which adds up the value below, everything works fine ... I would like to know if it would be possibl...
asked by 21.01.2017 / 03:13
1
answer

Search text function

What is the correct way to search for text on the page? I'm developing a "single" page in HTML and would like a search field when typing find text, similar to what happens today with CTRL+F , I'd like to manipulate the field foun...
asked by 10.01.2017 / 13:56