This should be done by directly operating the box. If there is content, directly set the padding-right and padding-bottom of the box, and then let the picture be displayed in the lower right corner. 0_0.... The general idea is Control the position of the background through boxes.
I didn’t expect there was something else in your box
Background seems not to solve your problem. I don’t know if you want to be compatible with ie6, position:fixed; this attribute is invalid in ie6. If the requirements cannot be changed, I will add a relative positioning to the box, and then put the picture in and then position it absolutely. In this way, the compatibility will be no problem and this problem will be solved.
This should be done by directly operating the box. If there is content, directly set the
I didn’t expect there was something else in your boxpadding-right
andpadding-bottom
of the box, and then let the picture be displayed in the lower right corner. 0_0.... The general idea is Control the position of the background through boxes.Background seems not to solve your problem. I don’t know if you want to be compatible with ie6, position:fixed; this attribute is invalid in ie6. If the requirements cannot be changed, I will add a relative positioning to the box, and then put the picture in and then position it absolutely. In this way, the compatibility will be no problem and this problem will be solved.
But I think this has a lot to do with the size of the picture, for reference