trinistorm Posted February 6, 2010 Share Posted February 6, 2010 Hey guys quick question: Is it valid to style a div as follows: div.class div{width:100px} And does it infringe on semantics? Link to comment Share on other sites More sharing options...
trinistorm Posted February 6, 2010 Author Share Posted February 6, 2010 Well it validates so im using it Link to comment Share on other sites More sharing options...
Ingolme Posted February 6, 2010 Share Posted February 6, 2010 Yes, it's valid. It should style any <div> that's inside <div class="class"> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.