Questions tagged as 'html'

2
answers

How to clone an element in Javascript?

Is it possible to get an exact clone of a particular HTML element? so that the clone contains all the properties exactly the same? If there is one, I would like to know how to proceed with this clone, and also to understand how it is acting,...
asked by 05.02.2014 / 14:53
1
answer

How does "position: sticky" work?

The sticky is a new value of the position property and I read a little and understood that it is possible to create HTML elements that behave at one time as position: fixed and in another as position: relative dependi...
asked by 23.11.2016 / 12:47
3
answers

How to make a flex container have the width of the internal divs?

Good afternoon, I'm creating a layout with height:100% where I have 2 groups, and within each group I align the DIV s vertically and if any DIV does not fit in height max or there is resize da page, it goes to...
asked by 06.10.2016 / 17:24
1
answer

How to calculate the dimensions of an SVG element

How to calculate the dimensions of a svg element consistently between browsers? In fact the only one not responding consistently is Firefox. It would be interesting to see the reason for getBoundingClientRect disparities in diff...
asked by 19.05.2014 / 09:52
0
answers

Get child element width in Angular directive

Next I have a table fed by a simple routine. I need to make the scroll to tbody fixed. So far so good. Could make N forms. To try to make the responsive table I'm using a directive to calculate and set the value of each th after the data is r...
asked by 25.11.2015 / 19:25
2
answers

How to get form data via "POST"?

Is there any way I can receive data coming from an external form using method="post" on my jsf page? I can already do this when data travels via GET . <f:metadata> <f:viewParam name="dados" value="#{testeMB.dadoExt...
asked by 08.01.2014 / 13:56
3
answers

CSS Operators with @

As I had asked about the @media operator, I was curious because I saw other operators that started with @ and I would like to understand what is meant by operators like that, and which ones exist.     
asked by 14.12.2017 / 18:28
4
answers

How to disable textarea resize?

How do I disable resize of a textarea ? <textarea></textarea> I would like you not to change the size of the box ...     
asked by 17.01.2017 / 13:41
3
answers

How to solve a Notice: Undefined index?

Starting in PHP and following a tutorial I used the above code and ended up getting this error:    Notice: Undefined index: submit in C: \ wamp \ www \ mezzo-com \ reservas.php on line 3 How to solve it?     
asked by 18.06.2014 / 04:07
2
answers

Enter key do not give submit

How to make the enter key not give submit on a form? Example: in an input pressing enter nothing happens. Today, if you press enter , the browser gives submit , and you clicked the submit button.     
asked by 14.12.2015 / 20:24