![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Code
Hello,
I have created a newsletter in Dreamweaver CS3 and I want to be able to send it in the body of an email through Outlook. However, when I copy and paste it the formatting gets lost i Was told by teech support that you could help me with the proper code or tag I need to send this. Thank you. Jori Jori@kristenvictordesign.com 917-903-6577 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <style type="text/css"> <!-- body { font: 100% Verdana, Arial, Helvetica, sans-serif; background: #666666; margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */ padding: 0; text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */ color: #000000; background-color: #FF9900; font-size: 16px; } .twoColHybRtHdr #container { width: 80%; /* this will create a container 80% of the browser width */ background: #FFFFFF; margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */ border: 1px solid #000000; text-align: left; /* this overrides the text-align: center on the body element. */ } .twoColHybRtHdr #header { background: #DDDDDD; padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */ background-color: #ECE9D8; } .twoColHybRtHdr #header h1 { margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */ padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */ } /* Tips for sidebar1: 1. Since we are working in relative units, it's best not to use padding on the sidebar. It will be added to the overall width for standards compliant browsers creating an unknown actual width. 2. Since em units are used for the sidebar value, be aware that its width will vary with different default text sizes. 3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".twoColHybRtHdr #sidebar1 p" rule. */ .twoColHybRtHdr #sidebar1 { float: right; width: 12em; clear: left; margin-top: 0px; padding: 0cm; top: auto; background-color: #ECE9D8; } .twoColHybRtHdr #sidebar1 h3, .twoColHybRtHdr #sidebar1 p { margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */ margin-right: 10px; } /* Tips for mainContent: 1. The space between the mainContent and sidebar1 is created with the right margin on the mainContent div. No matter how much content the sidebar1 div contains, the column space will remain. You can remove this right margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. 2. Be aware it is possible to cause float drop (the dropping of the non-floated mainContent area below the sidebar) if an element wider than it can contain is placed within the mainContent div. WIth a hybrid layout (percentage-based overall width with em-based sidebar), it may not be possible to calculate the exact width available. If the user's text size is larger than average, you will have a wider sidebar div and thus, less room in the mainContent div. You should be aware of this limitation - especially if the client is adding content with Contribute. 3. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This may help avoid several IE-specific bugs. */ .twoColHybRtHdr #mainContent { margin: 0 13em 0 10px; /* the left margin's value is equal to the header and footer which creates alignment down the left side of the document. */ } .twoColHybRtHdr #footer { padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */ background:#DDDDDD; background-color: ECE9D8; } .twoColHybRtHdr #footer p { margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */ padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */ background-color: #FFFFFF; background: ECE9D8; } /* Miscellaneous classes for reuse */ .fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */ float: right; margin-left: 8px; } .fltlft { /* this class can be used to float an element left in your page */ float: left; margin-right: 8px; } .clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */ clear:both; height:0; font-size: 1px; line-height: 0px; } body,td,th { color: #000000; background-color: #D23A0F; } h1 { font-size: medium; margin: auto; } .style2 { font-family: Geneva, Arial, Helvetica, sans-serif; color: #2A1F00; } a:link { color: #D23A0F; } .style4 { font-family: Geneva, Arial, Helvetica, sans-serif; font-weight: bold; color: #D95217; } .style5 { font-size: 24px; font-weight: bold; font-family: Geneva, Arial, Helvetica, sans-serif; } .style6 {font-size: 14px} .style8 {font-size: 14} .style9 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #2A1F00; font-size: 14; } .style10 { color: #D23A0F; font-weight: bold; } .style11 {font-size: 12px} --> </style> <!--[if IE]> <style type="text/css"> /* place css fixes for all versions of IE in this conditional comment */ .twoColHybRtHdr #sidebar1 { padding-top: 30px; } .twoColHybRtHdr #mainContent { zoom: 1; padding-top: 15px; } /* the above proprietary zoom property gives IE the hasLayout it may need to avoid several bugs */ </style> <![endif]--></head> <body class="twoColHybRtHdr"> <div id="container"> <div id="header"> <blockquote> <h1> <img src="Newsletter_clip_image002_0007.jpg" alt="" width="364" height="96" hspace="12" align="left" /> </h1> </blockquote> <h1 align="right"> Summer 2008</h1> <h1 align="right"> Volume I</h1> <p align="center"><span class="style5">Design Flash</span><span class="style2"> <script type="text/javascript"> </script> <br /> </span><span class="style4"><span class="style6"><span class="style8"><a href="http://www.kristenvictordesign.com/">www.kristenvictordesign.com</a></span ></span></span><span class="style9"><br /> <strong>ph. 619.696.1068* fax 619.696.9367</strong></span></p> <!-- end #header --></div> <div class="twoColHybRtHdr style2" id="sidebar1"> <h1 align="center" class="style10">Kristen in the Media</h1> <p>In August Kristen will be featured as a design expert in three television segments on Better TV, a television venture of Meredith Corporation (the publishers of <em>Better Homes and Gardens</em> Magazine).* The segments will air on local TV affiliates throughout the country, including San Diego. They will also be placed on the Better TV broadband web site.* These segments will offer information and product tips to viewers on upscale outdoor design, chic and affordable ways to enhance an outdoor space, and sustainable design ideas.</p> <p>The segments will feature sustainable products from Rejuvenation, Pier 1 Imports, Smith & Hawken, Shaw Industries, and ICI paints.* Look for the link to these segments in next month?s newsletter!</p> <p><span class="style10">Publications coming soon:</span><br /> <em>San Diego Homes & Gardens Lifestyle</em> Fall 2008<br /> <em>Better Homes & Gardens/Specialt</em>y Fall 2008</p> <p><span class="style10">Upcoming Projects:</span><br /> DVD Series ? "How to Design with Kristen" just endorsed by NKBA</p> <!-- end #sidebar1 --></div> <div class="style2" id="mainContent"> <h1 class="style10">Sustainable Design</h1> <p>We have recently completed our first sustainable ?eco-friendly? design project.* Our firm has always kept the environment in mind while designing; specifying reclaimed woods, non-toxic paints, glues and finishes. This year we have worked toward educating ourselves and our clients on how we can make more of a difference.* We are working towards LEED certification, which we hope to obtain once the project is complete. </p> <p>Many ask ?What is sustainable design??* Sustainability is a simple concept based on the recognition that when resources are consumed faster than produced or renewed, the resource is eventually depleted.* In a sustainable world, society?s demands on nature are in balance with nature?s capacity to meet those demands. </p> <p>We also find clients and friends asking ?What does "Green" mean??* Many products are being touted as ?green?.* Today there are many green material choices involving energy and resource saving strategies such as LOW-E windows, reflective roofing, solar technologies, healthy recycled materials such as certified lumber, zero VOC paints and finishers, and natural fibers.* As we become more knowledgeable and create a demand the manufacturers will continue to respond w |
|
|||
|
Re: Code
The formatting should be fine. The only thing that would be broken is the
images because they are done like this: <img src="Newsletter_clip_image002_0007.jpg" alt="" width="364" height="96" hspace="12" align="left" /> When, for emails the img src should be an absolute value as opposed to a relative value as you have now, so the src should look like: src="http://www.yourdomain.com/Newsletter_clip_image002_0007.jpg" |
|
|||
|
Re: Code
I'd cut out any of the comments in the markup. They serve no purpose and only
add to your spam score. Also, for reasons unknown to me inline css in preferred over linking styles in the head of the document. http://www.tizag.com/cssT/inline.php And if you're sending this to more than 50 people at a time with Outlook you could easily get your IP address/domain blacklisted, which would mark all of your future outgoing emails as spam to other ISP's. I'd suggest you look into a service such as steamsend.com or mailchimp.com. They send your mail from a separate IP and keep you from making a lot of dumb mistakes. |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|