CSS uses the box formatting model for all elements. The box formatting model places all elements within boxes—rectangles or squares—that are layered with multiple, configurable attributes.
Note:Box layout and formatting models have been used in traditional publishing for ages. Open any magazine or newspaper and you will see box layout in action—the headline within one box, columns of text in their own boxes, ads in boxes, and so on.
Shows a typical Web page. Although the design doesn’t seem too boxy, if you turn on borders for all elements you can see how each element is contained in a rectangle or square box. Figure shows the same Web page with borders around each element.
Within each CSS box you have control over three different, layered properties:
A typical Web page that isn’t overtly boxy in design.
The same Web page with borders around all elements, clearly showing thebox formatting model.
Figure shows a visual representation of how these properties relate.
How the margin, border, padding, and actual element relate to each other spatially.
Each of these properties can be separately configured, but can also work well together to uniquely present an element
HTML Related Interview Questions
|XML Interview Questions||HTML 4 Interview Questions|
|HTML Interview Questions||HTML 5 Interview Questions|
|HTML DOM Interview Questions||Java Interview Questions|
|CSS Interview Questions||Java Abstraction Interview Questions|
|Dynamic HTML Interview Questions||XHTML Interview Questions|
Introducing The Web And Html
What Goes Into A Web Page?
Starting Your Web Page
Lines, Line Breaks, And Paragraphs
Page Layout With Tables
Introducing Cascading Style Sheets
Creating Style Rules
Padding, Margins, And Borders
Colors And Backgrounds
Tables Table Styles
Defining Pages For Printing
Dynamic Html With Css
Introduction To Server-side Scripting
Introduction To Database-driven Web Publishing
Creating A Weblog
Introduction To Xml
Xml Processing And Implementations
Testing And Validating Your Documents
Choosing A Service Provider
Uploading Your Site With Ftp
Publicizing Your Site And Building Your Audience
Maintaining Your Site
The Web Development Process
Developing And Structuring Content
Designing For Usability And Accessibility
Designing For An International Audience
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.