[geeklog-devel] CSS-Layout possible!
Oliver Spiesshofer
oliver at spiesshofer.com
Sat Sep 22 14:21:29 EDT 2007
Dirk,
I do not insist to du this in this version. if the work is worth it or
not is surely hard to judge.
the current way of display (header + leftblock) + content + (rightblock
+ footer), it surely makes it harder to work.
However, I have been thinking about this for a while now and came to the
following point:
There is no need for big change. The formerly proposed solution would
require to run two different thtml for the same thing, depending if you
use the new method or the old.
I rather do the following: I move both left and right blocks into the
footer, make a simple check if left or right blocks exist and put that
check into the header, then assign a different class to the center that
makes the margin around the center existent or not depending on the
outcome. Then we even have the proper sequence of content for
small-screen rendering, no right floats etc.
I am not sure however if that puts a big strain on the system, or if it
is even worth to call the blocks in the header and pass it via a global
to the footer.
Still, I think it would be good to deprecate the current practice over
time and introduce a function that does the content in one go depending
on variables. This could happen over 2-3 versions. If we stick to what
he have now, we are never really flexible in the way to create layouts.
Oliver
Dirk Haun wrote:
> Oliver Spiesshofer wrote:
>
>
>> Still, before I do this, I would like to hear if there are any
>> objections to that.
>>
>
> Okay, I've finally caught up with this thread. But I fail to see the
> real advantage of the proposed changes.
>
> I mean, are there any actual, immediate problems with the way things are
> done currently? Quite a few nice new themes have been developed recently
> without these changes - would they have made the theme developer's lifes
> (significantly) easier? Eric? Mark?
>
> Sure, a fully CSS-based layout would be nice. That's the holy grail of
> web development. But with all the proposed changes I wonder if it's worth it.
>
> Not to mention that I was actually hoping to enter a phase of
> consolidation of the code base now so we can get a release out ...
>
> bye, Dirk
>
>
>
More information about the geeklog-devel
mailing list