473,383 Members | 1,896 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Master Pages, Skins & Style Sheets

Kat
I have a master page, with a reference to a style sheet in the header, as
usual:

<link href="Styles.css" type="text/css" rel="stylesheet" />

I have a content page, with a label on it:

<asp:Label ID="lbl" runat="server" Text="Addresses"
CssClass="Heading1"></asp:Label>

My style sheet has a style Heading1

.Heading1
{
font-weight: bolder;
font-size: larger;
color: green;
}
My label is not showing green. Can you not use styles sheets when using
master pages?? The content page does have a skinid, but that shouldn't
matter, should it? There is no label in the skin. What am I doing wrong?

Apr 4 '07 #1
1 1383
Kat
Never mind, the styles file was moved to another directory... duh. Thanks
anyway!

"Kat" <Ka**********@yahoo.comwrote in message
news:u1*************@TK2MSFTNGP05.phx.gbl...
>I have a master page, with a reference to a style sheet in the header, as
usual:

<link href="Styles.css" type="text/css" rel="stylesheet" />

I have a content page, with a label on it:

<asp:Label ID="lbl" runat="server" Text="Addresses"
CssClass="Heading1"></asp:Label>

My style sheet has a style Heading1

.Heading1
{
font-weight: bolder;
font-size: larger;
color: green;
}
My label is not showing green. Can you not use styles sheets when using
master pages?? The content page does have a skinid, but that shouldn't
matter, should it? There is no label in the skin. What am I doing wrong?

Apr 4 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: MeerkatInFrance | last post by:
There comes a time when you know you are not going to be able to work something out yourself, however hard you try. I have reached that moment. I have a master page and a slave page (or whatever...
7
by: Rolf Welskes | last post by:
Hello, Master-Content in asp.net is very powerful. But: I have the following: One Master-Form. 30 Content-Forms which are the webpages used. Each of this content-forms must have own...
8
by: JT | last post by:
Hi, I have done a fair amount of style editing inline in ASP. I'm now using VS 2005 with a standard web project (not Web Application Project). This is my first foray into CSS in a style sheet...
2
by: Neil Steventon | last post by:
Hi , I puzzled on how to layout my website. I have a master page with a style sheet defined in the top. Then I have the various pages using this master page, I would however for cetain pages...
6
by: Just Me | last post by:
When using master pages, how can I get an external style sheet applied to the specific page and still see the effects at design time. I want to have a generic style sheet and specific ones for each...
11
by: Just Me | last post by:
I can see master pages being useful if one wants some fragil or complex web design which one does not want to have altered, but thats were it stops as far as I can see. Master Pages Plus 1.)...
6
by: Homer J. Simpson | last post by:
Hi all, I have enough experience with HTML/classic ASP to get by, and I'm trying to learn ASP.NET. Traditionally, I've taken the habit of breaking out extra-long CSS files into multiple,...
0
by: jediknight | last post by:
I have a simple project where there is a master page called MasterPage.master and some webforms which are content pages. I also have a usercontrol which is a simple calendar control popup. The...
0
by: Med | last post by:
Hi, Since my upgrade from VWD2005 to 2008, I am getting lots of 'The class or CssClass value is not defined.' warnings for my css classes in UserControls only! To avoid these warning, I can...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.