Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set page load to black instead of white background?

Link to website:

http://www.ideagang.co/home.php

Is it possible to set the background to black when click from 1 page to another? Right now the website load perfectly with the black background, it's just that when I navigate from one page to another the page flickr for a second.....

Is there anyway to resolve this by setting the background to black when loading page internally?

like image 851
Vincent Chua Avatar asked Nov 07 '25 19:11

Vincent Chua


1 Answers

I believe the most efficient way to accomplish this is to place the background color in the html tag itself in the main document file. Such that

<html lang="en" style="background-color: #111">

With this you can set any background color you want and it should work.

like image 121
Abernathy Avatar answered Nov 10 '25 16:11

Abernathy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!