View Single Post
  #4 (permalink)  
Old May 29th, 2010, 10:36 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Quote:
Not sure as to what you mean here...Sorry!
Change the syle to this, load the page in the browser and press Ctrl+F5 to refresh. Do you see a red border somewhere?

Code:
 
.DynamicMenuStyle
{
  z-index: 1000;
  border: 3px solid red; 
}
z-index is certainly valid so either VS is confused, or you set the validation scheme to someting non-CSS. Use the Target Schema on the HTML Formatting toolbar and set it to something like XHTML 1.0 Transitional.

Hope this helps,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote