03-07-2012 11:22 AM
I have a graph that is created with ODS. In the TITLE section, I have a selection box that drops down, and a calendar that can be displayed to select dates from.
The selection box drops down over the top of the graph below it, as it should, but the DIV that the calendar opens in, is partially covered by the DIV that the graph is in.
I've tried setting the position to 'absolute', and set the z-index to 9, to try to ensure that the calendar will display in the forefront, but have had no luck. Would anyone
know what else I might try ?
03-09-2012 09:03 AM
You first need to ensure your divs are laid down in the correct order. Make sure the SAS/Graph div is first - followed by the calendar DIV. The second step would be to position the divs correctly. You may or may not need this step.
You may need to slide the other div on top of the SAS/Graph div by moving the margin. Something like this:
The negative margin will move the DIV - you'll need to play with the movement to get the right overlap. I'd use an html editor with WSWIG to play with the margins and creation of the divs until you get the action required. You can then go back to SAS to re-create the HTML as needed.