Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | 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 December 1st, 2009, 06:51 PM
Authorized User
 
Join Date: Oct 2008
Location: , , .
Posts: 23
Thanks: 0
Thanked 1 Time in 1 Post
Default How to change font color on the menu control?

Hi,

I have the CSS setup pretty much like in the book. The funny thing is I have no problem to change the font size on the menu control or the background color. However, it does not matter what color I choose, it does not change at all when you view the page from browser (it does change however in the design view).

Here the CSS for the Menu control:
.StaticMenuItemStyle, .StaticMenuItemStylea, StaticMenuItemStylea:visited
{
/* Defines the look of main menu items. */
color: #FFFFFF;
font-size: 12px;
font-weight: bold;
text-decoration: none;
text-align: left;
}

I even try to change it directly from the Menu properties.

Thanks for your help:)

Melania
Reply With Quote
  #2 (permalink)  
Old December 2nd, 2009, 06:34 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi melania,

Check the HTML of the page in the browser. Do you see in-line styles overriding the colors?

Otherwise, can you post the full HTML for the page and the CSS files that are being linked to?

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 December 2nd, 2009, 01:18 PM
Authorized User
 
Join Date: Oct 2008
Location: , , .
Posts: 23
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thanks Imar for your help:)

I can see any where in the HTML being overwritten it, infact, I was so desperate want the text on the menu to be white, I put every where for the Menu to be white:
You can see the page that I try to change here:
http://www.humanities.ualberta.ca/WAC

I want the font on main menu to be white.

Here is the full HTML:

<!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>
WAC-U of A
</title>
<meta name="verify-v1" content="jpFSk/Y5wtKxT1aIJYfhni/lT3u/wl4v1OpDcDMCpPs=" />
<style type="text/css">
*{
padding: 0;
margin: 0;
}

p.MsoNormal
{margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";
margin-left: 0in;
margin-right: 0in;
margin-top: 0in;
}
.style3
{
width: 16px;

font-size:medium;
list-style-type:disc;
}
</style>
<style type="text/css">
.style1
{
font-family: "Lucida";
}
.style2
{
font-family: "Sans-serif";
font-weight: bold;
color:White;
}
.style2 A:link{color:White}
.style2 A:active{color:White}

</style>
<link href="App_Themes/WAC/WAC.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 { border-style:none; }
.ctl00_Menu1_4 { }
.ctl00_Menu1_5 { border-style:none; }
.ctl00_Menu1_6 { }
.ctl00_Menu1_7 { border-style:none; }
.ctl00_Menu1_8 { }
.ctl00_Menu1_9 { border-style:none; }
.ctl00_Menu1_10 { }
</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="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTEzMjE1MDQwODQPZBYCZg9kFgICAw9kFgQCAw88KwA NAgAPFgIeC18hRGF0YUJvdW5kZ2QMFCsACAUbMDowLDA6MSwwO jIsMDozLDA6NCwwOjUsMDo2FCsAAhYSHgVWYWx1ZQUESG9tZR4 JRGF0YUJvdW5kZx4IU2VsZWN0ZWRnHgRUZXh0BQRIb21lHgtOY XZpZ2F0ZVVybAURL1dBQy9EZWZhdWx0LmFzcHgeB0VuYWJsZWR nHgpTZWxlY3RhYmxlZx4HVG9vbFRpcAUWR28gdG8gdGhlIFdBQ yBob21lcGFnZR4IRGF0YVBhdGgFES93YWMvZGVmYXVsdC5hc3B 4ZBQrAAIWEB8EBQ1QcmVzZW50YXRpb25zHwEFDVByZXNlbnRhd GlvbnMfBQUhL1dBQy9SZXNvdXJjZXMvUHJlc2VudGF0aW9ucy5 hc3B4HwgFEVdBQyBQcmVzZW50YXRpb25zHwZnHwdnHwkFIS93Y WMvcmVzb3VyY2VzL3ByZXNlbnRhdGlvbnMuYXNweB8CZ2QUKwA CFhAfBAUOT3RoZXIgUHJvZ3JhbXMfAQUOT3RoZXIgUHJvZ3Jhb XMfBQUcL1dBQy9SZXNvdXJjZXMvT3RoZXJXQUMuYXNweB8IBRp MaW5rIHRvIE90aGVyIFdBQyBQcm9ncmFtcx8GZx8HZx8JBRwvd 2FjL3Jlc291cmNlcy9vdGhlcndhYy5hc3B4HwJnZBQrAAIWEB8 EBRRSZXNvdXJjZXMgYnkgU3ViamVjdB8BBRRSZXNvdXJjZXMgY nkgU3ViamVjdB8FBSAvV0FDL1Jlc291cmNlcy9CaWJsaW9ncmF waHkuYXNweB8IBSlDb2xsZWN0aW9ucyBvZiBSZXNvdXJjZXMgZ 3JvdXAgYnkgc3ViamVjdB8GZx8HZx8JBSAvd2FjL3Jlc291cmN lcy9iaWJsaW9ncmFwaHkuYXNweB8CZ2QUKwACFhAfBAUKQ29ud GFjdCBVcx8BBQpDb250YWN0IFVzHwUFEy9XQUMvQ29udGFjdFV zLmFzcHgfCAUXV0FDIENvbnRhY3QgSW5mb3JtYXRpb24fBmcfB 2cfCQUTL3dhYy9jb250YWN0dXMuYXNweB8CZ2QUKwACFhAfBAU KV0FDIFZpZGVvcx8BBQpXQUMgVmlkZW9zHwUFIS9XQUMvVmlkZ W8vUHJlc2VudGF0aW9uVmlkZW8uYXNweB8IBRdXQUMgVmlkZW8 gUHJlc2VudGF0aW9ucx8GZx8HZx8JBSEvd2FjL3ZpZGVvL3ByZ XNlbnRhdGlvbnZpZGVvLmFzcHgfAmdkFCsAAhYQHwQFDldBQyB TdGF0aXN0aWNzHwEFDldBQyBTdGF0aXN0aWNzHwUFGC9XQUMvY 2hhcnQvV2FjU3RhdHMuYXNweB8IBRxXQUMgUHJlc2VudGF0aW9 ucyBTdGF0aXN0aWNzHwZnHwdnHwkFGC93YWMvY2hhcnQvd2Fjc 3RhdHMuYXNweB8CZ2RkAgsPZBYCAgUPDxYCHwQFFTEyLzIvMjA wOSAxMTowODo0MyBBTWRkGAEFC2N0bDAwJE1lbnUxDw9kBQRIb 21lZL4AlkZk9umZTZayEV4HJxXxkC7w" />
</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="/WAC/WebResource.axd?d=xCV48uNXhmWXGnDtPRg-fw2&amp;t=633911345961562500" type="text/javascript"></script>

