Inline CSS Test

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
User avatar
wwonderfull
 
 
Posts: 1566
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Inline CSS Test

Post 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}
User avatar
crispy68
 
 
Posts: 3001
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Inline CSS Test

Post 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'.
User avatar
wwonderfull
 
 
Posts: 1566
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Inline CSS Test

Post by wwonderfull »

I praise your memory for that @crispy amazing.
Thank You.
Post Reply