I generate a pdf file from HTML using Pisa:\[code\]def fetch_resources(uri, rel): path = os.path.join(settings.MEDIA_ROOT, uri.replace(settings.MEDIA_URL, "")) return pathdef write_pdf(template_src, context_dict, filename): template = get_template(template_src) context = Context(context_dict) html = template.render(context) result = open(filename, 'wb') pdf = pisa.pisaDocument(StringIO.StringIO( html.encode("UTF-8")), result, link_callback=fetch_resources) result.close()\[/code\]My HTML has a link to an external CSS and is rendered properly, but the CSS is not used by Pisa (eg. font size, table cell width, text-align...).\[code\]<!DOCTYPE html><html lang="fr"><head> <link rel="stylesheet" href="http://stackoverflow.com/site_media/style/style.css" /></head><body>....\[/code\]Did I miss something?Thanks