Reducing the menu background to cover just three columns.

I have the following code as part of my css file.
					#nav ul li div.drop_nav.destinations, #nav ul li div.drop_nav.destinations:hover {
						/*width: calc(418% + 12px);*/
						width: 387%;
						padding: 0 13px 21px;
						background-position: calc((((60% - 12px)/8) - 10px)) 0;
						left: 0;
						margin-left: 0;
					}
                                        #nav ul li div.drop_nav.destinations ul li {width: 20%;}
					
					#nav ul li div.drop_nav ul li.nav1 { left: 0; padding: 0 10px; }
					#nav ul li div.drop_nav ul li.nav2 { left: 20%; padding: 0 10px; }
					#nav ul li div.drop_nav ul li.nav3 { left: 40%; padding: 0 10px; }#nav ul li div.drop_nav.destinations ul li ul li {
						padding: 2px 0;	
						width: 100%;
					}
					#nav ul li div.drop_nav.destinations ul li ul li a {
						text-transform: none;
						font-weight: 400;
						border: none;
						margin-top: 0;
						/*background: url(../../images/res/bullet_white.png) left center no-repeat;*/
						padding: 0;
					}
					#nav ul li div.drop_nav.destinations, #nav ul li div.drop_nav.destinations:hover  {
		width: calc(387% + 12px);
		background-position: calc((((100% - 12px)/8) - 50px)) 0;
	}

Open in new window

 I only want the menu to cover the three columns. See attached file for picture.  What should I change?
screenshot.jpg
mmathis32Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
Try making the gray area inline-block instead of block.
0
mmathis32Author Commented:
That didn't work.
0
Julian HansenCommented:
Then without being able to see the source in action - can't really assist.

We have practically no source code, no styling and the only context is a screen shot.

Either you need to post your styling and source or (preferably) give us a link  to the page.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

mmathis32Author Commented:
The page is avatarglobaltravel.com and I've attached the styling.
us-app.css
rs-custom.css
0
Julian HansenCommented:
That menu is being modified with JavaScript. The script changes this
<div class="drop_nav destinations">

Open in new window

To this
<div class="drop_nav destinations" style="width: 1024px; min-height: 443px; left: 0px; background-position: 20px 0px;">

Open in new window

Notice the hard coded width in the style.
Whatever you do is going to be superseded by that.
0
mmathis32Author Commented:
where are you finding this?
0
Julian HansenCommented:
On the page you provided the link to. If you hover over Islands - the gray submenu panel comes up. Do an inspect element on that takes you to what I posted above.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mmathis32Author Commented:
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.