> I have found a solution and that is to use display:table-cell.

I don't think table-cell is supported in IE7 and below. You may want to try
max-width *instead of* setting width on the inner container as was suggested
earlier. This works even in IE7. The underscore version of width is the
fallback for IE6:

#contents {
max-width: 800px;
_width: 800px;
background:#99F;
border:2px solid yellow;
}

Best regards,

Kepler Gelotte
Neighbor Webmaster, Inc.
156 Normandy Dr., Piscataway, NJ 08854
www.neighborwebmaster.com
phone/fax: (732) 302-0904




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************

Reply via email to