Home All Groups Group Topic Archive Search About
Author
16 Feb 2007 12:27 PM
spp
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

Author
16 Feb 2007 2:05 PM
Ciaran O''Donnell
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.

Show quote
"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
Author
17 Feb 2007 7:03 AM
spp
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


Show quote
"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
Author
17 Feb 2007 3:20 PM
Michael Nemtsev
Hello spp,

could you show the code how u do this?
See sample there http://weblogs.asp.net/scottgu/archive/2006/12/19/tip-trick-how-to-run-a-root-site-with-the-local-web-server-using-vs-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.
Show quote
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

AddThis Social Bookmark Button