I\'ve written a pretty basic widget for voting, users install it pretty much like the Google analytics code by simply adding a JavaScript code to the bottom of their code.
Use Iframe or use inline CSS for your elements.
Put your widget in an iframe, then it won't be affected by anything on the target page.
Use !important for the css of your widget.
!important
Example:
.widget { font: 16px Arial !important; }