Results 1 to 3 of 3

Thread: css and outlook

  1. #1

    Thread Starter
    Hyperactive Member thebloke's Avatar
    Join Date
    May 2003
    Posts
    358

    css and outlook

    Guys

    I have a htm file mostly written using css that renders fine in ie, firefox and netscape however I need to send it out by email.

    I've written some cdo code which does this very nicely thank you however when I open the email in outlook express all the images that are contained in css styles have vanished.

    Any ideas how to overcome this?

    Cheers

    The Bloke
    www.blokeinthekitchen.com
    making cooking cool for blokes

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: css and outlook

    The CSS has to be publicly available, and the link to it in the HTML has to be a full url to the public location of the CSS file.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Hyperactive Member thebloke's Avatar
    Join Date
    May 2003
    Posts
    358

    Re: css and outlook

    I've put the css into the htm file. All of the image locations are full urls. The font styles are being picked up and any images with a full path in the html are shown, just not anything in a style like

    #thisstyle
    {
    left: 0px;
    height: 18px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 7px;
    background-image: url(http://www.mysite.com/images/myimage.gif);
    background-repeat: repeat-x;
    text-align: left;
    }
    The Bloke
    www.blokeinthekitchen.com
    making cooking cool for blokes

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width