Forum Moderators: coopster
The thing is, like myspace and livejournal, i will allow users to edit their layouts by directly editing the HTML of their profile/blog. My question is, is there a way to do this safeley?
I figure if myspace can do it without problems, there must be a way.
If you intend to allow user layouts to contain CSS, you'll also want to parse and clean their stylesheets. -moz-binding, for instance, recently caused LiveJournal a rather large amount of hassle, and IE is wont to handle javascript: URIs wherever they appear, including CSS.