Results 1 to 9 of 9
Thread: Is this bad practice?
Oct 2, 2006, 01:04 #1
- Join Date
- Feb 2003
- 0 Post(s)
- 0 Thread(s)
Is this bad practice?
I wopuld like to know if putting inline elements directly in Divs is bad practice or not? Or should I prefer:
<div id="test"><p>text comes here</p></div>
<p id="test">text comes here</p>
Is this last line of code bad practice if the <p is floated left or right? (I mean, should floats only be applied on divs and so on? and never on <p>s?)