We help IT Professionals succeed at work.

menu pushes links down

jagguy
jagguy asked
on
199 Views
Last Modified: 2014-05-08
Hi,

How can I get the sub menu on about us link on left to display properly?
If the browser resizes the submenu doesnt dtay in place and it pushes the other links down whichI dont want.


http://www.mymrt.net/hugh/home2.php

/* sub menu*/
 ul#vertmenu li ul {
 	display: none;
        color:#fff;
        background:#666;
        position: relative; //tried absolute
        left: 200px;
        overflow: hidden;
 }
 
 ul#vertmenu li:hover ul {
        display: block;   
    }
 
 .more{
        display:none;
    }

Open in new window

Comment
Watch Question

Scott FellDeveloper
CERTIFIED EXPERT
Fellow
Most Valuable Expert 2013

Commented:
You have those items hidden already based on the media queries.  Where is it pushing down?

@media screen and (max-width: 480px) {
		 body{
          font-size: 1em; 
      	  line-height:150%;
       
	  }
	 
	 #mainContent {
	color:black; 
	 text-align:left; 
	  margin-right:5%;
	 margin-left:5%;
 }
		ul#navcontainer {
		display:none;
	}

Open in new window

/* FOR MOBILE RESOLUTIONS */
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {
		
			 body{
          font-size: 1em; 
      	  line-height:150%;
       
	  }
	 
	 #mainContent {
	color:black; 
	 text-align:left; 
	 width:100%; 
          
 }
	 
	   #nav-status {
        display: block;
        width: 100%;
        height: 50px;
        padding: 2px;
        background: #000;
        color: #FFF;   
    }
	
	ul#navcontainer {
	display:none;
	}
	

Open in new window

Author

Commented:
put the mouse on the about us on left menu and see the sub menus come up.
The link below about us 'dye colors gets pushed down and i hate this look.
Scott FellDeveloper
CERTIFIED EXPERT
Fellow
Most Valuable Expert 2013

Commented:
The screenshot is from mac/chrome.  I also tested on mac/firefox and windows 7/ie 11 and can't reproduce it.
screenshot
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Scott FellDeveloper
CERTIFIED EXPERT
Fellow
Most Valuable Expert 2013

Commented:
Can you please point to the post with the correct answer.

Author

Commented:
solved elsewhere on another post

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.