CodePudding
Home
front end
Back-end
Net
Software design
Enterprise
Blockchain
Mobile
Software engineering
database
OS
other
Home
>
front end
> Just learning web, under small white would like to ask about the web positioning style
Just learning web, under small white would like to ask about the web positioning style
Time:11-28
Interface is arguably a run out should be with white border between circle (image), but why it does not, where is write wrong or write less what
The enclosed code:
<meta charset="utf-8" & gt;
Floating positioning & lt;/title>
<style>
* {
Default style reset/* */
padding: 0;
margin: 0;
}
Body {
font-size: 14px;
}
# container {
margin: 0 auto; Centered/* */
Width: 1000 px;
height: 500px;
/* background - color: # 6 cf; */
}
# header {
height: 100px;
Background - color: # 6 cf;
Margin - bottom: 5 px;/* with below there is a gap between the main part of the integral */
}
# main {
height: 500px;
Background - color: # CFF;
Margin - bottom: 5 px;
}
# value {
float: left;
width: 300px;
height: 500px;
Background - color: # 6 cf;
}
# content {
float: right;/* left line but also in the middle of the gap, can also be the margin value - right: 5 px is void */
Width: 695 px;
height: 500px;
Background - color: # CFF;
}
# foot {
Height: 60 px;
Background - color: # 6 cf;
}
</style>
<body>