Web Design
Mobile Internet
Brand Design
Innovative
News
Encyclopedias

Basic structure of CSS layout

Date:2016-07-19 Source: Shangpin China Type: website encyclopedia
Word Size: small   medium   big

The basic building block of the Css layout is the Div tag, which is a Website production HTML tags, in most cases, are used as containers for text, images, or other page elements. When creating a CSS layout, Div tags are placed on the page, content is added to these tags, and then they are placed in different locations.

The Div tag is different from the table cells. The Div tag can appear anywhere on the Web page. Div tags can be located in an absolute way (specifying x and y coordinates) or in a relative way (specifying the distance from other page elements).

There are many ways to create a Css layout, such as through the combination of floating, margins, padding, and other CSS attributes. In addition, CSS layout has high requirements for browsers. For example, it can be displayed correctly in IE browser, but it cannot be displayed correctly in other browsers.

In addition, users can also use Dreamweaver absolute positioning elements (AP elements) to create CSS layouts. An AP element is an HTML page element that is assigned an absolute position, specifically, a Div tag or any other tag. However, the limitation of Dreamweaver AP elements is that because they are absolutely positioned, their positions can never be adjusted on the page according to the size of the browser window.

About Css Page Layout Structure

The basic building block of CSS layout is the Div tag, which is used in most cases as a container for text, images, or other page elements. An HTML page contains three separate Div tags: a large "container" tag and two other tags (sidebar tag and main content tag) within the container tag, as shown in Figure 3-29.

 Css Page Layout


Please contact our consultant

+86 10-60259772

Please provide your contact number. The project manager of shangpin China will contact you as soon as possible.