Try to search your question here, if you can't find : Ask Any Question Now ?

Google search box needs to be moved to the middle of the screen (X:0 Y:0)

HomeCategory: stackoverflowGoogle search box needs to be moved to the middle of the screen (X:0 Y:0)
Avatarbhawya asked 5 months ago

I am making a website in order to create a chrome new-tab extension, so to make that I need a search bar – My google search bar is in the top left corner of the page and I need it in the middle, sort of like the google home page search bar.

I have researched on websites such as and and could not find much

this is my current code:

<form method="get" action="">

<div style="border:2px solid black;padding:16px;width:60em;">
<table border="0" align="center" cellpadding="0">
<input type="text"   name="q" size="100" style="color:#808080;"
maxlength="255" value="Google site search"
onfocus="if(this.value==this.defaultValue)this.value='';'black';" onblur="if(this.value=='')this.value=this.defaultValue; "/>
<input type="submit" value="Go!" />
<input type="hidden" name="sitesearch"/></td></tr>

the output is that the search box (as stated above) the box is in the corner.

1 Answers
Best Answer
AvatarFernando answered 5 months ago
Your Answer

14 + 11 =

Popular Tags

WP Facebook Auto Publish Powered By :