You are here: Re: Wnat to embed full HTML page in email, but migrating style from css files to element style attributes « PHP Programming Language « IT news, forums, messages
Re: Wnat to embed full HTML page in email, but migrating style from css files to element style attributes

Posted by Dikkie Dik on 12/14/06 16:45

Can you "inject" the contents of the css files in a style tag in the
html-head section of the mail? Like:

<html>
<head>
<style type="text/css"><!--
(contents of your css files here)
--></style>
etc.

Henrik wrote:
> My web pages of course use css files, but Webmail services require
> style to be in element style attributes.
>
> How do I convert a standard HTML page to HTML suitable for delivery to
> webmail services?
>
> Perhaps another way to ask the question is:
>
> How to I walk the DOM and for every element, for every style, set the
> element's style attribute to the values that are looked up in the css
> file in normal rendering.
>
> Anyone know of any tools, or examples to do this?
>
> Thanks,
>
> - Henrik
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация