Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 29th, 2010, 05:46 AM
Authorized User
 
Join Date: Apr 2010
Posts: 18
Thanks: 7
Thanked 0 Times in 0 Posts
Default Menu white space again

Hi Imar,

I've followed the instructions regarding this but I don't seem to be getting anywhere. I've tried using this:

<DynamicMenuStyle CssClass="DynamicMenuStyle" /> (in master)

And

.DynamicMenuStyle
{
z-index: 1000;
}

in monochrome.css

and I'm getting a pop up saying:
z-index is not a known css property name

I've also tried downloading the patches but then I get a message saying that it does not apply to this system.

I'm totally at a loss now. Hope you can help.

Bill
Reply With Quote
  #2 (permalink)  
Old May 29th, 2010, 07:09 AM
Imar's Avatar
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:
I'm totally at a loss now. Hope you can help.
I might be able to, if you're more specific. I can ask hundreds of questions that are relevant to the topic. For example:

1, What do you mean with " I'm getting a pop up"? A dialog popping up? Where? In the browser? In Visual Studio? Or do you mean a warning in the VS Error List?

2. Which browser are you using? Does the menu look good in other browsers?

3. Which OS are you using? And which version of the .NET Framework?

4. Are you sure the style is not applied? What happpens when you add: border: 3px solid red; to the dynamic style and do a hard refresh (Ctrl+F5). Is the border applied then?

And so on and so forth.... ;-)

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
  #3 (permalink)  
Old May 29th, 2010, 08:50 AM
Authorized User
 
Join Date: Apr 2010
Posts: 18
Thanks: 7
Thanked 0 Times in 0 Posts
Default

Hi Imar,

1, What do you mean with " I'm getting a pop up"? A dialog popping up? Where? In the browser? In Visual Studio? Or do you mean a warning in the VS Error List?

When I edit the file monochrome.css in VWD, it is underlined with a red zig zag line. When I hover the mouse over it I get a yellow box stating z-index is not a known property name".

2. Which browser are you using? Does the menu look good in other browsers?

The menu is a plain white box in both IE8 and Firefox.

3. Which OS are you using? And which version of the .NET Framework?

Vista Home premium and VWD 3.5

4. Are you sure the style is not applied? What happpens when you add: border: 3px solid red; to the dynamic style and do a hard refresh (Ctrl+F5). Is the border applied then?

Not sure as to what you mean here...Sorry!

Cheers Bill
Reply With Quote
  #4 (permalink)  
Old May 29th, 2010, 10:36 AM
Imar's Avatar
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
  #5 (permalink)  
Old May 29th, 2010, 01:16 PM
Authorized User
 
Join Date: Apr 2010
Posts: 18
Thanks: 7
Thanked 0 Times in 0 Posts
Default

Hi Imar,

I am now seeing white boxes surrounded by a heavy red border below "Reviews" and "About" as discussed. I'm getting this in both IE8 and Firefox. Its not complaining about "z-index" now in VWD. Still no text I'm afraid.

Bill
Reply With Quote
  #6 (permalink)  
Old May 29th, 2010, 02:35 PM
Imar's Avatar
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

Can you post the full HTML of the final page in the browser and the code of the CSS file(s)?

Also, does the menu look good for you on the 3.5 version of www.planetwrox.com?

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
  #7 (permalink)  
Old May 29th, 2010, 03:21 PM
Authorized User
 
Join Date: Apr 2010
Posts: 18
Thanks: 7
Thanked 0 Times in 0 Posts
Default

Hi Imar,

The menus look fine on plantet wrox .com in my browser. Here is source code.

--------------------------------------------------------------------------

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>
Home Page
</title>
<link href="App_Themes/Monochrome/Monochrome.css" type="text/css" rel="stylesheet" /><style type="text/css">
.ctl00_Menu1_0 { background-color:white;visibility:hidden;display:none;positio n:absolute;left:0px;top:0px; }
.ctl00_Menu1_1 { text-decoration:none; }
.ctl00_Menu1_2 { }
.ctl00_Menu1_3 { }
.ctl00_Menu1_4 { }
.ctl00_Menu1_5 { }

</style></head>
<body>
<form name="aspnetForm" method="post" action="Default.aspx" id="aspnetForm">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTY1NDU2MTA1Mg9kFgJmD2QWAgIDD2QWBAIDDzwrAA0 CAA8WAh4LXyFEYXRhQm91bmRnZAwUKwAFBQ8wOjAsMDoxLDA6M iwwOjMUKwACFhIeBVZhbHVlBQRIb21lHglEYXRhQm91bmRnHgh TZWxlY3RlZGceBFRleHQFBEhvbWUeC05hdmlnYXRlVXJsBQ0vR GVmYXVsdC5hc3B4HgdFbmFibGVkZx4KU2VsZWN0YWJsZWceB1R vb2xUaXAFEkdvIHRvIHRoZSBob21lcGFnZR4IRGF0YVBhdGgFD S9kZWZhdWx0LmFzcHhkFCsAAhYQHwQFB1Jldmlld3MfAQUHUmV 2aWV3cx8FBRUvUmV2aWV3cy9EZWZhdWx0LmFzcHgfCAUeUmV2a WV3cyBwdWJsaXNoZWQgb24gdGhpcyBzaXRlHwZnHwdnHwkFFS9 yZXZpZXdzL2RlZmF1bHQuYXNweB8CZxQrAAMFBzA6MCwwOjEUK wACFhAfBAUIQnkgR2VucmUfAQUIQnkgR2VucmUfBQUYL1Jldml ld3MvQWxsQnlHZW5yZS5hc3B4HwgFHEFsbCBSZXZpZXdzIEdyb 3VwZWQgYnkgR2VucmUfBmcfB2cfCQUYL3Jldmlld3MvYWxsYnl nZW5yZS5hc3B4HwJnZBQrAAIWEB8EBQtBbGwgUmV2aWV3cx8BB QtBbGwgUmV2aWV3cx8FBREvUmV2aWV3cy9BbGwuYXNweB8IBQt BbGwgUmV2aWV3cx8GZx8HZx8JBREvcmV2aWV3cy9hbGwuYXNwe B8CZ2QUKwACFhAfBAUFQWJvdXQfAQUFQWJvdXQfBQUTL0Fib3V 0L0RlZmF1bHQuYXNweB8IBQ9BYm91dCB0aGlzIFNpdGUfBmcfB 2cfCQUTL2Fib3V0L2RlZmF1bHQuYXNweB8CZxQrAAMFBzA6MCw wOjEUKwACFhAfBAUKQ29udGFjdCBVcx8BBQpDb250YWN0IFVzH wUFEy9BYm91dC9Db250YWN0LmFzcHgfCAUKQ29udGFjdCBVcx8 GZx8HZx8JBRMvYWJvdXQvY29udGFjdC5hc3B4HwJnZBQrAAIWE B8EBQhBYm91dCBVcx8BBQhBYm91dCBVcx8FBRMvQWJvdXQvQWJ vdXRVcy5hc3B4HwgFCEFib3V0IFVzHwZnHwdnHwkFEy9hYm91d C9hYm91dHVzLmFzcHgfAmdkFCsAAhYQHwQFBUxvZ2luHwEFBUx vZ2luHwUFCy9Mb2dpbi5hc3B4HwgFF0xvZyBpbiB0byB0aGlzI HdlYiBzaXRlHwZnHwdnHwkFCy9sb2dpbi5hc3B4HwJnZGQCCQ8 QZGQWAWZkGAEFC2N0bDAwJE1lbnUxDw9kBQRIb21lZMRGRZUH9 BS4y7kviUGT/sYQYr1r" />

