Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP.Net menu

Status
Not open for further replies.

Rhys666

Programmer
May 20, 2003
1,106
I'm using an ASP.Net menu control in a CSS controlled layout web application. The menu control and datasource are in a div in the Master page.

The problem I'm having is the menu items displaying underneath the controls in the Content Page and I don't seem to be getting anywhere by tring to set the z-index of items, (although I havn't gone completely gone down the tree of controls rendered by the .net framework yet). I'm also only looking at in IE 6 at the moment due to work constraints but will give it a go in Firefox tomorrow to see how it renders but in the meantime, has anyone else encountered this, have you found a way around it and if so how?

It's starting to drive me quite insane now so any help or pointers are greatfully appreciated...

...cheers!

Rhys
The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense Edsgar Dijkstra

Church of the Flying Spaghetti Monster
 
Not sure if this is the same issue, but form elements (text boxes and such) have the highest Z on a page. So a layer will go under them, no matter what you set the Z of the layer to. The only work around I am aware of (short of designing you page so that they do no overlap) is to hide the control when the layer is visible. You would accomplish this with Javascript.
 
you could try floating the menu left and the content right.

Since you're using javascript to style this you may also want to check out they make CSS and asp.net very easy.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
mbiro
I'm not sure that is the case as I also have a SiteMapPath control in the Master page and I've got the menu control to appear over the top of the breadcrumb links rendered.

[jmeckley]
I'll have a scan at that, cheers.

Rhys
The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense Edsgar Dijkstra

Church of the Flying Spaghetti Monster
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top