October 16th, 2012, 12:39 PM
More then on div tag ending
Hey I'm really new to this but I saw some code that I just can't figure out. The line of code follow
why would there be more then one ending tag for the element?
It is followed about a few more that looks just like that but a different class.
Thanks for helping me out, hope I didn't cause any problems with asking about this. I just couldn't Google a good answer for this.
October 16th, 2012, 12:49 PM
It's a div inside a div. If you use indentation you can see the hierachy.
<div>this is the inner div</div>
October 31st, 2012, 08:49 PM
remove inner div if not use.
November 3rd, 2012, 04:42 AM
The start of a <div> is that and the end is </div>
Your code has a div inside another div.
<div class= "bollocks"> contents of div here </div>
Comments on this post