|
Main sidebar
|
PITS /
01160Summary: Frames (wikistyle) show incorrectly because of use of <span> tags instead of <div>
Created: 2010-01-02 02:29
Status: Closed - replied
Category: Bug
From: Subhrajit
Assigned:
Priority: 4
Version: 2.2.8
OS: Ubuntu linux, Apache, 5.x
Description: The problem is browser-specific and is demonstrated in this test page: http://www.pmwiki.org/wiki/Test/FrameWikistyle The use of <span> tag instead of <div> tags for creating floating frames (in wikistyles.php) displays them incorrectly in some browsers (like Google Chrome). A frame created by a wikistyle puts the contents inside a floating <span> block. The issue arises if the content contains a <div> block inside it. Technically it is illegal to create a <div> (a block element) inside a <span> (an inline element). While IE and Firefox fixes this issue, Chrome does not. Possible solutions:
Hello. The convention is to use %style% for inline regions with span, and >>style<< for div blocks. So if you used: >>rframe<< (:pagelist:) >><< instead of Thanks Petko. I wasn't aware of that.. new to PmWiki. :) You can remove this issue page if you want. Subhrajit January 02, 2010, at 05:52 AM |