[pmwiki-users] nested divs

Hans design at softflow.co.uk
Mon Feb 6 11:27:36 CST 2006


Monday, February 6, 2006, 4:33:20 PM, Patrick wrote:
> Part of the reason I chose >>div<< was because it would be a
> convenient lever into nested divs, as in

>    >>div<<

>    >>>nested div<<<

>    >>>nested div<<<

>    >>outer div<<

>    >><<

interesting, but if we ever get to nested divs i think they would need
to work without such indicators as to what the nesting level is.
I should be able to write for instance to create a floating right bar

>>rfloat width=200px<<
(:include RightBar:)
>><<

and be able to have divs in RightBar, without needing to know what
level they might end up in.

What annoys me about HTML <div> tags is the difficulty in seeing where
exactly one div ends. Could the ending div markup not carry an indicator as
to which opening div markup it belongs to? Like an id attribute? Then
we won't need to specify levels.


Best, 
~Hans                           





More information about the pmwiki-users mailing list