Re: calling style sheets
- From: "jrl" <jrl@xxxxxxxxxxxxxxxx>
- Date: Fri, 07 Mar 2008 04:21:40 GMT
Sorry, I didn't make it clearer that the error "The class or CssClass value is not defined" comes up like a tool tip when I hover over the CssClass, like over pageheader in the following code:
<div class = "pageheader" >
where pageheader is defined in the css style*** as
..pageheader
{
background-color: #F3F194;
color: #5A5AA5;
}
Also, I notice that when I used the enabletheming, I could set the property of a control, in the properties panel, and select the cssclass from a dropdown. Now that I use the linked style***, I don't get any style options in the properties panel for any control.
So how can I use the linked reference to the style*** (<link rel="Style***" ...>), and still get the utility I had with enabletheming (<%@ Master EnableTheming="true" ....>)?
"jrl" <jrl@xxxxxxxxxxxxxxxx> wrote in message news:d53Aj.53475$pM4.21522@xxxxxxxxxxxx
At first I learned to call a style *** by the command
EnableTheming, as in
<%@ Master EnableTheming="true" Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
Using this form to call the style *** in the App_Themes folder worked fine.
But then I needed to break my style*** into smaller chunks, so it was recommended that I use the following form within the head section.
<link rel="Style***" type="text/css" media="screen" href="~/App_Themes/screen.css"
Now I notice the references to styles, are generating an interpreter warning "The class or CssClass value is not defined" when I view the source code, even though it does load the linked style*** and implements the styles when it generates the webpage.
Is this normal? (that it would warn this error) or am I missing something in order to use this function?
.
- Follow-Ups:
- Re: calling style sheets
- From: "Steven Cheng"
- Re: calling style sheets
- References:
- calling style sheets
- From: jrl
- calling style sheets
- Prev by Date: calling style sheets
- Next by Date: RE: can I define custom colors?
- Previous by thread: calling style sheets
- Next by thread: Re: calling style sheets
- Index(es):