Questions tagged as 'html5'

1
answer

Align navigation menu in the center

I'm trying to align the "drop" menu in the center. Help? HTML: <main id="conteudo"> <section id="produto" class="box"> <nav id="drop"> <ul> <li><a href="">Linha Au...
asked by 18.11.2015 / 21:03
1
answer

Background fixed in HTML5 CSS3

I put a background x on my site, with the css code: body { background-image: url("../imagens/back.jpg"); background-color: rgba(64, 118, 182, 1); background-repeat: no-repeat; background-size: auto; } I wanted the image not...
asked by 25.08.2015 / 00:55
3
answers

Field input type="text" does not fill in data with more than one word

When loading a data into an input, only the first word is loaded. Example: '</form> <input type="text" value='.$result->name.' >'; $result->name contains the value "Hello World". Since the input only shows "Hello"....
asked by 31.08.2015 / 19:28
1
answer

How to put advertisement in my application for Firefox OS

I created some HTML5 applications for Firefox OS, but I can not place advertisements to monetize it. Is there any tool for this?     
asked by 26.07.2014 / 05:34
1
answer

Distribution problem for COLUMNS in CSS3

I'm following the tutorial on w3school , it's inserting the items, one below the other and not on the (inline) side! According to my code should stay side by side: CSS * { box-sizing: border-box; } .grid-container { display:...
asked by 09.07.2018 / 22:18
2
answers

Get script from a DIV with JS

It is possible to get the SCRIPT of some element .. EX: <div id="form"> <div class="box"> <p>Pegar apartir da 'class="box"'</p> </div> </div> get the complete code inside the id="form"...
asked by 24.07.2015 / 21:31
2
answers

Why does Firefox not support form type="time"?

I tested this type in a form and it got really bad, it does not show any kind of menu to modify the time. In Google's browser appears. It's complicated because every type of form will never run 100% in all browsers. Any solution?     
asked by 26.04.2018 / 01:40
2
answers

Several Divs with the same responsive Height

I have four five divs, one of which is a container for the other four. Structure: <div id="divPai" style="width:100%"> <div id="divInfUser" style="width:25%; height: 30%; background-color: #DCAE4C; float: left; display: inline-blo...
asked by 22.10.2014 / 16:01
2
answers

Conditional javascript call in html5

How can I call a script by following a conditional in html5? For example, depending on the address in the browser it loads certain script If the address is link , load the following script: <script src="js/index.js"></script&g...
asked by 29.10.2017 / 23:14
2
answers

Background-position is not working

Hello everyone. I used the image-replacement technique, I tried to leave the image centered using the background-position: center center, but the position of the image remains unchanged. Someone could tell why background-positioning is not worki...
asked by 07.08.2017 / 22:54