PC Review


Reply
Thread Tools Rate Thread

CSS and MasterPage

 
 
=?Utf-8?B?c3Bw?=
Guest
Posts: n/a
 
      16th Feb 2007
I can't apply a CSS file to a web site with a masterpage.
In design mode I see it's applied but at runtime no.
--
Sorin Sandu
Romania
 
Reply With Quote
 
 
 
 
=?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?=
Guest
Posts: n/a
 
      16th Feb 2007
You should be able to put the link attribute in the MasterPage file ( .master
file) in the head section and have it appear as normal. You can also put it
in a theme and apply the theme to the website which will make it apply the
css file.

--
Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com


"spp" wrote:

> I can't apply a CSS file to a web site with a masterpage.
> In design mode I see it's applied but at runtime no.
> --
> Sorin Sandu
> Romania

 
Reply With Quote
 
=?Utf-8?B?c3Bw?=
Guest
Posts: n/a
 
      17th Feb 2007
It's exactly what I've done.
But when I browse the page CSS style is not applied.
At design time it's applied.
--
Sorin Sandu
Romania


"Ciaran O''Donnell" wrote:

> You should be able to put the link attribute in the MasterPage file ( .master
> file) in the head section and have it appear as normal. You can also put it
> in a theme and apply the theme to the website which will make it apply the
> css file.
>
> --
> Ciaran O''Donnell
> http://wannabedeveloper.spaces.live.com
>
>
> "spp" wrote:
>
> > I can't apply a CSS file to a web site with a masterpage.
> > In design mode I see it's applied but at runtime no.
> > --
> > Sorin Sandu
> > Romania

 
Reply With Quote
 
Michael Nemtsev
Guest
Posts: n/a
 
      17th Feb 2007
Hello spp,

could you show the code how u do this?
See sample there http://weblogs.asp.net/scottgu/archi...-2005-sp1.aspx

s> It's exactly what I've done.
s> But when I browse the page CSS style is not applied.
s> At design time it's applied.
s> "Ciaran O''Donnell" wrote:
s>
>> You should be able to put the link attribute in the MasterPage file (
>> .master file) in the head section and have it appear as normal. You
>> can also put it in a theme and apply the theme to the website which
>> will make it apply the css file.
>>
>> --
>> Ciaran O''Donnell
>> http://wannabedeveloper.spaces.live.com
>> "spp" wrote:
>>
>>> I can't apply a CSS file to a web site with a masterpage.
>>> In design mode I see it's applied but at runtime no.
>>> --
>>> Sorin Sandu
>>> Romania

---
WBR, Michael Nemtsev [C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing a control on a masterpage that uses a second masterpage Torben Laursen Microsoft ASP .NET 4 15th Mar 2008 04:27 AM
Masterpage change its masterpage mr t Microsoft ASP .NET 0 30th Aug 2007 12:11 AM
MasterPages - take plain form, add MasterPage. MasterPage does NOT appear when run Randy Smith Microsoft ASP .NET 8 14th Apr 2007 11:06 AM
MasterPage inheriting a MasterPage... is it possible? ThunderMusic Microsoft ASP .NET 2 27th Sep 2006 09:57 PM
MasterPage -> Page -> MasterPage Code Access =?Utf-8?B?QWxleCBNYWdoZW4=?= Microsoft ASP .NET 3 14th Apr 2006 02:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:33 PM.