Personally, I'd stick with being standards compliant. But that's not what you're asking, is it? Well, a job is a job and you get paid only when the client is satisfied. Given that — and given my desire to stay standards compliant — I'll try to explain to the client why being standards compliant will be beneficial to them. If their request requires that I throw standards out the window and if they have already been informed of the potential drawbacks of not being standards compliant but still want to go ahead anyway... well, I'll go and do what they want. Any problem they have after I've delivered the finished product is no longer my problem.