<script src="/WAC/WebResource.axd?d=7hAZ3hYuaY2PKTem0tAVyA2&amp;t=63 3911345961562500" type="text/javascript"></script>

<div>
<div id="PageWrapper">
<div id="Header">


<a href="./" id="ctl00_A1" class="HeaderLink">
</a>
</div>
<div id="MenuWrapper">
<a href="#ctl00_Menu1_SkipLink"><img alt="Skip Navigation Links" src="/WAC/WebResource.axd?d=H9DtatAalCO5rQpfEl423A2&amp;t=63 3911345961562500" width="0" height="0" style="border-width:0px;" /></a><table id="ctl00_Menu1" class="ctl00_Menu1_2" cellpadding="0" cellspacing="0" border="0">
<tr>
<td onmouseover="Menu_HoverStatic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(this)" title="Go to the WAC homepage" id="ctl00_Menu1n0"><table class="StaticMenuItemStyle ctl00_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap;"><a class="ctl00_Menu1_1 StaticMenuItemStyle ctl00_Menu1_3" href="/WAC/Default.aspx" style="border-style:none;font-size:1em;">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(this)" title="WAC Presentations" id="ctl00_Menu1n1"><table class="StaticMenuItemStyle ctl00_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap;"><a class="ctl00_Menu1_1 StaticMenuItemStyle ctl00_Menu1_3" href="/WAC/Resources/Presentations.aspx" style="border-style:none;font-size:1em;">Presentations</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(this)" title="Link to Other WAC Programs" id="ctl00_Menu1n2"><table class="StaticMenuItemStyle ctl00_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap;"><a class="ctl00_Menu1_1 StaticMenuItemStyle ctl00_Menu1_3" href="/WAC/Resources/OtherWAC.aspx" style="border-style:none;font-size:1em;">Other Programs</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(this)" title="Collections of Resources group by subject" id="ctl00_Menu1n3"><table class="StaticMenuItemStyle ctl00_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap;"><a class="ctl00_Menu1_1 StaticMenuItemStyle ctl00_Menu1_3" href="/WAC/Resources/Bibliography.aspx" style="border-style:none;font-size:1em;">Resources by Subject</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(this)" title="WAC Contact Information" id="ctl00_Menu1n4"><table class="StaticMenuItemStyle ctl00_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap;"><a class="ctl00_Menu1_1 StaticMenuItemStyle ctl00_Menu1_3" href="/WAC/ContactUs.aspx" style="border-style:none;font-size:1em;">Contact Us</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(this)" title="WAC Video Presentations" id="ctl00_Menu1n5"><table class="StaticMenuItemStyle ctl00_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap;"><a class="ctl00_Menu1_1 StaticMenuItemStyle ctl00_Menu1_3" href="/WAC/Video/PresentationVideo.aspx" style="border-style:none;font-size:1em;">WAC Videos</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(this)" title="WAC Presentations Statistics" id="ctl00_Menu1n6"><table class="StaticMenuItemStyle ctl00_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap;"><a class="ctl00_Menu1_1 StaticMenuItemStyle ctl00_Menu1_3" href="/WAC/chart/WacStats.aspx" style="border-style:none;font-size:1em;">WAC Statistics</a></td>
</tr>
</table></td><td style="width:10px;"></td>
</tr>
</table><a id="ctl00_Menu1_SkipLink"></a>

