- HTML div class container
- HTML class container, fluid, center, color,
- HTML Tutorial » HTML div class container - size - width 75%
- How to make class container width, center
- HTML Tutorial » HTML div class container - size - width 75%
- HTML container
- What is a «container» in HTML?
- your container title here
- How do I make a «container» box in HTML?
- your container title here
- How do «containers» work in HTML?
- your container title here
- Контейнер в верстке
- Как это обычно реализовывается?
HTML div class container
A container is a element with a The container will affect all elements inside within the container.
Div class «container» hasn’t a special meaning but container is just a well chosen name. You can replace with any other name if we don’t talk about Bootstrap. In CSS Bootstrap is already implemented.
HTML class container, fluid, center, color,
Div is a tag.
Class is an attribute of div tag
Container is a class name
In the next example we show you HTML div class container, fluid, center, color templates.
.container width: 100%; /* this make container fluid*/
height: auto;
background-color: #FFC; /* this make content background-color*/
margin-right: auto; /* this make content center*/
margin-left: auto; /* this make content center*/
>
body font-family: Verdana, Geneva, sans-serif;
font-size: 14px;
>
.header width: 100%;
height: 80px;
background-color: #E1E1E1;
box-sizing:border-box;
margin-bottom: 4px;
margin-top: 4px;
margin-right: auto;
margin-left: auto;
>
.container width: 100%;
height: auto;
background-color: #FF9;
margin-right: auto;
margin-left: auto;
color: #066;
>
.footer width: 100%;
height: 80px;
background-color: #666666;
color: #FFF;
margin-top: 12px;
margin-right: auto;
margin-left: auto;
>
This is box is: <div />HTML Tutorial » HTML div class container - size - width 75%
This is box is: <div
You can replace 75% width with 990px.
Your text here
- Grape silver beet collard greens avocado quandong fennel gumbo black-eyed
pea watercress potato tigernut corn groundnut. Chickweed okra pea winter purslane
coriander yarrow sweet pepper radish garlic brussels sprout groundnut summer purslane
earthnut pea tomato spring onion azuki bean gourd. Gumbo kakadu plum komatsuna
black-eyed pea green bean zucchini gourd winter purslane silver beet rock melon
radish asparagus spinach. -