How to do this: set the CSS property of the post-declared label to Absolute.
Remaining Tags: the float property is assigned a value, and the first label is introduced with the margin property to the range of the absolute label (the measured top property is invalid).
Currently, this method is not used in my template, so the left column is very difficult to control and will be changed in subsequent versions.
Demo
1 <HTML>2 <Head>3 <styletype= "Text/css">4 5 Div.outerdiv{width:72px;Height:600px;Border:2px solid Black; }6 Div.outerdiv>div{width:60px;Height:150px; }7 Div.outerdiv>div.innerfirst{position:Absolute; }8 Div.outerdiv>div.innersecond{float: Left;Margin-top:160px; }9 Div.outerdiv>div.innerafter{float: Left; }Ten One </style> A </Head> - - <Body> the <Divclass= "Outerdiv"> - <Divclass= "Innersecond"style= "Background-color:green;"></Div> - <Divclass= "Innerafter"style= "Background-color:blue;"></Div> - <Divclass= "Innerafter"style= "Background-color:yellow;"></Div> + <Divclass= "Innerfirst"style= "background-color:red;"></Div> - </Div> + </Body> A </HTML>
View Code
CSS makes the post-declaration label appear in the previous method