Viewing CSS injected into the HTML

CSS injected into the HTML



User: Johnny H. 2 years ago
First I really really love that this software is for mac. I'm so close to a purchase. But after inspecting some of the themes what I'm finding is that the style tag is being used quite a bit inside the HTML tags.

I'm a big believer that the styles should be separated from the HTML. Styles belong in a style sheet.
Is this something that can be fixed?
User: Paul-RAGESW 2 years ago
Hi Johnny,

Glad to hear you are liking EverWeb, and thanks for the positive feedback.

Quote:
I'm a big believer that the styles should be separated from the HTML. Styles belong in a style sheet.
Is this something that can be fixed?


In 95% of the cases style code that is unique to the tag is included within the HTML tag, while global styles, or styles that can be applied to more than one object, are within the style tag.

This cannot be changed. If you have a specific concern regarding how code is exported, please let me know so I can either explain why it is done this way, or we can improve it in a future version.

-------------------------------
Paul
EverWeb Developer
User: Roddy 2 years ago
If you take a look at the source code of a page using widgets from EverWeb Widgets you will see that the only inline styles are those inserted by EverWeb for the positioning of the container. Apart from those, all the CSS is entered as internal styles in the head of the HTML doc.

Check out the source code for this DEMO page.

Web design templates like Bootstrap and Wordpress use stylesheets. The problem is that they are huge and contain lots of code that isn't required. They also add to this a bunch of java script files which are not required on every page. A properly optimised EverWeb page will load a lot faster than one created by other popular methods.

Using internal styles in the head code allows EverWeb users the freedom to make a lot of individual style changes which can't be done using Bootstrap, Wordpress etc.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.


Post Reply
You must login or signup to post.