Wrox Programmer Forums
|
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 1st, 2009, 03:15 AM
Authorized User
 
Join Date: Jun 2009
Posts: 30
Thanks: 13
Thanked 0 Times in 0 Posts
Default css class

hi....i am having error after inserting this codes of line
error message:The class or CssClass value is not defined. Why?
But without this, the colour of the tabs won't appear when i run the program....all this code is in the source code of Master.masterpage

CssClass
="menuTabs"
StaticMenuItemStyle-CssClass="tab"
StaticSelectedStyle-CssClass="selectedTab"

If this codes are not suppose to to be in masterpage....then where it should be?Is it default.aspx, theme.css or skin?

Last edited by Banishah; August 1st, 2009 at 03:18 AM..
 
Old August 1st, 2009, 03:18 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

It depends on where you've defined the CSS classes and included a link to them.

Usually, this is only a *warning*; VWD can't find the styles you are referring to at Design Time, possible because they are defined in a theme.

If it works at run-time you can safely ignore the warning.

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!
The Following User Says Thank You to Imar For This Useful Post:
Banishah (August 1st, 2009)





Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS - editing the css style sheet doesn't take effect immediately sayo ASP.NET 3.5 Basics 6 March 13th, 2009 02:32 AM
retrieve attribute values from CSS(from class) anujrathi ASP.NET 2.0 Professional 1 May 7th, 2007 01:57 PM
CSS Class rupen CSS Cascading Style Sheets 3 April 13th, 2007 05:35 PM
apply css class to dynamically generated table row nikeshkm Javascript 2 September 28th, 2006 03:52 AM
CSS class Attaching NitinJoshi General .NET 1 January 24th, 2005 04:14 AM





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