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

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -