471,317 Members | 1,869 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

in Debugging styles in ext. css not on screen, or browser only des

I have a web project in NET2.0/VS 2005 C#

this question is not about CSS instead why using asp.net 2.0 csharp when I
am debugging, the styles defined in the Style Sheets are not appearing on the
screen. They show in the designer, but when I debug (OR look at it in the
browser), they're gone. Doesn't change.

in css stylesheet one style

font-size: 10pt;
color: red;
font-family: Verdana;
The stylesheet is in the App_Themes folder.
When I drag the css onto the aspx I get
<link href="App_Themes/StyleSheet.css" rel="stylesheet" type="text/css" />
this allows the styles to be seen but only in design mode

changing to
<link type="text/css" href="../App_Themes/StyleSheet.css" rel="stylesheet" />
css not seen at all

changing to
<link type="text/css" href="~/App_Themes/StyleSheet.css" rel="stylesheet" />
css not seen at all

of course inline style is seen, no other css is in the project
css is turning to a nightmare
Any help is appreciated, because I'm stumped!

Aug 10 '08 #1
0 897

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by A. Nonymous | last post: by
2 posts views Thread by Jeremy Clulow | last post: by
13 posts views Thread by Arne Garvander | last post: by
5 posts views Thread by Dinsdale | last post: by
2 posts views Thread by Kevin R | last post: by

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.