I drew a point on the page using a div tag, but the height of this point is still the default height when set to 1px, and the point cannot be drawn successfully. The HTML code is as follows:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title></title></head><body><div style="position:absolute; left:100px; top:100px; height:2px;width:2px;background-color:#FF0000"></div></body></html>
Protocol issues
Put
changed to
Just fine
Not bad. . The type of declaration is the issue. .
Protocol issues
Change
to
Just fine
Thank you, the problem has been solved, declaring it as will be risky in old browsers, so it is not the best choice, mine The problem is the browser mode, adjust it and it will be fine. But thank you for your enthusiasm, and the points will be given to you.