Questions tagged as 'html'

1
answer

Problem with angular ng-repeat directive

I have a problem with Angular's ng-repeat directive, I'm creating a banner component that works as follows: when you click on add image, that image is converted to base64 and the new image is added to an array and it is with this array that the...
asked by 05.09.2017 / 18:43
2
answers

Enter data in an HTML table using JavaScript jQuery

Hi, I am new to HTML and I need to perform the following exercise: given the following code, I need to implement javascript to be able to add the data to the table. Also, when you add one, you can delete it. Finally, you must count the number of...
asked by 06.09.2017 / 23:59
3
answers

Add a for cycle within an echo with php

Greetings, I'm doing a for loop in an echo and it gives me a syntax error. This is the code <?php $resultado = '<html><h2>Productos:</h2><p>'.for ($i=0; $i<count($_POST["productos"]); $i++){ echo '<b>'.$...
asked by 24.11.2017 / 00:09
4
answers

How to manipulate svg with css?

I'm trying to manipulate svg images with css and I have not really had the slightest success, I guess it's some detail I'm not doing since on the internet there are many examples of this that I'm trying and I guess it's because it works for them...
asked by 22.08.2016 / 21:10
2
answers

Open new window with action inside li

This menu works very well, it opens the pages within the same window, but it does not let me open in a new window. I have already tried it in several ways but nothing but I can not open a new window. This is my code: <meta http-equiv=...
asked by 27.08.2016 / 18:50
3
answers

Remove a text at the end of each paragraph - jQuery

I want to remove a text at the end of each paragraph. Dispongo del 1ero boton: anadir (añade un texto al final de cada parrafo) --> OK Dispongo del 2ndo boton: quitar (quita el texto al final de cada parrafo) --> ¿? What would be the...
asked by 09.05.2017 / 15:50
2
answers

Change the style of a DIV when it is pressed

I have a problem with a hybrid mobile application. I would like to change the style of a div when it is clicked. I currently have something like: <div id="foo"> Lorem ipsum dolor... </div> and I apply in my document css:...
asked by 20.04.2017 / 22:39
1
answer

Error in CSS with display block

I was doing a design for comments and I realized that there is an error when there is more than one comment, and it does not matter if I put them in different containers, the problem is that it creates a margin to the left. The container of the...
asked by 29.03.2018 / 19:14
2
answers

CSS - Fit image between text

I have the following code: p{ border-right: 2px solid lightgray; border-bottom: 2px solid lightgray; padding-right: 5px; padding-bottom: 5px; margin: 10px 0; height: auto; } <p><img src="https://lh4.ggpht.com/wKrDL...
asked by 10.01.2017 / 21:06
2
answers

Accept any character minus $% & | # with RegEx

I am something new in web programming and with Regular Expressions (RegEX) . How to allow my TextArea to accept any character except these $%&|<># ? I'm trying this with my TMForm.js . regula.custom({ name:'Special'...
asked by 10.01.2017 / 16:20