Re: OT: CSS Horizontal Centering in IE7

2006-12-11 Thread Matt Quackenbush
Scott,

http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>

is what I use.  So, unless there's a new one for strict, which I haven't
found, unfortunately that's not the problem.  :-(

By posting that though, does that indicate that you are using the strict
doctype declaration, along with the 'margin: 0 auto;' in your pages, and IE7
still horizontally centers them?


Thanks,

Matt



On 12/11/06, Scott Stroz <[EMAIL PROTECTED]> wrote:
>
> Matt,
>
> Check you document declaration.  If it is non-existent, incomplete or has
> syntax errors, the browser will, be default, show the page in 'quirks
> mode'.
>
>


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263581
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: OT: CSS Horizontal Centering in IE7

2006-12-11 Thread Scott Stroz
Matt,

Check you document declaration.  If it is non-existent, incomplete or has
syntax errors, the browser will, be default, show the page in 'quirks mode'.

On 12/11/06, Matt Quackenbush <[EMAIL PROTECTED]> wrote:
>
> Well, I'm finally getting around to see what all IE7 has "broken" in my
> various CSS websites.  I was rather surprised to find out that horizontal
> centering is on the list.  For instance, the following does not render
> properly in IE7:
>
> body {
>margin: 0 auto;
> }
>
> While that *should* have no top/bottom margin, and the body centered on
> the
> screen, in IE7 it is now aligned left.  I've searched around google to see
> if I could find any articles regarding this, but have yet to do so.  So,
> if
> you've run across this and have already found/figured out what IE7 wants
> to
> see in order to behave properly, can you please post it?  I'm sure there
> are
> quite a few people (myself included) who would be most appreciative!
>
>
> Thanks,
>
> Matt
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263573
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


OT: CSS Horizontal Centering in IE7

2006-12-11 Thread Matt Quackenbush
Well, I'm finally getting around to see what all IE7 has "broken" in my
various CSS websites.  I was rather surprised to find out that horizontal
centering is on the list.  For instance, the following does not render
properly in IE7:

body {
   margin: 0 auto;
}

While that *should* have no top/bottom margin, and the body centered on the
screen, in IE7 it is now aligned left.  I've searched around google to see
if I could find any articles regarding this, but have yet to do so.  So, if
you've run across this and have already found/figured out what IE7 wants to
see in order to behave properly, can you please post it?  I'm sure there are
quite a few people (myself included) who would be most appreciative!


Thanks,

Matt


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263570
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4