Class6

469 views
432 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
469
On SlideShare
0
From Embeds
0
Number of Embeds
25
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Class6

  1. 1. Class 6<br />
  2. 2. Review<br />Inline Styles – In the <body> area<br />2<br /><td style=“color: #3399cc” ><br />td { color: #3399cc; }<br />selector<br />property<br />value<br /><ul><li>Embedded Styles – in the <head> area</li></ul>selector<br />property<br />value<br />
  3. 3. External Style sheet<br />3<br /><link rel="stylesheet" href="styles/style.css" type="text/css" /> <br />
  4. 4. Types of Cascading Style Sheets<br />External CSS<br />Created in separate .css file<br />Affects all pages using the selectors<br />4<br />
  5. 5. CSS Selectors<br />CSS style rules can be configured for an:<br />HTML element selector<br />id selector<br />
  6. 6. ID Selector<br />id selector- used for one unique item on the page<br /><div id=“divname”><br />…content…<br /></div><br />#divname { attributes }<br />

×