troubleshooting Question

HTML question

Avatar of Rickyc1
Rickyc1 asked on
HTML
3 Comments1 Solution201 ViewsLast Modified:
Trying to control a header.  Wrote an asp.net user control which is nothing but an html table and rows are added dynamically based on an ado reader.  The user control is a menu the drops down a list relative to what the user hovers via java script mouseover and mouseout.  Pretty much standard menu stuff.  

What I want to do know is place it on default page in the top center.  The problem I have is when I place it in a table or a div (the user control) the div or table expands to length of the drop down menu.  When this happened everything gets pushed down and the page gets distorted.
How can I keep this from happening?

Below is some code I have to date.



<body class="body">
            <div align="center" id="headerDiv" style= "MARGIN-TOP: 0px; DISPLAY: block; FLOAT: left; WIDTH: 765px; HEIGHT: 67px; BACKGROUND-COLOR: #f2f2f1">
                  <div id="MainHeader">
                        <P><uc1:headermenu1 id="HeaderMenu11" runat="server" ></uc1:headermenu1></P>
                  </div>
            </div>
            <form class="table" id="Form1" method="post" runat="server">
            </form>
      </body>
ASKER CERTIFIED SOLUTION
ahoffmann

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros