Questions tagged as 'html'

1
answer

How to create a grid with floating elements similar to Pinterest

Hello, I am creating a grid with divs floating left, but when it reaches the fifth div in 1000px , it floats on the right and not on the left as should be and margin-top is greater for all subsequent divs , ie f...
asked by 01.11.2015 / 00:05
3
answers

Increase spaces when decreasing page

I'm creating an HTML5 page where I want to put the correct page size for all usage types, ie the page appears correct regardless of the screen size. When I reduce the HTML page this happens: In css how do I fix this?     
asked by 19.01.2015 / 12:40
1
answer

Problems with dropdown menu with bootstrap

I made a dropdown menu on my page. When I select the menu the following problems happen: 1) Nothing is selected, that is, I choose the option, but it does not select anything. 2) Even if nothing is selected, the menu is open, closing when I sele...
asked by 18.07.2014 / 21:40
2
answers

How to apply colors to an image through a color palette without Flash?

A customer asked me if I could make a type system. Could anyone give me an idea of how to do this without Flash? It has a glass with a detail and the two objects will receive different colors selectable in a color palette. Where to start with...
asked by 16.10.2014 / 15:40
1
answer

Get dynamically loaded element id

My script contains three parts: The first is the display page (ex: home.php) in it I include two other pages. The second is a page that queries the database and displays the first 5 results (eg consult-1.php). This is displayed by default....
asked by 11.10.2014 / 09:21
2
answers

Gzip compression using Apache server

How to enable gzip compression in Apache? I took a look and saw that it is htaccess , but every article I read passes a different statement. Is there any material, article or thing of the kind that can give me a direction?     
asked by 03.04.2014 / 21:50
1
answer

Execute next audio in javascript

I'm having a question about how to list the next audio using javascript, ie finalizing one song will already be listed the next. I currently have the following code: function loadPlayer() { var audioPlayer = new Audio(); audioPlayer.co...
asked by 15.05.2014 / 15:23
1
answer

jQuery not working in Internet Explorer

I made a little play on Codepen, to share on Github. That is an effect of the elements appearing when you scroll on them. By codepen, it was working perfectly both in IE and other browsers, however, when I moved to HTML page to play in GItH...
asked by 01.02.2014 / 17:11
2
answers

dynamic background - jQuery

I'm testing an image slide, I'm dynamically changing the background using the "css" function of jquery by changing the url ("image path"); But I realized that whenever there is the exchange, it lowers the image again. Do you have the background...
asked by 09.06.2014 / 19:26
2
answers

Click and add id in the array. If you click again, remove this id

I have a problem, I have a list and when the user clicks it adds the id of this <li> to an array, but I want it when I click again on that <li> , that id is removed from the id. Here's the JSFIDDLE . HTML: <ul&g...
asked by 26.07.2015 / 20:51