CSS and MasterPage

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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.
 
It's exactly what I've done.
But when I browse the page CSS style is not applied.
At design time it's applied.
 
Hello spp,

could you show the code how u do this?
See sample there http://weblogs.asp.net/scottgu/arch...h-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.
s> "Ciaran O''Donnell" wrote:
s>---
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top