Connecting Tech Pros Worldwide Forums | Help | Site Map

ASP.Net 2.0 CSS

JeffD
Guest
 
Posts: n/a
#1: Feb 10 '07
I am working on an asp.net 2.0 project. It started out as the Club
starter kit, modified by devcow.com. The problem I am having is that
any changes I make to the CSS file for the theme I am using do not do
anything. I am loading the correct theme and I am sure I am working
on the right css file, the one in the app_themes\club folder. This is
the theme I have the user set for. It must be using something else
but sure can't figure it out.

Any Ideas?

Thanks in advance

Jeff D.


Riki
Guest
 
Posts: n/a
#2: Feb 10 '07

re: ASP.Net 2.0 CSS


JeffD wrote:
Quote:
I am working on an asp.net 2.0 project. It started out as the Club
starter kit, modified by devcow.com. The problem I am having is that
any changes I make to the CSS file for the theme I am using do not do
anything. I am loading the correct theme and I am sure I am working
on the right css file, the one in the app_themes\club folder. This is
the theme I have the user set for. It must be using something else
but sure can't figure it out.
>
Any Ideas?
Open your file in the browser, and view the HTML markup source code in the
browser.
Check if the css links to the right file.
Copy/Paste the css link in the browser's address bar and see if it opens
your css file.

If that doesn't indicate the problem, you are simply applying the css in the
wrong way
(e.g. you may be applying a style to a <tdtag, while you should apply it
to the <trtag, etc.)

--

Riki


=?Utf-8?B?TWlsb3N6IFNrYWxlY2tpIFtNQ0FEXQ==?=
Guest
 
Posts: n/a
#3: Feb 10 '07

re: ASP.Net 2.0 CSS


Hi Jeff,

Make sure Theme attribute in <@pagedirective is properly set:
<@ Page blablabla Theme="Club">, then see if css has been emited

<head><title>
Untitled Page
</title><link href="App_Themes/Clus/YourStylesheetName.css" type="text/css"
rel="stylesheet" /></head>
Please remember, style sheets are usually cached in client's disk, therefore
every time you amend css, reload entire page (IE: Ctrl+F5)

hope this helps
--
Milosz


"JeffD" wrote:
Quote:
I am working on an asp.net 2.0 project. It started out as the Club
starter kit, modified by devcow.com. The problem I am having is that
any changes I make to the CSS file for the theme I am using do not do
anything. I am loading the correct theme and I am sure I am working
on the right css file, the one in the app_themes\club folder. This is
the theme I have the user set for. It must be using something else
but sure can't figure it out.
>
Any Ideas?
>
Thanks in advance
>
Jeff D.
>
>
JeffD
Guest
 
Posts: n/a
#4: Feb 10 '07

re: ASP.Net 2.0 CSS


I knew it had to be something stupid. The ctrl-F5 did the trick. I
moved the app to another computer and tried it and the changes I had
made on the original computer worked. Then I made some more changes
and they worn't taking effect. Ctrl F5 did the trick. I guess I just
figured VS would clear the cahce before it ran the app.

Thanks a lot, my head feels better!

On Feb 10, 7:59 am, Milosz Skalecki [MCAD] <mily...@DONTLIKESPAMwp.pl>
wrote:
Quote:
Hi Jeff,
>
Make sure Theme attribute in <@pagedirective is properly set:
<@ Page blablabla Theme="Club">, then see if css has been emited
>
<head><title>
Untitled Page
</title><link href="App_Themes/Clus/YourStylesheetName.css" type="text/css"
rel="stylesheet" /></head>
Please remember, style sheets are usually cached in client's disk, therefore
every time you amend css, reload entire page (IE: Ctrl+F5)
>
hope this helps
--
Milosz
>
>
>
"JeffD" wrote:
Quote:
I am working on an asp.net 2.0 project. It started out as the Club
starter kit, modified by devcow.com. The problem I am having is that
any changes I make to the CSS file for the theme I am using do not do
anything. I am loading the correct theme and I am sure I am working
on the right css file, the one in the app_themes\club folder. This is
the theme I have the user set for. It must be using something else
but sure can't figure it out.
>
Quote:
Any Ideas?
>
Quote:
Thanks in advance
>
Quote:
Jeff D.- Hide quoted text -
>
- Show quoted text -

Closed Thread