Questions tagged as 'html'

2
answers

Show and hide input for javascript search field

Hi, I'm doing the site search bar and the bar template and so: it has an image of a magnifying glass and when you click on the image, under it appears the input to type the search. I'm doing this in JavaScript but I'm having problems. It happens...
asked by 21.10.2015 / 21:03
2
answers

Is there a difference between using inline CSS or IDs for a large number of different elements?

In the page I'm doing I'm using a Spritesheet with more than 50 different images, however all are in the same .png file and I need to pass the position where each element is in that background. Seeing a lot of elements with unique styles, what...
asked by 22.10.2015 / 04:18
3
answers

How to load a ng-controller through ajax and inject it into the DOM

I'm creating an application where I'd like to load my modules via ajax. This application uses AngularJS to handle each module and these are injected into my DOM using Jquery, as in the example below: EDIT - (as requested by @EduardoBinoto)...
asked by 24.12.2015 / 11:37
2
answers

How to correct these styles to get around the reported error?

I am modifying inputs checkbox by hiding them and calling labels to receive the checked function. How can you see in FIDDLE and also in the codes shown below, when clicking ascending order, the effect is assigned to...
asked by 02.01.2016 / 04:44
2
answers

Clicking elements below a div?

An example I can give: .noturno{ z-index: 9000; position: fixed; height: 100%; width: 100%; background-color: rgba(0,0,0,0.5); } <div class="noturno"> </div> <div class="corpo"> <button>...
asked by 07.01.2016 / 13:37
1
answer

How do I pass this image as a parameter?

The question is as follows, how do I pass the image as a parameter to use it in javascript with tried in the code below? HTML <!doctype html> <html lang="pt-br"> <head> <meta charset="utf-8"></meta> <script...
asked by 09.01.2016 / 07:31
5
answers

Doubt with image placement

I have an image for the logo, I want it to always be positioned in the center of the screen for all the devices. I'm using the bootstrap . CSS .relative{ position: relative; left: 40px; } HTML <div class="relative"&g...
asked by 28.12.2015 / 18:30
4
answers

How to organize many divs in Bootstrap (Image)

How do I organize many col-xx-3 divs of different heights ? Is there any class or some other method without using row (every 4 products)? Any way does not need to change Select or PHP ? I have tried in many ways but I have not be...
asked by 19.04.2016 / 16:31
3
answers

Value of an input type number [closed]

I'm trying to do an ICMS calculation and am having a seemingly silly problem that is getting the value of the inputs from my HTML, I thought the problem was in the function, but when I try to give alert or console.log() in variable...
asked by 15.08.2017 / 01:53
3
answers

How to avoid repeating html and css commands?

How do I not repeat the HTML and CSS code of a website structure? For example, I made the structure of a web page and I want this structure to be applied to the other 5 pages that I will create for this site. Follow the print of the page:...
asked by 14.08.2017 / 16:43