</div>
<div id="MainContent">
<div id="ctl00_Panel1" style="background-color:#FFCD05;height:26px;">

<span id="ctl00_SiteMapPath1"><a href="#ctl00_SiteMapPath1_SkipLink"><img alt="Skip Navigation Links" height="0" width="0" src="/WAC/WebResource.axd?d=H9DtatAalCO5rQpfEl423A2&amp;t=63 3911345961562500" style="border-width:0px;" /></a><span><a title="Home" href="/WAC/">Home</a></span><span> &gt; </span><span>Home</span><a id="ctl00_SiteMapPath1_SkipLink"></a></span>

</div>
<br /><br />



<p> Would you like to improve the writing of your students? Improve
their learning of your lecture material?<br /> Are you looking for new ways to engage
your students in your course materials?<br /> If this interests you, contact <a href="mailto:roger.graves@ualberta.ca?Subject=WAC Inquiry">Roger Graves:
</a> or 492.2169</p>

<p>
&nbsp;</p>
What can we do for individual instructors:

<br />

<ul style="margin:0; padding-left: 24px;">
<li>meet to talk about ways to incorporate informal (short,
impromptu) writing assignments into any class, small or large</li>
<li>review via email any assignment you give students that has a writing component
to help make it clearer for students and to help develop grading rubrics to
improve the speed and accuracy of grading</li>
<li>visit your class to help students get started on your writing assignments</li>
</ul>




<br />
What can we do for departments:<br /><br />
<ul style="margin:0; padding-left: 24px;">
<li>hold workshops on creating good writing assignments</li>
<li>host discussions of how to improve the writing of students in your programs</li>
<li>conduct reviews of writing assignments in your departments courses to identify
exactly what your students are being asked to write—and to ensure that they have
access to resources on how to write (online and on-campus) </li>
</ul><br />
<h1>
Upcoming Presentations and Workshops:</h1>
<div id="ctl00_cpMainContent_pnlEvent" style="height:300px;width:625px;overflow:auto;">

<p>
<iframe frameborder="0" height="300" scrolling="no"
src="http://www.google.com/calendar/embed...ica%2FEdmonton"
style=" border-width:0 " width="550"></iframe>
<br />
</p>

</div>
<p style="height: 183px">
<img id="ctl00_cpMainContent_Image1" src="App_Themes/WAC/Images/WACMain.gif" style="border-width:0px;" />
</p>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>




</div>
<div id="Sidebar">
<div id="ctl00_Panel2">

<table cellspacing="15"><tr><td>
<!--<img id="ctl00_Image1" src="App_Themes/WAC/Images/sidebarBG3.gif" style="border-width:0px;" />-->
<br />

<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;<span class="style2"><a href="http://www.c4w.arts.ualberta.ca" class="style2" target="_blank">C4W </a></span>
<br/>
<br/>
&nbsp;&nbsp; <span class="style2"><a href="http://www.uofaweb.ualberta.ca/arts/WTF_WRS_Courses.cfm" class="style2" target="_blank">WRS Courses</a></span>
<br/>
<br/>
&nbsp;&nbsp;<span class="style2"><a href="http://www.ualberta.ca/~graves1" class="style2" target="_blank"> Roger Graves </a></span>
<br /><br />
&nbsp;&nbsp;<span class="style2"><a href="http://www.arts.ualberta.ca/~wacblog" class="style2" target="_blank"> Blog </a></span>
<br /><br />
&nbsp;&nbsp;<span class="style2"><a href="http://www.cbc.ca/spark/2009/06/full...e-digital-age/" class="style2" target="_blank"> Academic Honesty </a></span>
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />

<span id="ctl00_Label1" style="color:White;">Today:</span><br /><br />
<span id="ctl00_lblDate" style="color:White;">12/2/2009 11:08:43 AM</span>
</td></tr></table>

</div>
</div>

