BookmarkSubscribeRSS Feed
TomA
Calcite | Level 5

Hi,

     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 ? 

  Thanks  Tom

1 REPLY 1
jcbell
Obsidian | Level 7

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:

div#nav

    {

    float:                  right;

    width:                  125px;

    margin-right:           10px;

    margin-left: -25px;

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.

-John

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 758 views
  • 0 likes
  • 2 in conversation