[pmwiki-users] Background image

Patrick R. Michaud pmichaud at pobox.com
Sun Mar 18 17:48:41 CDT 2007

On Sun, Mar 18, 2007 at 12:34:08PM -0700, Dr Fred C wrote:
> > But in the final analysis, it comes down to a question of markup.
> > It's one thing to say "there should be a way to change the background
> > image of sections", but it would really help to see some markup
> > proposals.
> >   
> How about something natural like (:background bgcolor="#FFFFFF" 
> Attach:image.jpg :)
> for the html of  <BODY BGCOLOR="#FFFFFF" BACKGROUND="image.jpg">

Hopefully you mean that

   (:background bgcolor="#ffffff" Attach:image.jpg:)

should generate CSS of

    body { background-color:#ffffff; background-image:url(.../image.jpg); }

HTML 4.01 deprecates the use of "background=" attributes in the
<body> tag, and XHTML 1.0 strict doesn't allow either "bgcolor="
or "background=" attributes in the <body> tag.


More information about the pmwiki-users mailing list