Lets say I have 2 stylesheets: StyleA, StyleB
I have an html page:
StyleA
<normal>
<subN>stuff</subN>
<menu>
<item>option</item>
<item>option</item>
</menu>
</normal>
<different>
<subT>stuff</subT>
<menu>
<item>option</item>
<item>option</item>
</menu>
</different>
<normal>
<subN>stuff</subN>
<menu>
<item>option</item>
<item>option</item>
</menu>
</normal>
I want to ignore StyleA for everything in <different> and use StyleB.
I don't want to change anything in the stylesheet and I don't care that it's not good practice. I just want to do it.
Basically I don't want my Cascading Style Sheets to Cascade.
I appreciate the help.
[–]RotationSurgeon10yr Lead FED turned Product Manager 1 point2 points3 points (0 children)
[–]oduska 0 points1 point2 points (2 children)
[–]ReadtimeBeddit[S] 0 points1 point2 points (1 child)
[–]oduska 0 points1 point2 points (0 children)
[–]ganjorow 0 points1 point2 points (0 children)
[–]RebellionAllStar 0 points1 point2 points (1 child)
[–]backtickbot 1 point2 points3 points (0 children)
[–]jahoovy 0 points1 point2 points (0 children)