I would like to know if its ok to use class and style attributes on the same element?
I also want to know if my page will be faster when I use class and style attributes on the same element instead two different classes, for example:
I got two divs, one with style="width:680px;display:table;" and the second with style="width:680px;display:table;margin-top:20px;", I can make one class called "tst" > .tst{width:680px;display:table;} and I will use the class in both divs, but in the second one I will also add style="margin-top:20px;".
EDIT: I got another suggestion, to have two classes but one will hold width:680px;display:table; and the second one will hold margin-top:20px; and then I will use in the second div in both classes > class="class1 class2".
Which way will cause my page to load faster and why?