Welcome! » Log In » Create A New Profile

Background attribute not supported?

Posted by bjj9611019 
Background attribute not supported?
September 24, 2008 04:57PM

I am assuming that the background attribute is not supported by htmlpurifier?

So when I have <TD background="http://www.urlhere.com/image.jpg"> this will all get stripped out?

Re: Background attribute not supported?
September 24, 2008 05:09PM

The background attribute is supported, but only as specified by the HTML 4.01 specification. If you want a background image, use style="background:url(http://www.urlhere.com/image.jpg)". Check out the demo.

Sorry, you do not have permission to post/reply in this forum.