1 reply [Last post]
soyunlocofl
Offline
newbie
Last seen: 16 years 12 weeks ago
Joined: 2004-07-29
Posts: 1
Points: 0

Hi, can anyone explain me what is the function of a container and how should i use it. Thanks in advance.

co2
co2's picture
Offline
Leader
UK
Last seen: 12 years 27 weeks ago
UK
Joined: 2003-09-17
Posts: 721
Points: 0

newbie question

A container is css-freaks term for an element that 'contains' other elements, in order to better control them. The most use element for a container is a div. You could have a div within a div. The master div would be a container.

At the top level, even the body tag is a container Wink

The next sentence is true. The previous sentence is false. Discuss...