Ignacio Garat
Ignacio Garat

Reputation: 1556

is there a difference from a css point of view between

<div> 
  <form> 
  </form> 
</div>

and..

<form> 
 <div> 
 </div>
</form> 

Upvotes: 0

Views: 96

Answers (2)

Ryan Kinal
Ryan Kinal

Reputation: 17732

This can change inheritance, perceived width, and the selectors you use. So, yes, there is a difference.

Upvotes: 1

mylesagray
mylesagray

Reputation: 8869

Aside from the fact to select children one is div > form and the other is form > div no.

Upvotes: 0

Related Questions