Hi.
I have some css that needs to go into a large amount of websites. It generally contains very simple like all new elements with very unique names that will not be matched by anything these websites currently contain.
The problem I am having is that some of these sites contain default settings in the parent divs I.E. it may say
body {
font-size:12px;
}
or
.wrapper {
text-decoration:underline;
}
This will be my new div (an example), which is inserted somewhere into the page.
.my_newdiv
{
height:400px;
width:200px;
padding:10px;
line-height:5px;
}
Unfortunately when this goes somewhere within the body or the wrapper or whichever class it goes into, the parent elements' defined attributes will be inherited into my new divs. There is only one brute way I can imagine which is to specify every type of css styling and set each of them. This is not feasible due to the amount of new divs which are being added. So any ideas?