CodeVerge.Net Beta
Login Idy
Register Password
  Forgot?
Explore    Item Entry    Members   
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML





Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 11/8/2007 7:35:31 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 8 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
jacthemanus
Asp.Net User
css for master11/8/2007 7:35:31 PM

0/0

 Hello,

I have registration.aspx, registration.master, and style.css. registration.master uses style.css. registration.aspx uses registration.master. From Design in VWD, I can see registration.master and all the style used in style.css. But when I run registration.aspx, I don't see the style in style.css. Why? how do I go by fixing this. For some reason, registration.aspx does not see style.css.

 Thanks
 

Adam.Kahtava
Asp.Net User
Re: css for master11/8/2007 7:59:45 PM

0/0

Let me get this straight, the styles don't show up when viewing your .aspx page through Visual Web Designer? Do your styles show up when your viewing your page through a web browser?

Can you verify that the proper master page is being applied to your .aspx page? Sometimes the master page and associated styles aren't referenced properly, which prevents the styles from being applied. 

Is your css file linked to the page properly? Try viewing your html source from a browser and searching for your .css file?


-Adam Kahtava [http://adam.kahtava.com]
jacthemanus
Asp.Net User
Re: css for master11/8/2007 8:21:40 PM

0/0

 Adam,
I have MasterPageFile="~/registration.master" in registration.aspx.

Amanda Wang - M
Asp.Net User
Re: css for master11/12/2007 5:27:12 AM

0/0

Hi,

How do you refer the style.css file? Do you set it like below?

<link href="../../../App_Themes/Theme1/StyleSheet.css"  type="text/css" />

I use above can repro your problem, if you want the style.css work fine, you need to add rel="stylesheet", after I add it,  the css works fine .

Like below:

 <link href="../../../App_Themes/Theme1/StyleSheet.css" rel="stylesheet" type="text/css" />

Hope it helps.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
4 Items, 1 Pages 1 |< << Go >> >|



Search This Site:


Meet Our Sponsors:



Other Resources:

the master page is in a folder ... - newsgroup.asp-net-forum ... The link to the css in the Master Page should be URL-rebased. ... 2.0 introduced the concept of "master pages", which allow for template-based page ...
css not applied in any pages with a Theme - newsgroup.asp-net-forum ... css not applied in any pages with a Theme, > ROOT > NEWSGROUP > ... <link href="master page relative path to css file here" rel="stylesheet" type="text/css" ...
Style Master CSS Editor for Windows and Mac OS X CSS Editor with WYSIWYG editing, Wizards and hand coding tools for Windows and Mac OS X ... to expert, Style Master will make working with CSS more efficient, more ...
style master :: product info Style Master CSS Editor for Windows - product info ... Style Master is a complete workplace for designing, developing and debugging your CSS. ...
CSS Mastery: Advanced Web Standards Solutions The official companion site for the book, "css mastery: advanced web standards solutions" by andy budd. ... methods used in CSS design, but his knowledge of ...
Master your css layouts with advanced solution Mastering web design excellence. Developing your website. Managing Css projects ... Instead of using heading elements for page headlines, people would use a ...
CSS Master CSS Master is a very easy to use software program to generate CSS code. I original made the program for my convenience, but later realized this is a fantastic tool ...
CSS Zen Master | CenterNetworks Have you reached stylesheet Nirvana? Are you the designer people go to for a fresh, clean, gorgeous look? ... SmugMug is looking for a CSS expert to create ...
Speedo USA - The Official Speedo Online Store -- Swimsuits & Swimwear Save Up To 65% On Select Items! New 2008 Swimsuit Collection - Authentic Speedo Swimsuits And Speedo Swimwear, Womens Speedo Swimwear, Kids Speedo Swimwear, Mens Swimsuit


 
All Times Are GMT