Computing.Net > Forums > Web Development > Positioning a Search form on webpag

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

Reply to Message Icon

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...



Sponsored Link
Ads by Google

Response Number 1
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

Allam Rahmeh


0
Reply to Message Icon

Related Posts

See More


php/mysql help ASP 0201 error



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Positioning a Search form on webpag

search form on site only - how to?? www.computing.net/answers/webdevel/search-form-on-site-only-how-to/2444.html

how do I create a search option www.computing.net/answers/webdevel/how-do-i-create-a-search-option-/3057.html

Pass Hyperlink ID to a New Pg Form www.computing.net/answers/webdevel/pass-hyperlink-id-to-a-new-pg-form/1545.html