Questions tagged as 'html'

2
answers

How to position an image with vertical-align?

I have a menu where the logo of the site is positioned as follows: html: <a href="#"> <img src="layout/img/logo.png" class="logo" /> </a> css: header div a img.logo{ top:50%; transform:translateY(-50%)...
asked by 27.05.2015 / 15:07
1
answer

How to add html inside a tag - popover

I need to put tags inside data-content of popover , how should I use the quotes? example: <a href="#" data-toggle="popover" data-html="true" data-content=" <div> <span onclick=alte...
asked by 11.12.2015 / 11:16
1
answer

How to change array order javascript array

How do I change an array order. Example: I have an array with the following syntax: arr = [h5, ul, h5, ul, h5, ul, h5, ul,]; The purpose is to change the display order of the html, for example h5 beer / h5 with its respective ul is first exporte...
asked by 11.05.2015 / 02:29
1
answer

Different divs in loop

I find the following problem, with the code below I wanted to add more fields without repeating divs . Code: <? foreach($itens as $myrow){ ?> <div id="LISTA1_FUNDO_PRETO"> TITULO<...
asked by 24.04.2015 / 02:08
2
answers

Change the color of a div with a setInterval

Here is the code: jQuery(function($) { $('a.panel').click(function() { console.log($($(this).attr('href'))); var $target = $($(this).attr('href')); $target.show().css({ left: -($target...
asked by 24.04.2015 / 12:50
1
answer

Update does not work in the database

I have the following code and when I submit it it does not update the NADA in the database. $query = "SELECT * FROM tests WHERE ID = :ID"; $result = $db->prepare($query); $result->execute(array(':ID' => $_REQUEST['ID']) ); if ($row =...
asked by 24.04.2015 / 21:18
1
answer

Passing HTML Page Parameters to ASP.NET

I have an asp.net page which I need to get parameters from an HTML template . I'm trying the way below but I can not get the values. Here is my code: HTML - Template <form method="post" action="http://localhost:61712/Default.aspx">...
asked by 01.07.2015 / 16:32
1
answer

Multiple modal bootstrap returning always the same content

I'm developing an asp.net mvc application, in one of the pages of the site I call several modals of the bootstrap one on top of the other, however, when already has a modal open the new appears with the same content as the old, follows code snip...
asked by 03.07.2015 / 03:04
1
answer

Div with float does not fit the grid

I'm developing a website and it should list some specifications of a system. There are several lists of varied heights. Problem: I use float: left in all lists. I hoped the lists would fit automatically, with the right as far as the left. But as...
asked by 07.05.2015 / 18:58
2
answers

How to create a button if you are logged in to an account

Hello, I would like to know when someone is logged in to create a button of type FILE. This created the system of registration and login, but I do not know how to know when it is logged in or not. index.php <!DOCTYPE html PUBLIC "-...
asked by 01.05.2015 / 03:06