Thanks a lot. This helps me immensely!
Main Topics
Browse All TopicsOutlook seems to stretch the div containers to fill the available area. Everything displays fine except for that white space fills and area to the right of my design and the div's borders stretch and render to the right edge. Does anyone know how I can rewrite the following code so that it stays 640px wide and doesn't render the border to the right edge.
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtm
<html xmlns="http://www.w3.org/1
<head>
<title>Anthony Perrelli</title>
<style type="text/css">
<!--
#header{
position: absolute;
top: 10px;
left: 10px;
width: 640px;
height: 226px;
border-left: #000000 5px solid;
border-top: #000000 5px solid;
border-right: #000000 5px solid;}
#content{
position: absolute;
left: 10px;
top: 226px;
width: 640px;
color: #444444;
border-left: #000000 5px solid;
border-right: #000000 5px solid;}
#left-column{
float: left;
padding-left: 20px;
padding-bottom: 20px;
left: 0px;
width: 640px;
}
#footer{
clear: both;
height: 94px;
width: 640px;
left: 0px;
border-bottom: #000000 5px solid;}
img{border-style:none;}
-->
</style>
</head>
<body>
<div id="header"><img src="http://images.mlxjet.
</map></div>
<div id="content">
<div id="left-column"><br/><br/
<img src="http://www.mlxjet.com
<div id="footer"><img src="http://images.mlxjet.
<area shape="rect" coords="123,6,232,24" href="http://www.mlxjet.co
<area shape="rect" coords="271,4,379,24" href="http://www.mlxjet.co
<area shape="rect" coords="423,5,504,22" href="http://www.mlxjet.co
<area shape="rect" coords="544,6,620,25" href="http://www.mlxjet.co
</map></div>
</div>
</body>
</html>
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: fridaynightjazzPosted on 2008-03-28 at 10:09:52ID: 21232248
flipside1212,
.com/blog/ archives/2 007/04/ a_g uide_to_cs s_support_ in_emai_2. html
Outlook does not recognise the CSS property 'width' - weird, I know, but this is Outlook 2007. Likewise, it doesn't recognise 'position', 'float', or 'clear'. It would therefore render the container width to the maximum window width. Refer to this link for more information:
http://www.campaignmonitor
The solution would be to use a table, and use that as your content 'div' with a 640px width: messy and outdated, but unfortunately it's the only way to solve common problems in email design. I work with email campaigns and their coding every day, and although it pains me to use tables and abandon most of CSS, I have to do this for maximum email client compatibility.
Hope this helps,
FNJ