Questions tagged as 'html'

4
answers

Repetition of color zebra only that of 5 in 5

How to make this repeat loop to have 5 numbers of one color and 5 numbers of another color? var collection = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]; var html=''; for (var i in collection) { var cor = (i % 5 == 0) ? 'red' : 'blu...
asked by 16.05.2018 / 17:29
3
answers

Mask in table values

I am looking for a way to create "masks" for the values of my table in ASP.NET. Currently, I'm displaying values like this: @model TB_RESUMO_GERAL List<TB_RESUMO_GERAL> rg = (List<TB_RESUMO_GERAL>)ViewData["relatorioGeral"]; ....
asked by 03.08.2017 / 16:13
2
answers

.on ('click') event, does not work in input containing date-md-icheck

Hello, in my function there is the .onClick event that should activate when checking checkbox , but when I use data-md-icheck it is ignored by the function. <input type="checkbox" data-md-icheck class="ts_checkbox"/>...
asked by 25.08.2016 / 19:25
3
answers

"content: attr" does not validate in W3C

How to resolve this error on the table td:before {content: attr(db); line that does not validate on W3C ? <!DOCTYPE html> <style type="text/css"> table {width:100%; border-collapse: collapse;} table tr {border: 1px solid #0...
asked by 24.02.2016 / 14:04
1
answer

Which programming language uses this Syntax?

I would like to know which language uses this syntax? It was inside a <h1> HTML tag. {{app.settings.pagetitle}} The files are mostly saved in HTML, and I need to use PHP to connect to SQL Server to pull the data from the ta...
asked by 29.06.2017 / 20:07
4
answers

Using default value in HTML5 [closed]

I'm trying to bring a value into an input text disabled but the field is being shown as empty. I already removed the disabled and it continues to come in blank. <input type="text" name="anterior" id="anterior" size="13" maxlength="50" disab...
asked by 20.10.2017 / 12:10
3
answers

reduce size of an image that is in the database

I have a table that shows the contents of a database, one of the contents is an image, I call the image as follows: <td><?php echo '<img src="data:image/jpeg;base64,'.base64_encode( $books->Image ).'"/>'; ?> </td>...
asked by 23.04.2017 / 22:41
4
answers

Change background of a table

I need a help, I have a web page with two tables, a table has 5 divs with images inside it, images already predefined, clicking on any of these images change the background of the other table. How can I do this using PHP, HTML, and JS....
asked by 08.08.2017 / 15:35
2
answers

Adding tags li

I would like to know how to add the amount of <li> Here's an example: <ul> <li>exemplo 1</li> <li>exemplo 2</li> <li>exemplo 3</li> <li>exemplo 4</li...
asked by 27.10.2016 / 05:03
2
answers

How to define the dimensions of an HTML page? [closed]

I'm using DreamWeaver and now I've tried the page on the internet, and the page gets very wide. How do I control the width and height of the page?     
asked by 14.05.2014 / 12:22