CodeVerge.Net Beta


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

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 11/18/2007 4:33:18 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 83 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
zaladane
Asp.Net User
using more than one css in a theme folder11/18/2007 4:33:18 AM

0/0

Hello,

I would like to have several pages using two different themes [red] and [blue] for example , but i would like to have a base.css file that can be shared by both without having to defined identical section in both of them.

To give you a better picture i would have the [red] theme folder with two css files : red.css and base.css . And the blue one with 2 css asd well : blue.css and base.css. is there any way i can define a global stylesheet to be used by both pages

for common sections without having to duplicate base.css?  I also noticed that in visual studio 2008 beta2, having two css files in the theme folder generated an error (The class or cssValue is not defined), although it doesn;t keep it to render itself correctly.

Is it a bad practice to have multiple css files for a theme?

Thanks 


Still in search of the far side.
--------------------------------
A code snippet may help you, but a reference to the doc will teach you something for later...Don't just try to solve somebody's problem with a snippet, teach him how to solve it.
Adam.Kahtava
Asp.Net User
Re: using more than one css in a theme folder11/19/2007 3:20:02 PM

0/0

Using multiple CSS files is a great idea, it facilitates reuse and maintainability. However; if you have a high traffic site (like an e-commerce site), you'll probably want to combine your CSS into a single file for better performance, but you would typically only do this on your production site.

If you want to have a CSS file that's inherited by other Style Sheets, then you'll probably have to move your Style Sheet outside the App_Theme directory and into a more general CSS directory. As you've pointed out (Themes promote CSS duplication), ASP.NET Themes provide an over simplistic approach to CSS, which hampers the use of Style Sheets.


-Adam Kahtava [http://adam.kahtava.com]
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Pro ASP.NET 2.0 in C# 2005: Create Next-generation Web Applications with the Latest Version of Microsoft's Revolutionary Technology Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1426, Published: 2006
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
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
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Visual Web Developer 2005 Express Edition For Dummies Authors: Alan Simpson, Pages: 358, Published: 2005
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Beginning ASP.NET 2.0 Authors: Chris Hart, John Kauffman, Chris Ullman, David Sussman, Pages: 759, Published: 2005
Beginning ASP.NET 2.0 with C# Authors: Chris Hart, John Kauffman, David Sussman, Chris Ullman, Pages: 735, Published: 2006

Web:
Using CSS Style sheets are used by setting the CSS File setting in the theme ... which styles will take precedence, if they are set in more than one of these places. ...
Using Themes « WordPress Codex Yet, it is more than just a "skin." Skinning your site implies that only the design is changed .... Working On CSS and the WordPress Theme (using a sandbox) ...
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 ...
Theme folder needs cleaning, now! | Kahi’s WordPress Notes More practically oriented sequel of Theme folder needs cleaning, right? article, ... If you need to have more than only one file with CSS code, ...
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: ...
HowTo: Create a horizontal menu using CSS and one image. | Aetas.dk Nov 21, 2008 ... You can do this using only one image and CSS. Here is how to do it. .... I guess there is always more than one way to skin a cat… ...
Get started using CSS Manager — Plone CMS: Open Source Content ... However, enabling CSS Debug Mode makes your site run more slowly than it ... the a copy of the base_properties file for that theme into the custom folder. ...
How to Use ASP themes In Your Web Project - ASP Themes Your ASP theme folder should now be located in the following path: .... For some ASP themes, there are more than one alternative available for the manually ...
PCP Theme Creation, comparing versions 1 and 2 | SWGEmu | Assembla Creating a New Theme Folder. From the root directory, navigate css > themes. ... on the left side of the website. page If you want to have more than one ...
ASP.NET 2.0 Theme Creation using ITracker - Simmons Web Design Article I have scoured the web getting information on techniques using CSS along with ASP. ... Create a new master page and if needed a theme folder. ...




Search This Site:










question to set up iis for asp.net

error raised when navigating b/w controls of a module

skinning inside core modules

asp_merge.exe

dnn 3.x and windows 2003 login issues

tabcontrol with user control

drop down menu: how do i get menu and submenu's to display without the menu having a url

a question about roles from italy [:d]

are datatables overwritten or do i have to delete?

css problem

access session variables in aspx which r declared in asp

where is the service directory module?

php on windows platform

ibuyspy tab dissappeared from asp.net

timeouterror when sending email from a web form

windows authentication - login required when accessed from link in email

need free simple html chat code

error when ascx files has the same name as one existing in another project

login security module suggestion

properties of an object

publishing in vs.net 2005

new control inheriting from web.ui.webcontrols.textbox

impersonation for a console app

reportviewer

new to asp.net

servertime at wh4l vs my location

updating a masterpage property

3.0.10 issue with labelcontrol...

how to set module title by code

how can i bind two combos at the time

 
All Times Are GMT