Questions tagged as 'html'

3
answers

Click the button and change the background color

Good afternoon, I'm developing 1 game in Meteor, and for example when I click to choose the character wanted the background turns green, and if you choose another character the background would return to normal and the new selected character wou...
asked by 16.05.2018 / 18:16
2
answers

Set tr or td width in HTML5

I need to set the width of a column to a table , but the width ( inline ) in HTML5 is not supported, as per the documentation: HTML Tag In this case, can not be done inline ? What are the options? As in email mark...
asked by 18.05.2018 / 13:31
1
answer

Task List

This is the following I am doing a list of tasks and at this moment I am with a doubt wanted to do a checkbox for when the task is completed the person to put checked my question is if it is necessary database for this purpose or not? so that wh...
asked by 26.12.2017 / 01:50
1
answer

Label concatenating subsequent results, how to clear the previous result?

Explanation I have two label elements that receive the results of an account made inside the code (lamp expenditure calculator), when I click on calculate, it calculates and inserts the calculation result in the label, when I click calculate...
asked by 18.12.2017 / 14:20
1
answer

Comment / caption in table rows

How can I add a comment / caption on table rows, similar to the <abbr> tag? nome | idade | sexo <br> <abbr title="comentario/legenda 1">&nbsp; Gui &nbsp;| &nbsp;&nbsp;17 &nbsp;&nbsp; | &am...
asked by 12.04.2018 / 18:47
2
answers

Div does not respect image limit in css

I'm trying to put new divs in my html but they end up leaving the image area and I'm not getting them fixed inside the image just scrolling the scroll bar, how do I move the items and image stay in position? In this case it is my...
asked by 31.03.2018 / 17:07
1
answer

How to break line inside textarea

I need to bring the listing of people within a textarea or some similar alternative. I'm bringing it this way: <textarea rows="5" name="pergunta4"> <?php foreach($avaliadores as $avaliador):?> <?php echo($avaliador['no...
asked by 11.04.2018 / 21:13
1
answer

Would it be possible to identify if a DIV is over another DIV using some kind of script?

I have a DIV A, which moves on screen by clicking the keys on the keyboard. Is it possible to identify if this DIV A is on a DIV B using some script and trigger an event when the position of that div is recognized over the other? Code to move...
asked by 18.06.2017 / 08:42
2
answers

Javascript concatenated in input name

Is there any way to concatenate a variable javascript next to a input ? This input hidden I would submit next to an HTML form As for example: <script type="text/javascript"> var strConcatenada = "STR_VARIAVE...
asked by 16.08.2017 / 20:41
1
answer

Opacity in everything, except in a certain DIV

Good afternoon. I need help with something. However, I still do not have a code. It needed something like an ad popup. That is, the entire screen becomes 'dark' while only the div has focus. I would like to understand the logic, if it would be b...
asked by 11.08.2017 / 20:30