[pmwiki-users] Site.EditForm -- div does not wrap contents

Hans design at flutesong.fsnet.co.uk
Tue Jul 19 16:04:31 CDT 2005


PS: I prefer this:

(:if e_preview:)
!!$[Preview {$FullName}]
'''$[Page is unsaved]'''
(:div id='preview':)
(:e_preview:)
(:divend:)
'''$[End of preview -- remember to save]'''\\
[[#top | $[Top] ]]
(:if:)

over this:

(:div id='preview':)
(:if e_preview:)
!!$[Preview {$FullName}]
'''$[Page is unsaved]'''
(:e_preview:)
'''$[End of preview -- remember to save]'''\\
[[#top | $[Top] ]]
(:if:)
(:divend:)

since the div just wraps the preview, so you can use a border or
background to emphasise what the actual previewed page is.


Best, 
~Hans                           





More information about the pmwiki-users mailing list