Do I somehow block2
in in the top right corner Can I use CSS to keep block1
?
Reference:
- should be
Block 2
(too) code within the last HTML codeblock 1
Or it can be placed afterblock1
. I can not make it the first element inblock1
. -
Block 1
insideand - I also need the
block2
flow.
code:
.block1 {color: red; Width: 100px; Border: 1 px solid green; } .blok2 {color: blue; Width: 70px; Border: 2px solid black; Status: Relative; }
& lt; Div class = 'block1' & gt; & Lt; P & gt; Text & lt; / P & gt; & Lt; P & gt; Text 2 & lt; / P & gt; & Lt; Div square = 'block 2' & gt; Block 2 & lt; / Div & gt; & Lt; / Div & gt;
.block1 {Color: red; Width: 100px; Border: 1 px solid green; Status: Relative; } .blok2 {color: blue; Width: 70px; Border: 2px solid black; Status: Completed; Top: 0 pixels; Correct: 0 pixels; }
Should do this. Let's say you do not need to flow.
Comments
Post a Comment