Make padding responsive

Use percentage as a unit of measurement while making your website responsive. Pixels does not work if you want it to be responsive. If you use percentage, the measurement is taken with respect to the size of the screen. But if you use pixels, the padding remains the same for all sizes. Simply, alter your … Read more

How to fix “insecure content was loaded over HTTPS, but requested an insecure resource”

“Mixed Content” warnings occur when an HTTPS page is asked to load a resource over HTTP. This is dangerous because the insecure resources are vulnerable to alteration by an active attacker or eavesdropping by a passive attacker, which violates the user’s expectation of security for an HTTPS page. https://developers.google.com/web/fundamentals/security/prevent-mixed-content/fixing-mixed-content?hl=en

How to make new page in html?

You are missing a </p> tag and the <a> tag should be inside the <body> tag. <h1> tag is malformed as well. Remember, this is just like parentheses in math. If you open one then you need to close one.

Is it possible to put CSS @media rules inline?

@media at-rules and media queries cannot exist in inline style attributes as they can only contain property: value declarations. As the spec puts it: The value of the style attribute must match the syntax of the contents of a CSS declaration block The only way to apply styles to one specific element only in certain … Read more

I’m getting favicon.ico error

I have had this error for some time as well. It might be some kind of netbeans bug that has to do with netbeans connector. I can’t find any mention of favicon.ico in my code or in the project settings. I was able to fix it by putting the following line in the head section … Read more