Re: CSS Horizontal Centering in IE7

2006-12-11 Thread Matt Quackenbush
Sandra, Jerry, Thank you! Complete oversight on my part. I'll go back to sleep now... apparently I need it! ;-) Thanks, Matt On 12/11/06, Sandra Clark <[EMAIL PROTECTED]> wrote: > > You are creating a 760px width for both html and body, which means that > there is no where else for it to g

RE: CSS Horizontal Centering in IE7

2006-12-11 Thread Sandra Clark
2006 2:56 PM To: CF-Talk Subject: Re: CSS Horizontal Centering in IE7 Sandra, I have the width in there; was just posting minimal code since I know how much I hate to wade thru a bunch of superflous code. Here is the actual CSS rule as written: html, body { margin: 0 auto; text-align: cent

Re: CSS Horizontal Centering in IE7

2006-12-11 Thread Jerry Johnson
Just an uneducated guess here, but if your html is the same width as your body, there is nowhere for the body to go. It is perfectly centered in the html. (Now, why your html is not centering, I have no idea). Jerry Johnson Css Tenderfoot On 12/11/06, Matt Quackenbush <[EMAIL PROTECTED]> wrote:

Re: CSS Horizontal Centering in IE7

2006-12-11 Thread Matt Quackenbush
Sandra, I have the width in there; was just posting minimal code since I know how much I hate to wade thru a bunch of superflous code. Here is the actual CSS rule as written: html, body { margin: 0 auto; text-align: center; width: 760px; min-width: 760px; } Thanks, Matt On 1

RE: CSS Horizontal Centering in IE7

2006-12-11 Thread Andy Matthews
What's your doctype set to? -Original Message- From: Matt Quackenbush [mailto:[EMAIL PROTECTED] Sent: Monday, December 11, 2006 1:36 PM To: CF-Talk Subject: OT: CSS Horizontal Centering in IE7 Well, I'm finally getting around to see what all IE7 has "broken" in my various CSS websites.

RE: CSS Horizontal Centering in IE7

2006-12-11 Thread Sandra Clark
You need a width in there. Another CSS Rule Everything needs to be 100% of the parent, in any case where stuff isn't defined, CSS will always make margin-right large enough to accommodate 100% of the parent. In this case the parent is html. If using auto, then whatever the difference is will be