Skip to main content

HtmlCssInclude convert css to inline style for mobile

Project description

.. -*- restructuredtext -*-

HtmlCssInclude converts css into inline style html for mobile.
font size is changed by mobile carrier (docomo, au, softbank).
when mobile is VGA, image size is changed.

* Python 2.5 or later (not support 3.x)
* lxml


$ easy_install HtmlCssInclude

How to Use

>>> from HtmlCssInclude import CssInclude

initialize with mobile carrier::

>>> css_include = CssInclude(agent='docomo', is_vga=True)

convert css into inline style html::

>>> converted_html = css_include.apply(input_html)

0.1.2 (2011-03-30)
* ezweb bug fix

0.1.1 (2010-11-22)
* add test data

0.1 (2010-11-20)
* first release

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for HtmlCssInclude, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size HtmlCssInclude-0.1.2.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page