Posts by Riva Junior • 345 points
12 posts
-
0
votes1
answer276
viewsA: Problems editing bootstrap variables
In the bootstrap documentation you can see how they suggest it be your project structure, ie there it is said that you need a file custom scss. of which will contain your variables Sass customized.…
-
0
votes2
answers857
viewsA: Incorrect Background Image on Iphone
From what you can see in your HTML, you are using a class called Parallax. Probably this class is using the attribute background-attachment: fixed, because it is through this property that the…
cssanswered Riva Junior 345 -
0
votes0
answers67
viewsQ: What’s the difference between using type Ubmit in buttom and input?
I’ve always made forms with <input type="submit" value="Enviar">, but observing the bootstrap documentation I realized that they use Submit, so I decided to adopt this method because I always…
-
0
votes2
answers137
viewsA: What JSF DTD to use with HTML5 tags
You can put either of the two, I personally use the version of HTML5 <!DOCTYPE html> Even though it doesn’t matter, as JSF 2.2 will always place it, regardless of what is in your file xhtml.…
-
1
votes3
answers1870
viewsA: What is metadata for HTML documents?
I don’t know what metadata means. And I’d like to know what is metadata in relation to HTML documents? As it has already been explained what metadata is, I will explain what they are for in HTML…
-
4
votes1
answer2598
viewsQ: What is a. lock file?
I’m using git to convert a project and noticed when checking for modifications, that some files . json have a file with the same name, but with different extension and content. Example:…
-
4
votes3
answers4343
viewsQ: How to download file without back-end
I want to force the download of a file and I’m trying these two ways. downloading on the same page: var docLocation = window.location.href + 'docs/apresentacao.pdf'; var iframe = $('<iframe…
-
5
votes2
answers4468
viewsQ: Input mask with zeros on the left
I have a numerical type input, which should only receive numbers (obvious). However, some browsers let the user type alphanumeric. However, this is not the only problem. I need 0 to be displayed on…
-
-2
votes3
answers421
viewsA: To observe an error in the iframe element with "sandbox" attribute
You need to glue one Try where the code causes error, and use a catch to handle the error. You can check more information on how to use statements Try.. catch on the website Mozilla for developers…
-
0
votes4
answers2562
viewsA: Definition of "margin-top" in percentage of a "div" works strangely
As already mentioned, margin and padding with percentage, use the width of the element. The margin is based on the parent element. And the padding is based on the element itself. Whether his…
-
3
votes1
answer996
viewsQ: How to make a program download images from a website, page by page, using id?
I need to download several images from a website, where only the page number changes, but the id of tag img is always the same. I wonder if there is any way to create a program that does this…
-
5
votes4
answers1759
viewsQ: How do I make all items in a menu equal in size regardless of quantity?
I want to make a menu that always leaves the items with proportional sizes, occupying all the available width and adapting. .top-menu ul { width: 100%; } .top-menu ul li { display: inline;…