Re: Xaraya_Classic theme menu blocks logic

Fournier Daniel <[email protected]> Mon, 03 May 2004 16:51:24 +0200
Newsgroups gmane.comp.cms.xaraya.ui
Organization Xaraya News Server
Message-ID <[email protected]>
Chris Dudley wrote:
> Fournier Daniel wrote:
> 
>> I'm experimenting with theme design, taking Xaraya_Classic theme as a 
>> starting point.
>> Regarding left and right menu blocks logic, wouldn't it be simpler to 
>> write it this way:
>>
>> --------------------------------------------
>> <xar:if condition="empty($leftblocksgroup)">
>>   <style>td#leftmenus { display:none; }</style>
>> </xar:if>
>> <xar:if condition="empty($rightblocksgroup)">
>>   <style>td#rightmenus { display:none; }</style>
>> </xar:if>
>>
>> <table id="classiccontentarea">
>>   <tr>
>>     <td id="leftmenus">
>>       <div id="leftmenuswrapper">
>>         <div class="iewintablefixer">
>>           <xar:var name="leftblocksgroup"/>
>>         </div>
>>       </div>
>>     </td>
>>     <td id="maincontent">
>>       <div class="iewintablefixer">
>>         <xar:var name="centerblocksgroup"/>
>>         <xar:module class="modulespace" main="true" />
>>       </div>
>>     </td>
>>     <td id="rightmenus">
>>       <div id="rightmenuswrapper">
>>         <div class="iewintablefixer">
>>           <xar:var name="rightblocksgroup"/>
>>         </div>
>>       </div>
>>     </td>
>>   </tr>
>> </table>
>> --------------------------------------------
>>
>> Daniel
> 
> 
> 
> urghh tables
> 
> /me wishes the world would wake up and stop using IE so CSS could be 
> more widespread.
> 
> miko

Being a Linux user, I definitely agree and surelyshall move away this 
table layout in favour of a pure CSS one -- a nice "elastic design" 
(<http://www.alistapart.com/articles/elastic/>), for instance.