Results 1 to 3 of 3
Jul 2, 2012, 19:33 #1
- Join Date
- Feb 2010
- 0 Post(s)
- 0 Thread(s)
Can you put a property name inside a </div> without a hassle?
Even with indenting, keeping track of nested divs can drive you blind. I was thinking of putting the div id in the end div as a property name. Seems to me it should be legal, but will some browser (probably IE) choke on it? Since there isn't really a property I don't list it since that saves typing, and since it's a property name I don't have to type quotes. I imagine this would throw an error on XHTML, but I avoid that anyway.
<div id='inside'></div container>