Div1 has the text with while the Div2 has the space
character for whitespace. I have shown the output of Div1 and Div2. It
is obvious that is not considered as whitespace which can be
borken.
Div1 code:
<div style='width:100px;height:50px;border:2px solid red;overflow:hidden;'>
Hello World Fine day
</div>
Div2 code:
<div style='width:100px;height:50px;border:2px solid red;overflow:hidden;'>
Hello World Fine day
</div>
Kovil Pillai P.
character for whitespace. I have shown the output of Div1 and Div2. It
is obvious that is not considered as whitespace which can be
borken.
Div1 code:
<div style='width:100px;height:50px;border:2px solid red;overflow:hidden;'>
Hello World Fine day
</div>
Div2 code:
<div style='width:100px;height:50px;border:2px solid red;overflow:hidden;'>
Hello World Fine day
</div>
Kovil Pillai P.
Comments