|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
CSS and MasterPageI 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 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 It's exactly what I've done.
But when I browse the page CSS style is not applied. At design time it's applied. -- Show quoteSorin 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 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: WBR, Michael Nemtsev [C# MVP]. 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 --- 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 |
|||||||||||||||||||||||