rbrindley: branch 2.0 r4141 - /branches/2.0/developer_info/CODING-GUIDELINES

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Wed Nov 19 10:33:37 CST 2008


Author: rbrindley
Date: Wed Nov 19 10:33:36 2008
New Revision: 4141

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4141
Log:
added a css guideline about where to place styling

Modified:
    branches/2.0/developer_info/CODING-GUIDELINES

Modified: branches/2.0/developer_info/CODING-GUIDELINES
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/developer_info/CODING-GUIDELINES?view=diff&rev=4141&r1=4140&r2=4141
==============================================================================
--- branches/2.0/developer_info/CODING-GUIDELINES (original)
+++ branches/2.0/developer_info/CODING-GUIDELINES Wed Nov 19 10:33:36 2008
@@ -132,6 +132,11 @@
 - Again, The W3C already provides various css guidelines. For now, we'll
   follow their suggestions for CSS 2.1 (http://www.w3c.org/TR/CSS21/)
 
+- Styling should reside in <style></style> at the top of the associated 
+  html page, or in a .css file. Refrain from adding a quick style="" 
+  attribute in the html section. Also refrain from using other html 
+  attributes beyond 'style' that manage styling.
+
 - [TO BE ADDED] CSS cheatsheet discussing obvious formatting guidelines,
   such as: each attribute has its own line, spacing rules, etc.
 




More information about the asterisk-gui-commits mailing list