Check out this demonstration
When utilizing float:right
in the CSS rules, the html does not adhere to the specified min-width
.
.right {
float:right;
background:blue;
min-width:400px;
}
By removing the float:right
or adjusting it to float:left
, the html element will maintain the min-width
requirement.
Is there a way to use min-width
for an element floated to the right?
Screenshot: According to feedback from some users, this is the display observed using the latest version of Chromium on Debian.
As depicted in the image, the left side of the div
along with its content is not visible (essentially out of view).