Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get Source of HTML File with CSS Inline

Is there a simple way to save an HTML page that has an external stylesheet (1 or more) referenced but force all of the rules to be inserted into the page itself, inline? So basically I want to move all external rules onto the elements that they affect themselves.

For what it's worth, I'm using nearly every major browser (incase the solution is browser-specific), and I'm on Windows (incase it's OS-specific).

like image 334
Sampson Avatar asked Feb 17 '10 03:02

Sampson


1 Answers

I'm assuming you've seen the online tools that are available like this one? This online tool (which I have not tested but looks like it works) gives you the option of providing a url or source code and shows warnings for cross-browser compatibilities with your styles.

like image 142
jay Avatar answered Sep 28 '22 18:09

jay