CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 9/15/2007 10:41:53 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 32 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
cool2000
Asp.Net User
More than 1 CSS file in a Themes folder?9/15/2007 10:41:53 PM

0/0

I have DefaultLayout.css in a Themes folder. When I view my page in a browser, I notice that ASP.net injects <link href="..../DefaultLayout.css" type="text/css" rel="stylesheet" /> in the head tag.

I added a second CSS file, FakeWindows.css that have rules unrelated to page layout. ASP.net doesn't seem to inject this CSS file in the head like what I expected.

Can we really only have 1 CSS file in a Themes folder? If we could have many, how do we make it so that ASP.net will reference all CSS files?

BrianOConnell
Asp.Net User
Re: More than 1 CSS file in a Themes folder?9/16/2007 12:57:35 AM

0/0

Well I don't use themes but you could just put import commands in the one css file. You would have to bear in mind that the import command does not work with older browsers. -

@import url("style1.css");
@import url("style2.css");

 


Brian O'Connell (MCAD) - http://www.systemdotweb.com
cool2000
Asp.Net User
Re: More than 1 CSS file in a Themes folder?9/16/2007 3:16:29 AM

0/0

I found the culprit!!!

In DefaultLayout.css, I have a class called Header (the heading of the page).

In the FakeWindows.css, I also have a class called Header (the title bar of the fake window).

If there are n CSS files with a declaration in common, ASP.net will pick only one of those CSS files to reference from the themed page!!!

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Mastering Web Development with Microsoft Visual Studio 2005 Authors: John Paul Mueller, Pages: 822, Published: 2005
Pro Drupal Development Authors: John K. VanDyk, Dries Buytaert, Pages: 704, Published: 2008
Beginning ASP.NET 2.0 Authors: Chris Hart, John Kauffman, Chris Ullman, David Sussman, Pages: 759, Published: 2005
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Beginning ASP.NET 2.0 with C# Authors: Chris Hart, John Kauffman, David Sussman, Chris Ullman, Pages: 735, Published: 2006
Building Online Communities with Drupal, PhpBB, and WordPress Authors: Robert T. Douglass, Mike Little, Jared W. Smith, Pages: 530, Published: 2006
Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages Authors: Jacob J. Sanford, Pages: 474, Published: 2007

Web:
using more than one css in a theme folder - ASP.NET Forums Is it a bad practice to have multiple css files for a theme? ... Re: using more than one css in a theme folder ...
Using Themes « WordPress Codex Yet, it is more than just a "skin." Skinning your site implies that only the design ... Once you've navigated to the themes folder in cPanel File Manager, ...
Semiologic Theme For WordPress More than a simple WordPress theme, the Semiologic theme is an internet ... default CSS is a matter of dropping a custom.css file into your theme's folder: ...
Ian Stewart On Child Themes - Part 1 | Weblog Tools Collection Oct 4, 2008 ... 1. Make a folder in your blog themes directory called “achildthemetest”. 2. Create a “style.css” file in that folder with the following code ...
Easy way of Editing Customized Theme in MOSS 2007 - tigirry's ... Why can't I just edit the theme.css file in the theme folder? ... Can more than one custom theme appear in the folder list in Designer? I'm only seeing one ...
Control site appearance with ASP.NET 2.0 themes Once the theme is indicated, skins and css files are tied to that page. At this point, you may specify a skinid attribute for controls with more than one ...
ASP.NET Themes and Skins Overview A .skin file can contain one or more control skins for one or more control ... When you put a .css file in the theme folder, the style sheet is applied ...
Chrome template color theme setup Try one of the other color themes. Copy the files in the "css" folder in your template backup zip file ... More Color Details, Allwebco Template Support ...
K. Scott Allen : Colorful ASP.NET Themes You wouldn't want to be maintaining layout css in more than one css file if ... not looking inside your Theme folder - its just looking for a folder called ...
Creating a custom theme - MoodleDocs Open up the 'styles_color.css' file inside the folder you created in the ... Your logo needs to be in a GIF format with a height of no more than 100 pixels. ...




Search This Site:










accessing contentplaceholderid from master page codebehind

menu control not displaying images !!

the name of a textbox when it is goes to the client when using master pages

hi, i have a problem with a stylesheet when i place it in the app_themes asp,net folder. can somebody please help me?

asp:menuitem, how do i get rid of the arrow when i make a submenu?

loss of menu control on site

asp.net navigation

ie vs firefox.. asp menus

accessing objects inside the master page from a calling form

storing themes in a folder other than "themes"

any performance issues using themes & skins

<title> tags and line breaks?

hide masterpage table

easier way to access an instance?

q: how to disable a node in a treeview?

how to set a image path to consume multiple themes?

using multiple master pages?

how to share master page among applications?

master page custom event problem

menu error - internet explorer cannot open the internet site, operation aborted

tree view works through vwd but not via local host or from a remote browser.

title tag in master pages

javascript problem in master content pages

activestepchanged event occurs when a wizard control first loads

literal control not allowed within skin file???

how to change the name of the treeview category in order to pass as a parameter to sql procedure?

masterpage and flash

performance issues with menu control

i cant navigate the wizard

menu

  Privacy | Contact Us
All Times Are GMT