asp.net - CSS div problems with position -


I have a CSS-based asp.net masterpage, I am using straight browse display located on a navigation device. Browsing navigation is flowing behind the navigation device I played around with some situation and found that if I change the navigation position, it fixes it, but everything in that div runs half way down the page. I've done something google and do not know anything about how a div should always be on top. If you need more information then I can provide it.

I have pasted the selected parts of the CSS code below:

  # header2 {height: 2.5em; Border Bottom: 1px # 0055a5 Dashed; Color: #fff; Background color: white; } # Header2 .browse {color: # 000000; Background color: transparent; Swim left; Margin-left: 1am; Margin-Top: 1 AM; font-weight: bold; Font style: normal; Font-type: normal; Font-size: 70%; Line-height: Normal; Font-family: Ariel, Helvetica, Georgia, "Times New Roman", Times, Serif; Width: 144px; Status: fixed; } #Navigation {Background color: white; Width: 200px; Height: 100%; Top: 105px; Left: 0em; Width: 13 AM; Status: Completed; Font-family: aerial, helvetica, sense-serif; Font-size: 90%; From the top, do you have the stack above or above the viewport (i.e., z-point)  

If you mean above the viewport, try the situation: fixed;

Edit, rereading, I think that you mean set the position of the z-index element that you place on top (browse?) Relative, and then z-index Set something like 100, that is,

  status: relative; Z-index: 100;  

should do the trick.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -