Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Positioning a Search form on webpag
Name: josephbupe Date: February 4, 2008 at 00:17:48 Pacific OS: Windows XP CPU/Ram: Intel 256 Product: Intel
Comment:
Hello everyone!
I have a website but some visitors have said my search box can't desplay in position. They say it overlaps other elements on my page.
Can someone be kind to analyse the codes and advise me on how i can have the Search Form centered? At now it is within the <DIV>. I used the WebBuilder 4 for coding most website elements and imported the Search form.
True measure of life is the amount of love you leave behind...
Name: allam_rahmeh Date: February 15, 2008 at 11:24:18 Pacific
Reply:
That is because the visitors use different screen resolution. You can use this java script code to force the visitors to change there local screen resolution setting
Place this code at the header of the page .
<script> function check(){ if ((navigator.appVersion.indexOf("4.") != -1) && (navigator.appName.indexOf("Netscape") != -1) || (navigator.appVersion.indexOf("4.") != -1) && (navigator.appName.indexOf("Explorer") != -1)){ size = screen.width + "x" + screen.height; if (size == "800x600"){ top.location = "note.htm"; } } } </script>
Then create an ststic page with name "note.htm" Contain a simple text informing the visitors to change there screen resolution
Summary: can anyone help me, I would like to put a search option on my website so people can type in a word and it will direct them to the most appropriate item or page. Is there an easy way to do this with c...
Summary: This is kind of a complex question. What I want to do is have a page with a list of item numbers which are hyperlinks. I want to be able to click one of the hyperlink item numbers and pass the item nu...