473,386 Members | 1,886 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Make content move when menu is opened

347 100+
I have a menu set within my main top menu bar that id not main menu and would like the content of my page to move down when the menu is opened and not go over the top.

http://www.yaketyyakallmouth.com/flu...ysz.asp?id=All

css for menu
Expand|Select|Wrap|Line Numbers
  1. #nav {
  2.     width: 1200px;
  3.     margin: 0 auto;
  4.     padding: 0px;
  5.     text-align: center;
  6.     font-size: 14px;
  7. }
  8. #nav li {
  9.     display: inline;
  10. }
  11. #nav a {
  12.     font-size: 22px;
  13.     margin: 10px;
  14.     color: #cc0000;
  15. }
  16. #nav a:hover {
  17.     color: #A3B713;
  18. }
  19. #nav ul a {
  20.     font-size: 18px;
  21.     width: 200px;
  22.     color: #ef007b;
  23. }
  24. #nav ul a:hover {
  25.     color: #666;
  26. }
  27.  
  28. ul{
  29.     list-style-type: none;
  30.     margin:0;
  31.     padding:0;
  32.     overflow:hidden;
  33. }
  34. #nav ul {
  35.     display:none;
  36.     position:absolute; 
  37.     top:100%; 
  38.     width: 1200px;
  39.       }
and content

Expand|Select|Wrap|Line Numbers
  1.  
  2. #artists {
  3.     clear: both;
  4.     width: 75%;
  5.     padding: 5px;
  6.     padding-top: 20px;
  7.     padding-left: 320px;
  8.     margin-right: 50px;
  9.     /*background-color:#3C6;*/
  10. }
  11.  
  12. #content {
  13.     width: 100%;
  14.     padding-top: 90px;
  15.     position:absolute;
  16.     /*padding-right: 180px;*/
  17.     margin: 0 auto;
  18.     /*background-color:#F00;*/
  19. }
its a basic UL menu

hope someone can help
Jun 14 '13 #1
2 1628
I just made an account, and think I can help if you haven't already solved the problem.
Jun 23 '13 #2
colinod
347 100+
still looking for a way but page has now changed to here

http://www.yaketyyakallmouth.com/flu...oys.asp?id=All
Jun 25 '13 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Tamir Kamara | last post by:
Hi, I have a page with several server controls (textboxes, datagrid, ...) which are positioned absolutely from the right of the page (like RIGHT: 25px; POSITION: absolute;). that works well if...
1
by: John | last post by:
Hi, I'm having a problem opening / downloading csv files when called from a page opened with window.showModalDialog( ). To isolate this problem, I've written 3 files (see below). 1. main.htm...
10
by: Adrian | last post by:
Hi simple question I hope!! Using the menu designer I have a file menu and an options menu with sub items... I have added a Help menu and want it on the right-hand side away from the other menu...
2
by: l!m!t | last post by:
Hello, I hope somebody can help me I have been at this for hours. I am new to JavaScript. I need a script to show a layer of hidden content only when on a certain URL. I have searched and...
0
by: test2000 | last post by:
Hello On my blog I have a vertical line that is separating the content from the sidebar. This line is going all the way down until the bottom of the page if the content is longer than the...
4
by: Anna97 | last post by:
Hi, I guess I've built my site sort of strangely: The images are in the html (using tables), but the text is all in css positioned using coordinates (hovering over the images). I need my page...
0
by: Aneesh Pulukkul [http://dotnet-revolutions.blogspo | last post by:
I have a requirement- need to display RTF content in context menu. I am able to host a rich textbox in a contextmenu strip using ToolStripControlHost class. But assigning some RTF content to the...
8
by: Adam Cochran | last post by:
I am currently working on a site for a client which can be found on my dev site http://www.adamcochran.info/I-Gard/ The problem I am having is I have placed the Images using absolute div's...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.