If it does not scroll as expected on iOS, try:
height: fit-content;
height: -webkit-fit-content;
height: -moz-fit-content;
overflow-y:scroll;
-webkit-overflow-scrolling: touch;
That’s all! Continue reading iOS fixed layers and scrolling
If it does not scroll as expected on iOS, try:
height: fit-content;
height: -webkit-fit-content;
height: -moz-fit-content;
overflow-y:scroll;
-webkit-overflow-scrolling: touch;
That’s all! Continue reading iOS fixed layers and scrolling
Prevent caching?
change the HEADERS!
Cache-Control: no-cache, no-store, must-revalidate Pragma: no-cache Expires: 0
GOOD INFO HERE:
https://stackoverflow.com/questions/49547/how-to-control-web-page-caching-across-all-browsers
Ja, http://blog.mybrain.nl/ is verhuisd naar https://markohoven.com/
Hoe doe je dit nu op een correcte manier?
Binnen IIS kan dit met web.config
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <httpRedirect enabled="true" destination="https://markohoven.com" httpResponseStatus="Permanent" /> <defaultDocument enabled="true"> <files> <clear /> <add value="index.php" /> <add value="index.htm" /> <add value="index.html" /> <add value="default.asp" /> <add value="default.aspx" /> <add value="default.htm" /> <add value="default.html" /> </files> </defaultDocument> <httpErrors errorMode="Custom"> <remove statusCode="404" subStatusCode="-1" /> <error statusCode="404" prefixLanguageFilePath="" path="/index.php" responseMode="ExecuteURL" /> </httpErrors> </system.webServer> </configuration>
Een andere mogelijkheid is in code… Continue reading 301-redirect
Windows: CTRL + F5
Mac/Apple: Apple + R of command + R
Linux: F5
Continue reading Help, ik zie de aanpassing op de website niet meer
Sometimes when using Google Chrome, you get an error DNS_PROBE_FINISHED_NXDOMAIN instead of the website. Nothing seems wrong with the internet connection, the website might even work in other browsers. Below are two methods that might help you to get rid of this error. Follow the below mentioned steps and you will be good to go: Continue reading Fixing DNS_PROBE_FINISHED_NXDOMAIN Error
As a developer I like structured code. The browser however could not care less about the right amount of tabs and spacing; it just need to get the code, with as little data-traffic as possible.
So, what do I do? When speed is really important, I create my stylesheets and javascripts as I normally do, but then also convert these into a “.min’ version – minified, and refer to those from the html source code.
To get this done Continue reading Loading speed vs code readability