loading style sheets into live edit of HTML

Hi, I'm kinda new to this so just need some pointers...
Trying to use IntelliJ Live Edit plugin to edit an HTML file - by clicking the chrome button on the html file. At this stage i'd like to let the browser know about the css files I have in my project (so my preview comes out styled) - what do i need to do to get this right?
~Gilbert

4 comments

You don't need do anythinhg special. LiveEdit works with your HTML and if HTML contains references to stylesheets (http://www.w3.org/TR/html4/present/styles.html#h-14.2), so, it will be supported.

0

unfortunately the html file is part of a larger site - so i'm guessing i need to get the site up and running, but not sure how to do that. You know of any documentation on this?

0

If HTML is part of page (i.e. template), you need to open real site page instead of this HTML file. This case may be is not fully supported (but View -> Reload in Browser will work in any case).

0

OK, so i got through this by injecting a live template into the header and footer of my html template (this includes the CSS load). Would be good if IntelliJ has the ability to toggle such wrappers without me having to delete every time i build.

0

Please sign in to leave a comment.