Active
Project:
NineSixty (960 Grid System)
Version:
7.x-1.x-dev
Component:
CSS
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2011 at 01:07 UTC
Updated:
29 Aug 2012 at 01:03 UTC
There may be an obvious answer to this that I'm overlooking. Is there a NineSixty framework way to have two regions adjacent to one another say header1 and header2 with content in header2 and not have header1 collapse if its empty?
Note: I've achieved it with the following:
<div id="header2" class="<?php if (empty($page['header1'])) { print 'prefix-5 grid-3'; } else { print 'grid-3';} ?>">
Is there a simpler way, similar to the context-aware ns() function?
Comments
Comment #1
spgd01 commentedRead me states the following. I have no Idea if it will work or not:
Comment #1.0
spgd01 commentedadding code tags