I just created an Arabic version a website and noticed that Chrome sometimes shows a totally blank page until the window is resized and then everything instantly becomes visible.
Arabic is a RTL language, so the <html>
tag has dir="rtl" lang="ar"
added to it. This is the only difference between it and the English site.
This is the site. You may have to click the logo a few times in order to see it show blank.
Google Chrome collects cache data in the background to open new tabs instantly. A huge amount of cache data may lead to an untitled blank page in the browser. You should clear cache data and try loading new tabs and web pages again.
Chosen solution You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files. Clear the cache and remove cookies only from websites that cause problems. "Clear the Cache": Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
When a Web page is blank, there are a few likely reasons. The reasons fall into three categories: 1, a server-related problem; 2, a network problem; and 3, a client browser or computer problem.
I've noticed this problem too and I searched the internet in English and Arabic but couldn't find the cause of the problem. I found a workaround to fix it though; use the following jQuery script in your rtl-directed webpages:
//Chrome RTL UI Issue Fix $(document).ready(function(){ $(window).load(function() { $( "body" ).animate({ scrollTop: 1 }); }); });
All it does is that it scrolls the page by only 1px
right after all the page elements have been loaded. You can add a code that scrolls it back if you want.
I fixed this problem and I want to share it with you.I think this problem is only for gc on mac os. How to fix it?its really easy. hide you body in your css and then show it when page load and every thing will work.
/*Add this to your css to hide body */ body { display: none; } <!-- Add to your html to js file to show your body again --> $(window).load(function() { // When the page has loaded $("body").show() });
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With