week12_b%20-%20CSS%20

week12_b%20-%20CSS%20 - Div is a block element q They...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
IST 195 – Week 13, Lecture 2 – Web Programming Professor Jeffrey Rubin
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CSS Cascading Style Sheets (CSS) were developed by W3C to use with XHTML Add styles to your Web page using Internal styles External styles A style sheet contains instructions for formatting a Web page
Background image of page 2
Span vs. Div Span is a inline element q Useful to apply formatting to text in the middle of a sentence (a letter(s), word(s), sentence(s).
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Div is a block element q They create line breaks but are far more powerful than span q Can control width, height, padding, margin, border, position, and more Popular CSS Properties font-size (px or %) font-family color (hexadecimal value) font-weight (bold) font-style (italics) background-color (used with the body element) Understanding the Block (div)...
View Full Document

This note was uploaded on 11/18/2011 for the course IST 195 taught by Professor Staff during the Fall '08 term at Syracuse.

Page1 / 5

week12_b%20-%20CSS%20 - Div is a block element q They...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online