Skip to content

mvhenten/jQuery-inline-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

#jQuery Plugin to inline css

##About Simple plugin to inline css. This plugin will try to copy all relevant styles as inline properties and inserts them into the style attribute.

##Synopsis

Suppose you have something like this:

<div id="sidebar-right" class="column">...</div>

run

$('#sidebar-right').inlineCSS();

Creates something like this:

<div id="sidebar-right" class="column" style="font-size:13px;font-family:arial, helvetica, verdana, sans-serif;font-weight:normal;color:rgb(221, 221, 221);font-size:13px;font-family:arial, helvetica, verdana, sans-serif;font-weight:normal;color:rgb(221, 221, 221);">...</div>

#License

Copyright (c) Matthijs van Henten (http://ischen.nl), 2011-2012.

GNU GENERAL PUBLIC LICENSE
   Version 3, 29 June 2007

##Bugs

Submit a bug report here:

https://github.com/mvhenten/jQuery-inline-css/issues

About

A simple jquery plugin to inline css

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published