| Page 1 of 1 | [ 3 posts ] |
|
Hi there,
Since I couldn't find anything on yui3 documentation, I kindly would like your opinion on below. What is best practices? <div class="yui3-u-1-3" id="logo"> ... content </div> or <div class="yui3-u-1-3"> <div id="logo"> ..... content </div> </div> Regards, Castle |
|
That all depends on the styles you are setting on `#logo`.
If you set anything that could kill the grid (like border, padding, margin) then nesting them is the best bet. |
|
Since I'm building the website for a third party, I will play safe and go nesting.
Thanks Dav, |
| Page 1 of 1 | [ 3 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group