[Pmwiki-users] border='0'

John Rankin john.rankin
Mon Aug 9 20:36:48 CDT 2004


On Tuesday, 10 August 2004 4:57 AM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>On Mon, Aug 09, 2004 at 05:27:23PM +0200, Benjamin Fay wrote:
>> pmwiki.php Line 123: $UrlImgFmt = "<img src='\$Url' border='0' alt='' img>";
>> border='0' is not valid xhtml 1.1 -->  there is no attribute
>"border"
>
>PmWiki isn't designed for XHTML 1.1 compatibility yet--it just shoots for
>XHTML 1.0 Transitional, which does allow the "border" attribute.  At some
>point in the future I may go for XHTML 1.1 in the default installation,
>but for now I'm happy with XHTML 1.0.
>
>The border attribute is needed in case images are embedded in links;
>without it many older browsers will render a link border around the image,
>which often isn't desired.  A site administrator can always set a new
>value for $UrlImgFmt in the local/config.php file if XHTML 1.1 compatibility
>is needed.

So how do you avoid an unwanted border if you use XHTML 1.1?

-- 
JR
--
John Rankin





More information about the pmwiki-users mailing list