CodeVerge.Net Beta
Login Idy
Register Password
  Forgot?
   Explore    Item Entry    Profile    Invite   History    Resources   SiteMap  
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: 7/23/2007 3:18:47 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 13 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
FaithRaven
Asp.Net User
Loading theme stylesheets dynamically7/23/2007 3:18:47 PM

0/0

I have 2 stylesheets that I want to load only when the browser is IE. I have tried to put them in a folder outside the Theme and manually import them in my masterpage's head, but the compiler adds the generated loading code for stylesheets inside the theme at the end of head, so they overwrite the ones I manually loaded.
Biser
Asp.Net User
Re: Loading theme stylesheets dynamically7/23/2007 4:31:11 PM

0/0

 Hi

Try this:

<!--[if IE]>

        <link href=?ie_styles.css? media=?screen? type=?text/css? />
<![endif]-->


Please remember to click "Mark as Answer" on this post if it helped you.
FaithRaven
Asp.Net User
Re: Loading theme stylesheets dynamically7/23/2007 8:54:37 PM

0/0

As I stated in my first post I have tried this already but the compiler will automatically link all the stylesheets it finds in the theme directory below the imports I manually add. 

Amanda Wang - M
Asp.Net User
Re: Loading theme stylesheets dynamically7/25/2007 9:43:53 AM

0/0

Hi,

You can check this thread: http://forums.asp.net/t/1090131.aspx.

 

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:





Other Resources:
For a customisation theme....skin takes precedence but css does not ... The theme is loaded before your page, so the framework applies your skins and css styles FIRST... do i create controls dynamically on a webform. - we are ...
ng.asp-net-forum.general_asp-net ... ASP.NET Theme based on type of browser. 2. 8. 4/14/2008 6:25:18 AM ... stylesheets inside user controls: never clearly explained? ...
Loading style sheets at run time -- Flex 2.01 ... User Interface > Using Styles and Themes > Loading style sheets at run time ... These style sheets take the form of SWF files that are dynamically loaded while ...
Dynamically Load Stylesheets Using MooTools 1.2 ... for the page to change the theme using server-side methods upon a new page load. ... an example of dynamically loading stylesheets. About This Legendary ...
Flex 3 - Loading style sheets at run time These style sheets take the form of SWF files that are dynamically loaded while ... Using theme SWC files as run-time style sheets ...
Spidean Forums - Archives (read-only) > Old AT-Lite for PostNuke ... Board Index > Old AT-Lite for PostNuke > swapping stylesheets dynamically ... php with your code probably runs before the theme is loaded, so you might try: ...
How to change themes dynamically ? - ASP.NET Forums ... themes dynamically ? 04-03-2007, 3:02 PM. Contact. Answer. Reply. Loading... 2.0 Theme, CSS Themes Cascading Style Sheets ASP.NET 2.0 Cascades Load Order, ...
 
All Times Are GMT