without using floats or tables how can i get this to stay on the same line.. <a href="#" onclick="return display_select('tour');">Tour</a> <span id="tour" style="display: none;"> <select><option>Tour</option></select> </span> currently when u click the word tour it brings up a select box, but on the line below, i need it on the same line.. see here... http://forums.digitalpoint.com/showthread.php?t=171094
Hi red_fiesta - not stalking you, honest. The problem is that your javascript is setting the display to block. It should be <script type="text/javascript"> <!-- function display_select(id) { var objects = new Array('env', 'lei', 'tour'); for (var i in objects) { var element = document.getElementById(objects); element.style.display = element.id == id ? 'inline' : 'none'; } return false; } //--> </script>