Hi Jeff,
On some of my content types I've added a number of blocks to replace the default fields for title, body etc. I added the blocks to the main content region. However, they appear below the div with the article class and article is empty. This presents a problem in IE6/7 because it gives the emtpy div with the article class a height, which affect layout of other blocks.
Do you have any suggestions?
Thanks
Comments
Comment #1
Jeff Burnz commentedAdd some css just for IE6/7 to zero the height where needed.
Comment #2
eft commentedThanks, Jeff
I ended up wrapping the article div with an if statement in node.tpl.php though I imagine there is a better way to do it. I would rather not output any markup than empty markup. Maybe if the intent was for article div to be the container for all content in the Main Content region, it would be better for blocks placed in that region to be output inside the article div. But I'm a noob.
Comment #3
Jeff Burnz commentedSure, thats a better solution, sorry, my head is pretty messy after 20 hours of travel... he he
Comment #4
Jeff Burnz commentedComment #5
Jeff Burnz commentedCleaning up.