Forum .LRN Q&A: Re: Demo, new theme, SCORM

Collapse
Posted by Jeff Davis on
Btw, the markup at http://samoa.sii.it/ is a good indication of why a <box> tag will be useful. This:
   <div id="container-00-gen"> 
      <div id="container-gen">
         <div id="container-top-gen">
            <div id="container-puls-home"><a href="#">
               <img border=0 src="/resources/01_cont_puls_kelp.png"></a></div>
            <div id="container-valori-gen">
	           <div class="user-greeting">
		          Welcome, dot LRN
	           </div> <!-- user-greeting -->
            </div> <!-- container-valori-gen -->
         </div> <!-- container-top-gen -->  
      </div> <!-- container-gen -->

   </div> <!-- container-00-gen -->	   
and a bunch more similiar "box" things exist throughout the design with all the extra divs there to hang background images off. Using a <box> tag would make it possible to make the template code be something like:
<box id="container">
   <div class="user-greeting">
	Welcome, dot LRN
   </div> <!-- user-greeting -->
</box>
and have all the supporting div's be generated both consistently and programatically.