css - HTML Tags placement in html page making alignment issue -
I got into this strange problem. I have an unordered list with two list items
& lt; Ul & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; & Lt; P & gt; 1 & lt; / P & gt; & Lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; & Lt; P & gt; 2 & lt; / P & gt; & Lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt; (The end tag of 1 item item and start tag in second line is in different lines) This HTML code works fine but when I use the above code
and lt; Ul & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; & Lt; P & gt; 1 & lt; / P & gt; & Lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; & Lt; P & gt; 2 & lt; / P & gt; & Lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt; (The start tag of 1 item item and tag of 2 is in the same row and there is no space between it), alignment breaks. You can see the problem here
finally got some solution
Comments
Post a Comment