Questions tagged as 'html'

2
answers

How to do line break of a string in PHP inside a div

I have a <div> that creates a box where I should print a PHP string from a database, but when the string is too large, instead of performing the line break the string would be "leaked" out of the box: Iwouldlikeabreakinthelineto...
asked by 19.04.2018 / 17:10
2
answers

Is it possible to concatenate a jQuery selector with a variable?

I have the following code inside a javascript function that is inside a .php page: if (indice_da_aba == -1) { window.alert('não existe ABAS AINDA'); } else if (indice_da_aba == 0) { $('a[href="#tab_00"]').tab('show')...
asked by 30.10.2017 / 20:34
5
answers

Disable click on the body for a period of time

I'd have some way to disable the click events of my body . When I call a function I would like to disable the events in the processing that is a bit time consuming and when I finish activating again. I've already used jQuery to add the...
asked by 15.12.2017 / 13:52
1
answer

Disable page drag on a mobile device

I'm developing a page where we have a <input type="range" min="1" max="10" value="5"> . Whenever I have to drag this input , in case I miss the finger, I accidentally drag the entire page. She goes to and fro. Can you disabl...
asked by 25.05.2014 / 07:24
2
answers

Box-shadow property: inset does not work in img

I was testing the box-shadow property to make a gallery and realized that the <img> tag does not accept box-shadow:inset... but accepts box-shadow normal. However if I put <img> as the background...
asked by 30.11.2017 / 12:16
1
answer

Error in MaskInput Javascript

I'm having problems in a field of a form that is masked through the script below. MaskInput(document.getElementById('xxx'),'9999'); According to the function it should format the 4 characters of the field in numeric format and accepting any...
asked by 08.04.2015 / 03:37
5
answers

H1 stylized with center border with css

Hello,Iwantedtoputaborderthesamewayitisintheimage.Idonotknowwhattocallthistypeofborder,soit'shardtosearch.<h1>Destaques</h1>--------------------------------Highlights--------------------------------Iknowit'spossibletodothiswithcss,s...
asked by 08.09.2015 / 16:03
2
answers

How to undo a click event on the site

I use a jQuery plugin that generates a hidden side menu, and by clicking the button, the menu pops up, shifting the site content sideways. The problem is that site elements remain "clickable" and the menu does not close automatically if I...
asked by 09.10.2014 / 21:07
3
answers

How to remove the "whitespace-only text node" from the DOM that appears in the HTML

It seems that HTML by default puts damn " whitespace-only text node " between inline elements with this I get a "margin" between elements that I can not remove from DOM I know there are solutions like putting display:flex in the...
asked by 28.03.2018 / 15:31
2
answers

Remove html table row with typescript

Good morning !! I have a html table and need to delete a row of it with a typescript (angular 2, preferably) function ... The following is the Table Code: <div class="col-md-12"> <div *ngIf="itens.length" class="table-respon...
asked by 26.06.2018 / 14:35