Forum Moderators: not2easy
What I would like to do, just as a precaution, is to use the @import css technique to import the style declarations from my own server, that way, if he ends up not paying for the work I have done, I can disable the stylesheet on my server, leaving him with a blank or visibility-blocking styles.css on his server.
Example:
< head >
link maindomain/style.css
content of this file:
html, body, p, img, h1, h2 { display:none; margin-left:999px; visibility:hidden }
@import mydomain/protection.css
content of this file: all the actual css for the template
< /head >
Is this possible? Would it display an alert in the browser saying you are trying to view content across multiple domains?
Again, I really don't think this guy is out to screw me over, but it has happened before, so I would like to have some type of measures in place to protect myself, having already invested a lot of time into building these sites for his clients. I don't want to do anything unprofessional, like vandalize the sites, I just want to make sure that I have a way to remove the work I have done if it's not paid for. Then after I am paid, I could restore all the CSS declarations to the main domain's stylesheet and get rid of the protect.css import...
Perhaps a simpler way would just be to use a remotely-called header image instead of the entire stylesheet, but this could easily be edited and restored by someone just going in and seeing the external URL in the header class. So it wouldn't be as fool-proof as the first option.
Thanks for your opinions, input, and suggestions.