Yes, that's the whole point of the macro system... ;)
Okay then, I'll stick to the original plan I guess. The only change I'll be doing is using the direction:rtl hack to help keep the sidebar HTML after the content HTML.
My only worry was about the fact that themers may find it a bit hard to understand. But OTOH that's really not the kind of place they want to mess with in their first attempts. Also, I could 'simply' get rid of the index template's macro definitions and move them over to Weaving's skin.xml but it would probably make the parsing a bit slower. (Until I decide to cache these...)
Posted: September 20th, 2012, 03:36 PM
Oh... I was in the process of reverting my changes, and completely forgot to say -- the main reason why I wanted to get rid of the table tags for IE6 is that the sidebar can't be moved to the bottom...! Best I can do is to just hide the sidebar, but not move it below... Which is a bit of a bummer. And that's why I tried looking for an alternative that would work.
So, err, in case my post yesterday wasn't clear... I was saying, solution (1) should be amended to say, "the main drawback is that IE 6/7 can't have their sidebar moved to the bottom in case we're in a low resolution."
Should I make a proper poll for this...?
Posted: September 21st, 2012, 09:38 AM
Or... Silly me... I could 'simply' use a 'always below' position for IE6/7... i.e. we still use <div> tags on them, but the sidebar is considered as a block instead of a table-cell, and thus is always moved to the end. We can complete this with a max-width on IE7 to ensure the text doesn't expand too wide compared to other browsers.
Posted: September 21st, 2012, 10:07 AM
Bump! I love bumps. Except on my forehead...