</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['aspnetForm'];
if (!theForm) {
theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>


<script src="/WebResource.axd?d=z-XpvNHb6f13tlz9BnY8aQ2&amp;t=633739885393582448" type="text/javascript"></script>


<script src="/WebResource.axd?d=mQ_2HVjpoe7-fA37qsdWKw2&amp;t=633739885393582448" type="text/javascript"></script>
<div>

<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBAKDhb6/CwLlh5KuCQL77aOhAwLhg4f+Co57Z8jQpQjuKHuZ7RQjBFvJ5D TM" />
</div>

<div id= "PageWrapper">
<div id= "Header">Header goes here<a href="./" class="HeaderLink"></a></div>
<div id= "MenuWrapper">
<a href="#ctl00_Menu1_SkipLink"><img alt="Skip Navigation Links" src="/WebResource.axd?d=sO_e03zm0YIL1OWwHmhY8A2&amp;t=63 3739885393582448" width="0" height="0" style="border-width:0px;" /></a><table id="ctl00_Menu1" class="MainMenu ctl00_Menu1_2" cellpadding="0" cellspacing="0" border="0">
<tr>
<td onmouseover="Menu_HoverStatic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Go to the homepage" id="ctl00_Menu1n0"><table class="ctl00_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap;"><a class="ctl00_Menu1_1 ctl00_Menu1_3" href="/Default.aspx">Home</a></td>

</tr>
</table></td><td style="width:10px;"></td><td style="width:10px;"></td><td onmouseover="Menu_HoverStatic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Reviews published on this site" id="ctl00_Menu1n1"><table class="ctl00_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap;"><a class="ctl00_Menu1_1 ctl00_Menu1_3" href="/Reviews/Default.aspx">Reviews</a></td>
</tr>
</table></td><td style="width:10px;"></td><td style="width:10px;"></td><td onmouseover="Menu_HoverStatic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="About this Site" id="ctl00_Menu1n2"><table class="ctl00_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap;"><a class="ctl00_Menu1_1 ctl00_Menu1_3" href="/About/Default.aspx">About</a></td>

</tr>
</table></td><td style="width:10px;"></td><td style="width:10px;"></td><td onmouseover="Menu_HoverStatic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Log in to this web site" id="ctl00_Menu1n3"><table class="ctl00_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap;"><a class="ctl00_Menu1_1 ctl00_Menu1_3" href="/Login.aspx">Login</a></td>
</tr>
</table></td><td style="width:10px;"></td>
</tr>
</table><div id="ctl00_Menu1n1Items" class="ctl00_Menu1_0 DynamicMenuStyle ctl00_Menu1_5">
<table border="0" cellpadding="0" cellspacing="0">

<tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="All Reviews Grouped by Genre" id="ctl00_Menu1n4">
<td><table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap;width:100%;"><a class="ctl00_Menu1_1" href="/Reviews/AllByGenre.aspx">By Genre</a></td>
</tr>
</table></td>
</tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="All Reviews" id="ctl00_Menu1n5">
<td><table cellpadding="0" cellspacing="0" border="0" width="100%">

<tr>
<td style="white-space:nowrap;width:100%;"><a class="ctl00_Menu1_1" href="/Reviews/All.aspx">All Reviews</a></td>
</tr>
</table></td>
</tr>
</table><div class="ctl00_Menu1_0" id="ctl00_Menu1n1ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
<img src="/WebResource.axd?d=2cIN_y3VbQQEUxt0d9q7WFtbzrUmZCVm _vE5FWViolM1&amp;t=633739885393582448" alt="Scroll up" />
</div><div class="ctl00_Menu1_0" id="ctl00_Menu1n1ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">

<img src="/WebResource.axd?d=VuW5e84Qa5zhSRAHRezOBW3Ai617i3Jn CUzMIKfq96M1&amp;t=633739885393582448" alt="Scroll down" />
</div>
</div><div id="ctl00_Menu1n2Items" class="ctl00_Menu1_0 DynamicMenuStyle ctl00_Menu1_5">
<table border="0" cellpadding="0" cellspacing="0">
<tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Contact Us" id="ctl00_Menu1n6">
<td><table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap;width:100%;"><a class="ctl00_Menu1_1" href="/About/Contact.aspx">Contact Us</a></td>
</tr>

</table></td>
</tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="About Us" id="ctl00_Menu1n7">
<td><table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap;width:100%;"><a class="ctl00_Menu1_1" href="/About/AboutUs.aspx">About Us</a></td>
</tr>
</table></td>
</tr>

</table><div class="ctl00_Menu1_0" id="ctl00_Menu1n2ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
<img src="/WebResource.axd?d=2cIN_y3VbQQEUxt0d9q7WFtbzrUmZCVm _vE5FWViolM1&amp;t=633739885393582448" alt="Scroll up" />
</div><div class="ctl00_Menu1_0" id="ctl00_Menu1n2ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
<img src="/WebResource.axd?d=VuW5e84Qa5zhSRAHRezOBW3Ai617i3Jn CUzMIKfq96M1&amp;t=633739885393582448" alt="Scroll down" />
</div>
</div><a id="ctl00_Menu1_SkipLink"></a>

</div>
<div id= "MainContent">

<h1>

Hi there visitor and welcome to Planet Wrox</h1>
<p class="Introduction">
We're glad you're paying a visit to <a href="http://www.PlanetWrox.com">
www.PlanetWrox.com</a>, the coolest music community site on the Internet.
</p>
<p class="Introduction">
Feel free to have a <a href="Default.aspx">look around</a>; as there are lots of
interesting <b>reviews and concert pictures</b> to be found here.

</p>
<p class="Introduction">
You can <a href="Login.aspx">log in</a> here!</p>

</div>
<div id="SideBar">Select a Theme
<select name="ctl00$lstPreferredTheme" onchange="javascript:setTimeout('__doPostBack(\'ct l00$lstPreferredTheme\',\'\')', 0)" id="ctl00_lstPreferredTheme">
<option selected="selected" value="Monochrome">Monochrome</option>

<option value="DarkGrey">DarkGrey</option>

</select>
</div>
<div id= "Footer">Footer goes here</div>
</div>


<script type="text/javascript">
//<![CDATA[
var ctl00_Menu1_Data = new Object();
ctl00_Menu1_Data.disappearAfter = 500;
ctl00_Menu1_Data.horizontalOffset = 0;
ctl00_Menu1_Data.verticalOffset = 0;
//]]>
</script>
</form>
</body>

--------------------------------------------------------------------------

and here is css file monochrome css.

--------------------------------------------------------------------------

*
{
font-family: Arial, Sans-Serif;
}

body
{
/*
Clears white space around the body except for the top which gets 10 pixels.
*/
margin: 10px 0 0 0;
}

a
{
/*
Clears the underline on normal links, and give them #308462 as the color.
*/
color: #308462;
text-decoration: none;
}

a:hover
{
/*
Underlines links when the users hover the mouse over them.
*/
text-decoration: underline;
}

h1
{
/*
Makes h1 elements smaller than their browser default.
*/
font-size : 20px;
}

.Introduction
{
font-style: italic;
color: #003399;
}

#PageWrapper
{
/*
Sets the total width for the entire page.
*/
width: 844px;
background-color: #cccccc;
}

#Header
{
/*
Gives the header the same width as the PageWrapper. The height creates some room for the logo
that is set with the background-image.
*/
background-image: url(Images/Header.jpg);
width: 844px;
height: 86px;
}

.HeaderLink
{
/*
The #HeaderLink is nested in the #Header. It provides a link to the homepage.
*/
width: 844px;
height: 86px;
display: block;
}

#MenuWrapper
{
/*
The menu spans the page width, right below the header.
At the top and left a few pixels padding is applied to create some room.
*/
background-image: url(Images/MenuBackground.jpg);
width: 827px;
height: 36px;
padding-top: 7px;
padding-left: 17px;
}

#MenuWrapper a
{
/*
Links in the Menu are white. This gets overriden by styles in chapter 7.
*/
color: #fff;
}

.MainMenu
{
/*
The Menu gets a white border on all four sides.
*/
border: 1px solid white;
width: 814px;
height: 19px;
background-color : #cccccc;
}

#MainContent
{
/*
Defines the main content area. The #MainContent element has a minimum height of 500 pixels, but can grow if necessary.
The font-size is 80% of its parenty element, which in this case comes down to 80% of the font
the user has specified as the default font in the browser.
*/
font-size: 0.8em;
width: 659px;
border-left: 1px solid white;
border-right: 2px solid white;
float: left;
background-color: #e1e1e1;
min-height: 500px;
padding: 10px;
}

#Sidebar
{
/*
The SideBar is positioned to the right of the MainContent area. It gets the same font-size as #MainContent
and gets a background image called Sidebar.jpg. To ensure the image is visible in (most) browsers
on a dmall page, the element gets a minimum height of 500px. This is ignored by IE 6.
*/
font-size: 0.8em;
background-image: url(Images/Sidebar.jpg);
background-repeat: no-repeat;
background-color: #cccccc;
width: 152px;
min-height: 500px;
padding-top: 10px;
padding-left: 10px;
float: left;
}

#Footer
{
/*
The footer is positioned below all other content (yet still within PageWrapper).
At the top, it gets a border with a dashed style, while all other sides have no border.
clear: both is used to clear the impact of the float properties used for #MainContent and #SideBar.
*/
clear: both;
height: 37px;
background-color : #bee4cf;
color: White;
text-align: center;
font-size: 0.7em;
font-weight: bold;
line-height: 37px;
}

.MyButton
{
color: #308462;
}

.DynamicMenuStyle
{
z-index: 1000;
border: 3px solid red;
}
Reply With Quote
  #8 (permalink)  
Old May 30th, 2010, 03:44 AM
Imar's Avatar
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

Hi there,

I can't see the problem. The CSS looks fine to me and runs successfully in my version of PlanetWrox.

Tow things you can try:

1. Lower the z-index to say, a 100, or increase it even more.

2. Get the Vista Patch here: http://support.microsoft.com/kb/962351

If that fails, please send me a copy of it and I'll take a look. You can send me a message through my personal web site. I'll reply so you then have my e-mail address.

Cheers,

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
  #9 (permalink)  
Old May 30th, 2010, 03:51 AM
Imar's Avatar
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

Wait a minute.....

I just had another look and it seems that all styles shown on page 250 are missing in your style sheet. One of the styles there (DynamicMenuItemStyle) override the background of the sub menus (which is white by default). Since the background is initially white and the text on the menu is white as well, you can't read the text.

I think what you're looking at is "by design" and is explained at the top of page 248.

Cheers,

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
The Following User Says Thank You to Imar For This Useful Post:
flapjack (June 1st, 2010)
  #10 (permalink)  
Old June 1st, 2010, 03:05 PM
Authorized User
 
Join Date: Apr 2010
Posts: 18
Thanks: 7
Thanked 0 Times in 0 Posts
Default

So sorry for this Imar. I worked up to the end of page 247! If only I had turned the page and read further. Its working great now. Sorry again for wasting your time.

Bill
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
White space is required between the public identif ashok.andena XSLT 2 June 2nd, 2008 05:27 AM
clean white space and comments Kabe XSLT 0 June 15th, 2007 03:34 AM
White-space preserved David P. Manning XML 1 April 24th, 2007 07:50 AM
TRIM WHITE SPACE vickr1z SQL Language 3 January 12th, 2007 12:39 AM
White space sundar_revathi XSLT 2 May 17th, 2004 05:29 AM



All times are GMT -4. The time now is 11:32 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.