Questions tagged as 'html5'

1
answer

How to put a SECTION next to the other?

I can not, always when I try to cut the footer or it goes up. .principal { margin: 0 auto; background-color: #000000; } .bloco { height: 100%; width: 50%; padding: 5px; border-sizing: border-box; padding-bottom: 3%;...
asked by 27.01.2016 / 19:37
1
answer

How do I make an image display in full screen only in mobile mode?

There are two site templates, the desktop (which is already ok) and the mobile. On mobile, I want it to display a black background with ONLY an image occupying the center of the screen. EVERY extension (height and width) of the screen has to...
asked by 09.12.2015 / 19:52
1
answer

Image not picking feature of the div in which it is inserted

I have a header tag, where is my menu, this header tag has 80% width of the screen and is fixed at the top. I have just below the menu an image, which I want to take 100% of the screen, but it is inside the same header tag. Is this image not cat...
asked by 26.11.2015 / 12:05
4
answers

Custom font in html / css does not work

I'm trying to insert a non-standard font into my html , but it's not working. I downloaded the font and put it in a /font folder inside the css folder. Here is the code: @font-face { font-family: sans-pro; src: url(...
asked by 16.04.2016 / 01:35
1
answer

Error in the configuration of RouterProvider of AngularJS

I imported the angular-route.js and made the following configuration: <script type="text/javascript"> angular.module("layoutxepa",["ngRoute"]); angular.module("layoutxepa").config(function (serialGeneratorProvider) { serial...
asked by 28.09.2015 / 17:10
2
answers

Upload page without loading music player

I'm doing a site once I have a music player in HTML5 , but every time I change the page the player loads again. In my search it looks like there are solutions either AJAX or IFRAME . IFRAME say it's not very recommended so I thought about do...
asked by 09.09.2015 / 22:59
1
answer

Create button play / pause

I'd like to know how I can create a youtube style button to play and pause on top of the video. I would like that when you do not click on it it will stop with the play and click on it it starts the video. Code: <video class="video" id="...
asked by 27.08.2015 / 12:27
1
answer

How to split an image into pieces using javascript and put in their respective divs

I would like to know how this separation of the image in smaller divs within the div itself is done following the example of this link: link     
asked by 02.10.2015 / 02:49
1
answer

First select2 value is not shown when using i18next

I'm doing internationalization with lib i18next, everything happens right, it translates puts the values inside the select2 , however the first value is not shown in any way, even though I open select2 and clicking on the first item...
asked by 07.10.2015 / 13:15
1
answer

How to transfer content from a 'contenteditable' div to a textarea or input?

I'm having a problem trying to transfer content from% ed to DIV with Jquery. The code I'm using is this one: function setData(id) { id.className = "input editavel esse"; var valor = $(".esse").text() $(".esse").next("td")...
asked by 23.06.2015 / 15:42