Page 1 of 1

Inline CSS Test

Posted: Thu Mar 24, 2022 12:59 pm
by wwonderfull
Webpage is using inline CSS styles example:

<!--this HTML code with inline CSS rule:-->
<p style="color:red; font-size: 12px">some text here</p>

How to achieve shown below example by tweaking wwb settings
<p>some text here</p>

<!--and the rule added into your CSS file:-->
p{color:red; font-size: 12px}

Re: Inline CSS Test

Posted: Thu Mar 24, 2022 1:11 pm
by crispy68
I'm not at my computer, so trying this from memory:

Go to Tools --> Options --> HTML and check the box to 'Optimize/move inline styles to external style sheet'.

Re: Inline CSS Test

Posted: Thu Mar 24, 2022 1:24 pm
by wwonderfull
I praise your memory for that @crispy amazing.
Thank You.