Get the App
SLTechnology News&Howtos  ›  Development  › 

What is the diagnosis of incomplete DIV+CSS page content display?

Shulou Source: shulou.com Published: 2022-06-02 16:28:09 09月22日 Update

DIV+CSS page content shows what the incomplete diagnosis is, for this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.

The contents of the DIV+CSS page show incomplete diagnostics

We often view a complete web page in the IE6 version of the browser, while the content is not complete in browsers such as IE7 and above, Firefox and other browsers-the DIV+CSS web page shows incomplete diagnostic tutorials.

Screenshots of the style are as follows:

Description: only half of the content text in a row is displayed.

◆ analysis of the cause:

1. Height is set in CSS

2. Set the CSS stylesheet property overflow:hidden to hide objects beyond the specified width and height-CSS hiding.

◆ solution:

1. Height is set in CSS

Cancel the height (height) CSS style of its object, it will be compatible with all browsers, and the content will be displayed completely. If you cancel the height so that the border of the content section on the left and right of the page layout is not aligned, you can not cancel the height, but you need to reduce the content and remove the incomplete content.

2. Set the CSS stylesheet property overflow:hidden to hide objects that exceed the specified width and height.

Generally, setting the height and setting the overflow:hidden style at the same time will cause the content to be displayed incompletely in IE6. Solutions such as * * points, if you do not remove the height width limit, you can reduce the content.

Why does ◆ display completely when the height is set in IE6 but not in other browsers?

A: because of the IE6 kernel, you set the height, but if your content exceeds the set height, it will naturally break the height width you set, but it will not be able to break the set height in browsers such as IE7, IE8, Firefox and so on.

Of course, if you want to set more content will not break your set height width (including IE6), you can set the height and width at the same time set overflow:hidden property style, so that in IE6 will not break your set height and width.

The answer to the question about the incomplete diagnosis of DIV+CSS page content is shared here. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.

Tags: Height content width web page style browser browse object property question setting reason at the same time method more Firefox version analysis help answer Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info MySQL Shulou Information MariaDB Apple