<div id="Footer">Writing Initiatives logos(WI,C4W,WAC) were designed by Sarah
Jackson. Please contact <a href="mailto:rebecca.halliday@ualberta.ca?subject=WI Logo">Becky Halliday</a> for permission to use them.</div>
</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;
ctl00_Menu1_Data.hoverClass = 'ctl00_Menu1_10 DynamicHoverStyle';
ctl00_Menu1_Data.hoverHyperLinkClass = 'ctl00_Menu1_9 DynamicHoverStyle';
ctl00_Menu1_Data.staticHoverClass = 'ctl00_Menu1_8 StaticHoverStyle';
ctl00_Menu1_Data.staticHoverHyperLinkClass = 'ctl00_Menu1_7 StaticHoverStyle';
//]]>
</script>
</form>
</body>
</html>
================================================== ==========

Here is the CSS file:

*
{
font-family: Arial,Sans-Serif;
}
body
{
/*
Clears white space around the body except for the top which gets 10 pixels.
*/
margin: 0000;
}
a
{
/*
Clears the underline on normal links, and give them #308462 as the color.
*/
color:#308462;
text-decoration: none;
}
a:hover
{
font-size: medium;
}
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/WAC_Blue_header.gif); /*background-repeat: no-repeat;*/
background-color: #cccccc;
width: 844px;
height: 90px;
text-decoration: none;
}
.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/WACmenubar.gif);*/
width: 827px;
height: 33px;
padding-top: 9px;
padding-left: 17px;
background-color: #005521;/*1a8a61 the color on the menu bar */
}
#MenuWrappera
{
/*
Links in the Menu are white. This gets overriden by styles in chapter 7.
*/
color: #000000;
}
.MainMenu
{
/*
The Menu gets a white border on all four sides.
*/
border: 1pxsolidwhite;
width: 814px;
height: 19px;
background-color : #fffae5; /*body color */
}
#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;/*659px;824*/
border-left: 1pxsolidwhite;
border-right: 2pxsolidwhite;
float: right;
background-color: #fffae5; /*body color */
min-height: 860px;/*582px;*/
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/sidebarBG3.gif);
background-repeat: no-repeat;
background-color: #fffae5; /*#1a8a61;--dark green */
width: 152px;
min-height:870px; /*592px; increse/decrease the main body area */
padding-top: 10px;
padding-left: 10px;
float: right; /*left;*/
color: #000000;
}

#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 : #ffcc00; /*footer background color */
color: Black;
text-align: center;
font-size: 0.7em;
font-weight: bold;
line-height: 37px;
}
.MyButton
{
color: #308462;
}
.StaticMenuItemStyle, .StaticMenuItemStylea, StaticMenuItemStylea:visited
{
/* Defines the look of main menu items. */
color: #FFFFFF;
font-size: 12px;
font-weight: bold;
text-decoration: none;
text-align: left;
}
.StaticHoverStyle, .StaticSelectedStyle
{
/* Defines the look of active and hover menu items */
background-color: #ffe769;
color: #FFFFFF;
}
.DynamicMenuItemStyle
{
/* Defines the sub menu items */
font-size: 14px;
color: #707070;
background-color: #ffe769; /*darker yellow */
/* padding: 4px 2px 4px 3px;
text-align: center; */
}
.DynamicHoverStyle
{
/* Defines the hover style of sub menus */
background-color: #ffe769;
color: #000000;
}
.DynamicHoverStylea
{
/* Removes the underline from links in the sub menus */
text-decoration: none;
}

===========================================

Thank you so very very much:)

Reply With Quote
  #4 (permalink)  
Old December 2nd, 2009, 01:45 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi melania,

The menu is getting its black color from this selector in WAC.css:

#MenuWrapper A
{
color: #000000;
}

Since this selector is an ID selector, it's stronger than a class selector and as such takes precedence.

Either remove it entirely, or set the color in this selector.

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 December 2nd, 2009, 02:16 PM
Authorized User
 
Join Date: Oct 2008
Location: , , .
Posts: 23
Thanks: 0
Thanked 1 Time in 1 Post
Default

Yes, thanks you so much Imar:)

Melania
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
how to get font ,color,font size of text in win32 satishsatao Visual C++ 0 April 5th, 2006 05:05 AM
change font color of label red pritz BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 0 November 14th, 2005 03:48 AM
how to change all control color ashish2001mca .NET Framework 2.0 1 February 23rd, 2005 12:47 AM
change background color of toolbar control myth12345 VB How-To 1 January 6th, 2005 12:25 AM
2 Font Color menu box that show 2 different colors alienscript Excel VBA 0 December 5th, 2003 01:22 PM



All times are GMT -4. The time now is 09:12 PM.


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