Posts by Rodrigo • 164 points
7 posts
- 
		0 votes1 answer66 viewsA: Why even when margin and padding ta set to 0px there are still spaces between the elements?In the CSS, using the asterisk *, better known as universal selector, you can apply the padding and the margin generally in your HTML document. So, using as follows: * { margin: 0; padding: 0; }… 
- 
		1 votes1 answer272 viewsA: Space between HTML linesAdd the property style="margin: 2px; in his tag <hr>. In case, will control the bank in the four directions (top, right, bottom and left), but in your case it already seems to be enough. If… 
- 
		1 votes1 answer202 viewsA: How to convert the characters inside the form and print on screen?Putting the onfocusout="substituiPonto(), taking advantage of its function substituiPonto(), just replacing replace() for replaceAll(). When glue (CTRL+V) the format 00-00-00 for example, and when… 
- 
		3 votes1 answer200 viewsA: Align magnifying glass image within the field (input) of search - htmlOne of the many ways to solve could be using position: relative, which would relate to input, and go using the positions top and left, as in the code: .container { display: flex; flex-wrap: wrap;… 
- 
		1 votes1 answer48 viewsA: Using the value of a select with JavascriptOne of the ways I could do it is to remove the window, leave only the Document that will already work. Change the getElementsByName and use the getElementById same, and change the property name down… 
- 
		0 votes1 answer112 viewsA: How to center a menu?Like the position of it is as Fixed, changing property left you manage to move it. Try to put it this way, there just next to the position: left: 50%;, so that it is approximately halfway on the… 
- 
		1 votes1 answer79 viewsQ: Toast setGravity() method does not work in Level 30 APII’m trying to convey a message from Toast on top of a Activity common, when clicking on a Button, using the method setGravity(Gravity.TOP, 0, 0) in API Level 30 (release R), however not working. The…