Questions tagged as 'html'

2
answers

How to make an element follow the scroll bar?

How do I get my menu set according to the scroll? I made a snippet to exemplify the code. I open the menu, when I roll the page it stays in its position. I want the menu to follow the scrolling of the page. How can I do this? var n...
asked by 11.02.2016 / 20:38
1
answer

Using SELECT to list information

I need a little help for a situation. I need to list information within the States. EX: If I click on Acre, I need to click on a box with some information about it. But I do not know how to get this information to appear. I do not want to use ph...
asked by 18.11.2016 / 18:40
1
answer

How do I not select select an option already selected in another select?

How to make select not allow that the option "Lider" is not duplicate , because in my business rule only one user can be a leader . I thought of the following: Assuming I have 3 selects. If I select one of them as LEADER , and select...
asked by 29.11.2016 / 18:12
1
answer

Not working th text-align

My code that has the problem is this: html: <body> <table class="default_grid"> <thead> <tr> <th class="opcao1">Opção 1</th> <th class="opcao2">Opção 2</th...
asked by 31.01.2016 / 12:19
3
answers

How to put a submenu in a menu I already have?

I'm editing the blog, and I wanted to make a menu with submenus, but I do not know exactly what makes it happen. I tried searching google but I did not get anything. Only css tutorials appear, but nothing specific that can tell me what css code...
asked by 02.02.2016 / 10:48
2
answers

Enable function on another page after clicking on anchor

Basic example, when you click on div1 of Pagina1 open Pagina2 and change the background color, is it possible? Page1.html <body> <div> <a href="Pagina2.html#div1" class="">div1</a> <a href=...
asked by 28.01.2016 / 00:48
1
answer

Get Showing Products from a User

Good! It's the following, I'm developing a website that consists of a user seeing the state of their equipment while it's being repaired. But I'm having trouble viewing a user's product for him. For example: The administrator inserts a pro...
asked by 25.01.2016 / 12:17
1
answer

Clear field after X time

I have the form below, which after 2 minutes it updates the entire page: Withthecommandbelow:<metaHTTP-EQUIV="refresh" CONTENT="120;URL=http://pcn-sig.peccin.local/cracha"> And with this it resets the form on each access: <body...
asked by 27.01.2016 / 17:06
1
answer

Transform mysql query into list

I'm doing a query on a database that returns a list of users, which I'm printing to a table. I would like to turn this query into a list and then insert those users into another table I make the query as follows: $sql= mysqli_query($con...
asked by 29.01.2016 / 13:26
1
answer

Generate menu and submenu with PHP

Location: I am building a menu with information submenu that I retrieve from the database, these data are categories and subcategories of products, this menu is ready and working, but when there are no subcategories (which is a submenu of t...
asked by 27.07.2015 / 16:20