CodeVerge.Net Beta


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

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 2/22/2007 3:21:17 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 19 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
red_bull_n_vodk
Asp.Net User
CSS, Theme, Skin standards2/22/2007 3:21:17 PM

0/0

I want to have set up something for the different control styles we use, but I wonder what is my best approach.

I have decided that complex controls like calendars and gridviews I will just use a .skin file. Easy

But for everything else... For example, say we have 4 colors that we use for labels, some centered, some right, some big, some small, some ital...

Is it best to set up all the attributes you would use in it's own class? (CssClass="lbl red cen xxl")

Or is it best to set up each situation in CSS or a Skin? (CssClass="lblRedCenteredXXL" or SkinID="lblRedCenteredXXL")

Adam.Kahtava
Asp.Net User
Re: CSS, Theme, Skin standards2/26/2007 5:14:04 PM

0/0

I recommend setting up all your attributes with CSS - use Skins to hook into ASP.NET's controls with CSS ID and Class Selectors.

A couple reasons: CSS can be used on any web development platform (PHP, .NET, Coldfusion, and so on) - so it facilitates greater reuse. CSS is the design standard, any web designer will be able to modify your site design - not just an ASP.NET programmer. Skins really depend on Styles, the same thing CSS depends on, but CSS provides more flexibility (media types, cascades, and so on). Skins don't Cascade. CSS files tend to stay leaner whereas Skin files tend to get enormous and complex as the project progresses. 


-Adam Kahtava [http://adam.kahtava.com]
Brian.Ko
Asp.Net User
Re: CSS, Theme, Skin standards2/27/2007 7:10:36 AM

0/0

I agree with Adam.  My rule of thumb is to use CSS as much as possible.  It?s easier working in the one place rather than interchanging between CSS and skin styling.

 

As for your question about setting up individual attributes vs grouping classes/skins by situation, I think I would prefer grouping by the situation.  You can give your class ID a more meaningful name rather than call the individual attributes

 

For example, I can name a class:

 

CssClass=?BigRedCenteredLabel?

 

instead of

 

CssClass="lbl red cen xxl" 

 

 

Setting up classes by situation also means if you need to make changes later, you?re less likely to have elements which you?ll forget about (because it?s assigned only the one class, skin ID).  - Which means you?re less likely to change the style of elements on your site by accident.

 

Hope that helps Smile

 

 


Brian Ko
Staff Member @ www.aspthemes.net
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional Authors: Matthew MacDonald, Pages: 954, Published: 2007
Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages Authors: Jacob J. Sanford, Pages: 474, Published: 2007
Mastering Web Development with Microsoft Visual Studio 2005 Authors: John Paul Mueller, Pages: 822, Published: 2005
Beginning ASP.NET 2.0 Authors: Chris Hart, John Kauffman, Chris Ullman, David Sussman, Pages: 759, Published: 2005
Rapid Application Development with Mozilla Authors: Nigel McFarlane, Pages: 770, Published: 2003
Beginning ASP.NET 2.0 with C# Authors: Chris Hart, John Kauffman, David Sussman, Chris Ullman, Pages: 735, Published: 2006
Beginning ASP.NET 2.0 Databases: Beta Preview Authors: John Kauffman, Thiru Thangarathinam, Pages: 427, Published: 2005
Professional C# 2005 Authors: Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner, Allen Jones, Pages: 1540, Published: 2006
Beginning ASP.NET 2.0 in VB 2005: From Novice to Professional Authors: Matthew MacDonald, Pages: 1063, Published: 2006
Beginning DotNetNuke Skinning and Design: Skinning and Desing Authors: Andrew Hay, Nina Meiers, Shaun Walker, Pages: 432, Published: 2007

Web:
PSD to HTML / XHTML, CSS, Skin / Theme, Shopping Cart & CMS Hand ... Currently 2.1 of the cascading style sheet standard is the most widely ... If you use CSS Reset in your own coding, we’ll include it as well if you select ...
.NET Treats & Tricks Sample MasterPages, Themes, Skins, and CSS NET 2.0 includes MasterPages, Themes, Skins, Cascading StyleSheets (CSS), ... define rich designs through CSS and the style property of standard HTML tags, ...
Snowcovered.com : Xhtml W3C Standards 100% Client CSS Skin Pack ... Skin Detail and Screenshots. Xhtml W3C Standards 100% Client CSS Skin Pack(V1.2) . Dnnskin.net Themes. Add total 27 new innter page skin,each color with 3 ...
Google Reader Theme / journal / hicksdesign Wonderful skin, it does actually make Google Reader fit in more nicely with the ..... The only bone I have to pick about this css theme is that I can’t tell ...
Firefox, Thunderbird, SeaMonkey, Mozilla and Netscape themes ... Aluminum Alloy - Replace standard Go/Search buttons with long versions */ @ import url("chrome://global/skin/subskin/LongGoSearch/LongGoSearch.css"); ...
.NET Questions - Themes and Skins Flawed in ASP.NET 2.0 MS has gotten better and better about standards compliance. ... Themes and Skins compromise CSS, which is rather ironic since Themes and ...
CONVERT .CSS to Themes/SKINS ? : convert, css, skin CSS to THEME ? i have .css code #banner_welcometext { width: 50%; ... Home · Web Development · Web Languages/Standards · CSS; CONVERT .CSS to Themes/SKINS ? ...
DotNetNuke CSS Skin Design > Home Its not only thValidate with the W3C Validator including HTML Validation and CSS Validation. Its not only the client custom theme skin ,but also can be used ...
Using the standard theme - MDC Apr 20, 2006 ... Applying the standard theme. In order to use the theme currently chosen by ... < ?xml-stylesheet href="chrome://myextension/skin/custom.css" ...
Snowcovered.com : Simplicity Fashion Xhtml W3C Standards CSS Skin ... Jun 18, 2008 ... Get a 10% discount on Simplicity Fashion Xhtml W3C Standards CSS Skin Pack when you order DNNSkin025 XmlFlash 6 Themes 100% Client&Server ...

Videos:
Keynote with Kyle Ford - HighEdWeb 2008 Conference HighEdWeb 2008 Conference keynote by Kyle Ford, director of product marketing at Ning, Inc., and previously the associate product manager at Yahoo ...




Search This Site:










removing the mobil functionality from the portal

setting up the ibuyspy portal on an sql 2000 server

all edit*.aspx get null reference

how to apply stylesheet in html module?

book review on "building an asp.net intranet"?

ibuyspy mobile viewing error

cannot open portalcsvs in vs.net

access to the path ..portalcfg.xml is denied

fk between orderdetails and products

how to make setup for my own asp.net project and its database

login

upgrade version

error in htmlmodule

connection string - packet size

modules....

admin tab

installing asp.net portal using prtl.exe localfullinstall.bat

ibs portal download?

transforming starterkit into kb

why i can't find the .sln or .csproj file in the

portal problem or just me not thinking today ... please help

please help

forum management system as a portal module?

deployed, not working

strange behavior in ibuyspy portal?

if you want xml quiz module :)

starter kits won't do anything

commercializing the protal kit, willing to help

login.aspx , returnurl= , and & = %26

checking isinrole

  Privacy | Contact Us
All Times Are GMT