CLICK HERE TO DOWNLOAD PPT ON Cascading Style Sheets
Cascading Style Sheets Presentation Transcript
1.Embedded Style Sheets
2.W3C CSS Validation Service
Validates external CSS documents
Ensures that style sheets are syntactically correct
Validates external CSS documents
Ensures that style sheets are syntactically correct
3.Backgrounds
background-image
Specifies the image URL
background-position
Places the image on the page
background-repeat
Controls the tiling of the background image
background-attachment
fixed
scroll
font-weight
Specify the “boldness” of text
background-image
Specifies the image URL
background-position
Places the image on the page
background-repeat
Controls the tiling of the background image
background-attachment
fixed
scroll
font-weight
Specify the “boldness” of text
4.Element Dimensions
CSS rules can specify the actual dimensions of each page element
CSS rules can specify the actual dimensions of each page element
5.Text Flow and the Box Model
Floating
Move an element to one side of the screen
Box model
Margins
margin-top, margin-right, margin-left, margin-bottom
Padding
padding-top, padding-right, padding-left, and padding-bottom
Border
border-width
thin, medium, thick
border-color
Sets the color
border-style
none, hidden, dotted, dashed, solid, double, groove, ridge, inset and outset
Floating
Move an element to one side of the screen
Box model
Margins
margin-top, margin-right, margin-left, margin-bottom
Padding
padding-top, padding-right, padding-left, and padding-bottom
Border
border-width
thin, medium, thick
border-color
Sets the color
border-style
none, hidden, dotted, dashed, solid, double, groove, ridge, inset and outset
6. User Style Sheets
Format pages based on preferences
Format pages based on preferences
7.Web Resources
www.w3.org/TR/css3-roadmap
www.ddj.com/webreview/style
tech.irt.org/articles/css.htm
www.w3.org/TR/css3-roadmap
www.ddj.com/webreview/style
tech.irt.org/articles/css.htm
0 comments