Questions tagged as 'html'

2
answers

You can create a max lenght for span, div or p

Hello, this is my question: I know there is an attribute for input and text-area with which the number of characters is manipulated as maxlenght , my question is if this can be done with span , div or any other...
asked by 18.01.2017 / 23:21
1
answer

Why is this image not responsive?

What's wrong with this css? .img-responsive{ width: 100%; height: 100%; display:block; } .hovereffect { width: 100%; height: 100%; float: left; overflow: hidden; position: relative; text-align: center; c...
asked by 18.01.2017 / 22:38
1
answer

For cycle for child rows datatables

I have this example taken from Datatables which I require, although this example when pressing a certain button shows a little more information than what is in that row. But in my case I require that with the id of that row make a shi...
asked by 20.01.2017 / 17:54
1
answer

When interacting, change the style of a web and store it [duplicated]

I am developing a website with php, javascript, html5 and css3. I want to change the color according to what the user chooses in a developed configuration section and that those changes are stored How could I do it?     
asked by 29.12.2016 / 09:35
1
answer

Get all matches between 2 fixed texts

I am using regex to get all search results on a page: <div class="col-xs-6 col-sm-4 col-md-4 col-lg-4">(NÚMERO ILIMITADO DE CARACTERES)</div> At first I think I have it right, but it does not work for me. $regex = '/\<div c...
asked by 17.12.2016 / 11:11
1
answer

Sum of values conenidos in attributes in a tr

I have the doubt that I have this code: <tr class="ejemplo1" sumaEjemplo="+sumaEjemplo+"> I am passing the values dynamically and I want to make the sum of all the <tr> with that attribute (they will be added in the web p...
asked by 05.12.2016 / 03:25
1
answer

Position absolute element with respect to a tr

Well, as the question says, I would need to position a <div> with position:absolute with respect to each of the rows. <tr class = "danger" style="position:relative;"> <td align = "left"><strong>&nb...
asked by 23.11.2016 / 11:24
2
answers

Create pop up with bootstrap help

I am creating a "pop up" type pop-up window (as if it were a confirm () but I want instead of having the typical OK-Cancel buttons, have the values: Button1 - Button2, and each do X code. .. I have the following code in the index.php: echo...
asked by 17.11.2016 / 15:17
1
answer

Divide text into two div

I'm making an invoice in JavaScript, PHP, HTML and CSS and I have a question. The design of the invoice simulates a folio just like desktop text editors do. I've solved that with <page> and CSS. When the content arrives according...
asked by 26.12.2016 / 12:28
4
answers

1 input and a select to 1 same variable

Good evening, mates I am making a form to request a code or a name, so that I go and search in a database. To make it easier for the user, I would like to give you the option to write them down or look for them in a drop-down list directly br...
asked by 13.11.2016 / 05:48