Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

blank space on google home page

Tags:

html

2 questions, i was doing nothing productive, and tried selecting the google home page (a left click drag and select whole page) on google.com

i see that beside the search box, on the left side, there is an empty space &nbsp; i looked up the source code and there indeed was a <td width=25%>&nbsp;</td> stupid as it may sound, but i was still curious to know why the blank space is out there..or is it just a simple typo?? :)

also, any idea what window.lol&&lol() does? curious yet again, google search didnt get me any result and i thought i would turn to stackoverflow to enlighten me...

thanks, ivar

like image 224
topgun_ivard Avatar asked May 24 '10 03:05

topgun_ivard


People also ask

Why is Google's home page blank?

The first thing to do is to clear the cache and cookies of the browser. Most of the time this solves your problem so try to clear the cache first and then start following the methods.

How do I get rid of the white box on Chrome?

Try disabling hardware acceleration to see if it works. To do that, go to chrome://settings/system and toggle the second option under System that says 'Use Hardware acceleration when available'. See if it helps solve your issue.


2 Answers

i see that beside the search box, on the left side, there is an empty space   i looked up the source code and there indeed was a   stupid as it may sound, but i was still curious to know why the blank space is out there..or is it just a simple typo?? :)
This is probably to ensure that the row containing that cell has the minimum height of the height of a line. Perhaps the search bar [which is on the same table row as the cell specified in your question] is sized to 100% of the height of its containing cell?

also, any idea what window.lol&&lol() does? curious yet again, google search didnt get me any result and i thought i would turn to stackoverflow to enlighten me...
If window.lol is defined [and it isn't] the lol is called.

like image 76
Warty Avatar answered Oct 06 '22 20:10

Warty


For the first part, its probably just a spacer cell to help with layout.

for the second part, that checks that the lol function exists in global scope and evaluates the result of it if it does exist. otherwise it never gets to executing the function thus preventing an error.

to clarify if you have the following:

if (window.lol)

this evaluates to true if lol exists in global scope.

if (lol())

this evaluates the result of lol as a boolean

put them together and its just a slightly more complex boolean evaluation

like image 36
Darko Z Avatar answered Oct 06 '22 19:10

Darko Z