I need help with my website layout, specifically with the arrangement of elements:
<div><Label> <Button1><Image><Button2></div>
Unfortunately, the div is not displaying in a single line as intended.
The CSS code for the div is as follows:
width: 100%;
display: block;
For the image, I have used the following styles:
clear: both;
width: 90px;
height: 40px;
margin-left: 3px;
margin-right: 3px;
margin-top: 5px;
And for the button:
float: right;
margin-top: 12px;
height: 45px;
width: 45px;
margin-right: 5px;
However, this results in the elements being displayed like this:
<div><Label><Image> <Button1><Button2></div>
When I apply float: right
to the image, the layout looks like this:
<div><Label> <Button2></div>
<Button1><Image>
How can I achieve the desired layout?