Forum Moderators: not2easy

Message Too Old, No Replies

CSS + Drop down lists

Strange scrolling (or not) problem

         

giggle

4:29 am on Jan 23, 2006 (gmt 0)

10+ Year Member



Hi

I have a page central to our whole website that has two drop down lists. Sometimes they work fine and othertimes, when you click on the scroll bar, it refuses to move!

You can click on one of the options and use the mouse scroll button on the mouse to scroll through the list.

I'm concerned that customers, frustrated at not being able to scroll through are turning away.

Anyone had this problem before? Any ideas on how to sort it out?

Thanks

Mick

Robin_reala

12:54 pm on Jan 23, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Which browser? Can you supply some sample code?

giggle

3:12 am on Jan 24, 2006 (gmt 0)

10+ Year Member



Hi Robin

Sorry, on Bangkok time, missed your response last night.

The code looks like this:

<div id="BoxPUL">
Pick Up Location
<SELECT name="ddmPickUpLocation" size=7 style="color:#006600;width:15em" onClick="search(document.WhatToDo);return false">
<%
For intLoc = 1 to intAllCnt
AllCountryLocations(intLoc) = strCookiePULocation Then strSel = "SELECTED" Else strSel = ""
Response.Write "<OPTION "& strSel &" VALUE = '" & AllCountryLocations(intLoc) & "'>" & AllCountryLocationsNames(intLoc) & "</OPTION>"
Next
%>
</select>
</div>

And the CSS for the DIV looks like:

#BoxPUL
{
BACKGROUND: #CCEEFF;
FONT-WEIGHT: normal;
FONT-SIZE: small;
FLOAT: left;
WIDTH: 15em;
HEIGHT: 130px;
COLOR: blue;
FONT-FAMILY: Courier;
POSITION: static;
BORDER-STYLE: dashed;
BORDER-WIDTH: thin;
PADDING: 9px 9px 9px 9px;
MARGIN: 3px 3px 3px 3px
}

The end result, while it looks fine, can be a nightmare to navigate...

Thanks for any help.

Mick

p.s. I've just noticed that it works if you click on the very (last pixel) right hand end of the scroll bar...