CSS2 and ASP.NET Separation of Presentation and Content
Document Sample


CSS2 and ASP.NET
Separation of Presentation and
Content
Todd Miranda
Director of Technology
Softech Development
Blog: blog.nxtdimension.com
Email: todd_miranda@softechdevelopment.com
Overview
• W3C, CSS, CSS2, CSS3
• Why CSS and ASP.NET
• Using CSS
• Additional Resources
W3C and CSSx
• CSS – Cascading Style Sheet
• W3C – World Wide Web Consortium
• CSS, CSS2, CSS3
• Separation of presentation and content
• Complications with using CSS
• Complications with ASP.NET
Benefits of Using CSS
• Keep intent of content foremost
• Formatting is handled by CSS file
• HTML dictates structure, elements are
chosen for their purpose not their format.
• Size
• Portability
• Accessibility
• Control
Guidelines for Construction
• Use a DOCTYPE
• Specify a language and character set
• Give a title
• Use proper elements
• Don’t go divial overboard
• Minimize markup
• Use class and id appropriately
CSS Box Model
Additional Resources
• www.csszengarden.com
• www.w3.org/TR/REC-
CSS2/cover.html#minitoc
• www.alistapart.com
• Eric Meyer
– Cascading Style Sheets: the Definitive Guide
• Jeffrey Zeldman
– Designing with Web Standards
Questions
Related docs
Get documents about "