Cascading Style Sheets

Cascading Style Sheets - Cascading Style Sheets - Part...

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

View Full Document Right Arrow Icon
Sheet1 Page 1 Cascading Style Sheets - Part IICascading Style Sheets - Part II The last time we saw the definitions of basic terms in a Cascading Style Sheet. We saw the structure of rules and we looked at properties and values for Fonts and Texts. In this discussion we will look at basic visual formatting, use of color, and table layout. Element Box All document element generate a rectangular box known as the element box. The element box has a margin, border, and padding all of which can specified. The width of the element box is the length between inner left edge to the inner right edge. The height of the element box refers to the length between the inner top edge to the inner bottom edge. For the element box you can set the property margin, the values are in length units or in percentages of the width of the containing block. The border has various properties - border-style, border-width, and border-color. There are various values for the border-style but the browsers are only required to support solid and none. The border-width could be thin, medium, or thick. The property padding is given length units or in percentages of the width of the containing block. Colors
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

Cascading Style Sheets - Cascading Style Sheets - Part...

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

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