Download presentation
Presentation is loading. Please wait.
Published byDamian Perry Modified over 9 years ago
1
Robert Vitolo CS430
2
CSS (Cascading Style Sheets) Purpose: To provide a consistent look and feel for a set of web pages To make it easy to update or manipulate the format or style of a page by separating style from content
3
External Style details are maintained in their own file, separate from the other code Internal and Inline Style elements are defined within the code Override external style rules ASP.NET has an added feature: Skins
4
To reference an external style sheet in your webpage, you must code a link element within the head element of the page.
5
Style Sheet Filename
6
You can also do this in an automated fashion, by going into the Design mode for your webpage, clicking on format and selecting ‘Attach Style Sheet’.
10
CSS sheets have a specific coding format: Selector { Property : value; } Example: h1 { color: green; } Defines all of the elements that will be impacted by the style rule.
15
Visual Studio gives you some access to many of the CSS functions via the VS menus.
18
Allows you to add new style rules without having to memorize all of the different properties and values – accessed through the Format menu.
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.