When not using a doctype, IE uses a different method to calculate
sizes of the boxes.

Standards:
declared width = content element

IE quirks
declared width = content element + padding + border + margin

-Kevin

On 4/28/05, Raymond Camden <[EMAIL PROTECTED]> wrote:
> Not sure what you mean by Standards or Quirks mode. I'm not using any
> DOCTYPE (which I know is bad) - what do you recommend?
> 
> On 4/28/05, Dawson, Michael <[EMAIL PROTECTED]> wrote:
> > Are you in "Standards" or "Quirks" mode?  What DOCTYPE are you using?
> >
> > M!ke
> >
> > -----Original Message-----
> > From: Raymond Camden [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, April 28, 2005 10:08 AM
> > To: CF-Community
> > Subject: freaky CSS Issue with IE + Tables
> >
> > So, I've got a site wrapper that handles my layout. The header and
> > footer start/stop a div called pageBody. pageBody looks like so:
> >
> > ...pageBody, .pageBody td {
> >         margin: 20px;
> >         font-family: Verdana;
> >         font-size: 10px;
> >         color: #666666;
> > }
> >
> > The main point was to set text and to ensure I had a margin around my
> > block. In firefox, this works fine. In IE, it works normally, but if I
> > have a table with width="100%", then the right side goes past the
> > margin, all the way to the edge. Anyway know why?
> >
> >
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase Studio MX with Flash Pro from House of Fusion, a Macromedia Authorized 
Affiliate and support the CF community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=51

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:155815
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to