[pmwiki-users] Producing XHTML 1.0 Strict
V.Krishn
vkrishn at insteps.net
Thu Apr 8 00:20:00 CDT 2010
On Thursday 08 Apr 2010 1:51:08 am you wrote:
> On Thu, Apr 08, 2010 at 12:38:17AM +0530, V.Krishn wrote:
> > Would it very difficult if PmWiki produces XHTML 1.0 Strict output?
> > One reason for doing would be preparing PmWiki for HTML 5.0 which
> > obsoletes some elements and attributes.
> > example:
> > [[<<]] produces <br clear='all' /> , which would not pass XHTML 1.0
> > Strict as well as HTML 5.0.
> > Solution is <br class='someclass' /> with style .someclass { clear:
> > both; }
>
> IIRC, Some browsers don't treat the "clear:both;" CSS property the same as
> "<br clear='all' />". So it's not an exact replacement.
>
> Pm
Just forgot to mention, there are some workarounds, maybe they work for such
browsers.
=========
.clearfix:after, .container:after {
content: "\0020";
display: block;
height: 0;
clear: both;
visibility: hidden;
overflow:hidden;
}
.clearfix, .container {display: block;}
/* Regular clearing
apply to column that should drop below previous ones. */
.clear { clear:both; }
=========
--
Regards,
V.Krishn
More information about the pmwiki-users
mailing list