asp.net - Default apply parent styles to inner child DOM element -


How do I create my inner span under the heirs of the styles defined in paragraphs?

  & lt; P class = 'NavnAdr2 normal' style = 'line-height: 12pt; Margin-top: 0pt; Margin-down: 0pt; Font-family: Times New Roman; '& Gt; & Lt; Span & gt; Sampling test & lt; / Span & gt; & Lt; / P & gt;    

Just set the heir for each CSS-attribute

  & lt; Span style = "row-height: heir; margin-top: heir; margin-down: heir; font-family: heir;" & Gt; Sampling test & lt; / Span & gt;    

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -