Questions tagged as 'html'

3
answers

Should I set the background in TD or TR?

I've been asking this question all my life. I would like to know what is the most recommended way to set background to tr or td . Example 1 .table > thead > tr { background: red; } Example 2: .table >...
asked by 28.03.2017 / 16:39
1
answer

Checking the amount of elements inside a div with an id inside a class in javascript?

I want to access a id within a css class to check the number of paragraphs within it. In javascript how could I do it in this case? Example: <div class="classe"> <div id="algo"> <p>paragrafo1</p>...
asked by 22.03.2017 / 22:31
1
answer

How do I change background-image of the site dynamically? [closed]

So, I wanted to make a bg-image change dynamically the same in this example: link The background changes every 5 seconds. Does anyone know how?     
asked by 23.03.2017 / 01:58
1
answer

using price to set the value of the input checkbox to be calculated

I have some checkboxes that have a value of x, which when selected are the sum of their value. But this value is being fetched through the Value, and I needed to use an attribute that overrides the value so I can send it as input checked to t...
asked by 27.03.2017 / 13:15
2
answers

Improving site hover scheme

I'm trying to develop an evaluation scheme for files that are hosted on my client's website. Each file gains beyond the access link a DIV with the five rating options, which appear as gray stars. Here is the code: <div style="margin-top: -2...
asked by 22.03.2017 / 18:32
1
answer

hide / show div

I am creating a website for a travel agency, and at the beginning of the site I have created 3 prominent sites. When the user passes the mouse on the images, the image should darken and appear "more details" . The problem is that not being abl...
asked by 20.03.2017 / 21:43
3
answers

Display username logged in

Example in code file index.php : <header> <input type="checkbox" id="btn-menu"> <label for="btn-menu" class="icon-menu"></label> <nav class="menu"> <ul>...
asked by 05.04.2017 / 15:57
2
answers

How do I upload content to a page based on a previously clicked element?

I have a simple gallery where each image leads to a new page with its description. It turns out that the page layout for the descriptions is the same, just changing the content. How do I make only a few fields on this page change based on the it...
asked by 04.04.2017 / 14:18
1
answer

Import Excell XLS Worksheet and write to MySQL database

PROBLEM: I have some spreadsheets where I get some information, which is updated every 6 hours. The main difficulty is when I need to compare some information between the last 2.3 worksheets for example, since I need to open one and th...
asked by 20.03.2017 / 13:52
2
answers

How to get only one information from this table? VB.NET

Hello, I have this table, which has no class, id, or name. I would like to take only her phone. How would you get it? <tr> <td><a href="http://www.google.com/">1</a></td>...
asked by 18.03.2017 / 19:24