how can i add a selectbox over an image ?

Posted on 2004-11-11
Medium Priority
Last Modified: 2010-04-06
how can i add a selectbox over an imge just like adding a image map over an exicting image.
Check this page www.vanwest.com, i want to move the selectbox found at the bottom of the page and move it at the top beside the contactus link.
Question by:Melfeky
  • 2
LVL 12

Accepted Solution

minichicken earned 1000 total points
ID: 12563214

You can make the image as the table background and just create a form over it. Like this:

<table width="100%"  border="0" cellspacing="5" cellpadding="0" background="http://www.experts-exchange.com/images/certification.gif">
    <td width="80%" align="right" valign="top" nowrap><form name="form1" method="post" action="">
      <select name="select">
        <option>value 1</option>
        <option>value 2</option>
        <option>value 3</option>
    <td width="20%" height="135" valign="top" nowrap><a href="#">contact us</a> | <a href="#">agents</a> | <a href="#">downloads</a> </td>
LVL 53

Assisted Solution

COBOLdinosaur earned 1000 total points
ID: 12570109
change this:
    <td width="190" rowspan="2" valign="top"><img src="images/image_vancouver.jpg" width="190" height="290"></td>

    <td width="190" rowspan="2" valign="top">
    <form style="display:inline">
    <fieldset style="background-image:url(images/image_vancouver.jpg);width:190px;height:290px;
      <select name="events" id="events" onChange="MM_jumpMenu('parent',this,1)">
         <option selected>Choose an Event</option>      
         <option value="calendar/october_2004/october_04.html">October 2004 Activity</option>

LVL 53

Expert Comment

ID: 12574558
Glad we could help.  Thanks for the A. :^)


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question