Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 16th, 2005, 03:54 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default windowed object select shows through div

.demo {color:#000033; background-color:<%=bgCol%>; layer-background-color:#cccccc; position:absolute; bottom:10px; width:700px; height:100px; visibility:hidden; z-index:5}

<select name="pre" class="drop" tabindex="" onchange="javascript: sortLeg1(this.options[this.selectedIndex].value)" style=" position: absolute; z-index:9;">
....options........
</select>

<div id="demodiv" class="demo">
<table>
<tr>
<td><b>Rules</b></td>
</tr>
<tr>
<td><b>Heading</b></td>
<td><b>Content</b></td>
</tr>
</table>

i have a problem with this onMouseOver.
It seems to have something to do with select being a windowed object.
the div (onMouseover) does not cover the select boxes, they show through.
is there a way around this?

www.crmpicco.co.uk
www.crmpicco.co.uk.tt
www.milklemonadechocolate.uk.tt
www.griswolds.uk.tt
www.piccosmini.co.uk.tt
www.morton.uk.tt
__________________
_______________________
Ayrshire Minis - a Mini E-Community
http://www.ayrshireminis.com
http://www.crmpicco.co.uk
 
Old August 17th, 2005, 01:50 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

http://p2p.wrox.com/topic.asp?TOPIC_ID=23305

--

Joe (Microsoft MVP - XML)





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to center text/image/any object into a div beetle_jaipur BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 3 January 24th, 2013 01:25 PM
Disabling Content in a DIV or TR Object. alapati.sasi Javascript How-To 0 November 10th, 2008 04:57 AM
z-index problem with select showing through div crmpicco CSS Cascading Style Sheets 3 July 4th, 2008 07:00 AM
Check if Div Layer/Object Exists lian_a Javascript How-To 5 April 23rd, 2008 01:53 AM
Select 'DIV' ?? Frankb52258 SQL Server 2005 3 February 9th, 2007 01:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.