Advertisement

03.27.2008 at 04:01PM PDT, ID: 23275964
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Outlook stretches the divs too 100% width

Tags: Microsoft, Outlook, 2007, CSS Stylesheet question
Outlook 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/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
      <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.com/rm_wizard/images/template/cfl.rr.com/aperrelli/banner.jpg" height="226" width="640" usemap="#Map" alt="Anthony Perrelli" /><map name="Map" id="Map"><area shape="rect" coords="234,166,349,180" href="mailto:aperrelli@cfl.rr.com" alt="mapforemail" />
</map></div>
      <div id="content">
            <div id="left-column"><br/><br/>Thank You,<br/><br/>James H.<br/>MLXjet Tech Support<br/><a target="_blank" href="http://www.mlxjet.com">www.mlxjet.com</a><br/><a href="mailto:james@mlxjet.com">james@mlxjet.com</a><br/><br/><br/><br/><br/>
            <img src="http://www.mlxjet.com/rm_wizard/deliveryv2.php?t=MTIwNjY1ODI0MiAxSmYwdmktMDAwNExpLTU1IGphbWVzQG1seGpldC5jb20gamFtZXNAbWx4amV0LmNvbSA4ZWM4MDNiMDBhMWEzODI2MjZmNzY5Y2Y" height="0" width="0" alt="tracking" /></div>
            <div id="footer"><img src="http://images.mlxjet.com/rm_wizard/images/template/cfl.rr.com/aperrelli/footer.jpg" width="640" height="94" usemap="#Map2" alt="Anthony Perrelli" /><map name="Map2" id="Map2"><area shape="rect" coords="22,3,80,22" href="http://www.mlxjet.com/branding.php" alt="branding" />
<area shape="rect" coords="123,6,232,24" href="http://www.mlxjet.com/tracking.php" alt="tracking" />
<area shape="rect" coords="271,4,379,24" href="http://www.mlxjet.com/reseller/index.php" alt="home" />
<area shape="rect" coords="423,5,504,22" href="http://www.mlxjet.com/how.php" alt="how it works" />
<area shape="rect" coords="544,6,620,25" href="http://www.mlxjet.com/templates.php" alt="templates" />
</map></div>
      </div>
</body>
</html>
Start your free trial to view this solution
Question Stats
Zone: Web Development
Question Asked By: flipside1212
Solution Provided By: fridaynightjazz
Participating Experts: 1
Solution Grade: A
Views: 105
Translate:
Loading Advertisement...
03.28.2008 at 10:09AM PDT, ID: 21232248

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
03.28.2008 at 10:09AM PDT, ID: 21232248
flipside1212,

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.com/blog/archives/2007/04/a_guide_to_css_support_in_emai_2.html

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
Accepted Solution
 
 
03.31.2008 at 04:47PM PDT, ID: 21250106
Thanks a lot. This helps me immensely!
 
 
 
20080236-EE-VQP-29 / EE_QW_2_20070628