RE: [WSG] display differences firefox ie 7.0
If you place text-align: center; on the body tag in the CSS and then margin: auto; on the first 'container' divider then the web page should be centralised in Firefox and IE. Like this: body { text-align: center; } #container { width: 960px; margin: auto; } HTH Darren Lovelock Munky Online Web Design http://www.munkyonline.co.uk/ http://www.munkyonline.co.uk T: +44 (0)20-8816-8893 _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Thomassen Sent: 07 February 2008 07:40 To: wsg@webstandardsgroup.org Subject: Re: [WSG] display differences firefox ie 7.0 On having Layout is a good article that gives good insight to most of IE's quirks: http://www.satzansatz.de/cssd/onhavinglayout.html - Original Message - From: Joe Ortenzi mailto:[EMAIL PROTECTED] To: wsg@webstandardsgroup.org Sent: Thursday, February 07, 2008 8:14 AM Subject: Re: [WSG] display differences firefox ie 7.0 MH: Someone earlier this week sent a very good presentation that explained a lot of the problems you are facing. It is quite a long presentation (more of a lesson really!) but it answers a lot of the problems you are having. There are also a collection of great links sprinkled through that we could all find useful in our bookmarks list. give it a whirl! http://www.hotdesign.com/seybold/ Joe On Feb 6 2008, at 02:10, Michael Horowitz wrote: I've noticed that my site is centered it ie 7.0 but left justified in firefox http://terrorfreeamerica.us/. What are the issues and workarounds to keep them in sync. In this case I would like it centered both ways but I would love to know how to do it either way. Thanks -- Michael Horowitz Your Computer Consultant http://yourcomputerconsultant.com 561-394-9079 *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** Joe Ortenzi [EMAIL PROTECTED] www.joiz.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] display differences firefox ie 7.0
On 7 Feb 2008, at 10:31, Darren Lovelock wrote: If you place text-align: center; on the body tag in the CSS and then margin: auto; on the first 'container' divider then the web page should be centralised in Firefox and IE. Like this: body { text-align: center; } #container { width: 960px; margin: auto; } If you use that technique, then don't forget to set text-align back to left on #container. ... but it is pretty pointless today - IE has supported margin: auto for many years now. Just make sure you aren't in quirks mode. -- David Dorward http://dorward.me.uk/ http://blog.dorward.me.uk/ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] display differences firefox ie 7.0
MH: Someone earlier this week sent a very good presentation that explained a lot of the problems you are facing. It is quite a long presentation (more of a lesson really!) but it answers a lot of the problems you are having. There are also a collection of great links sprinkled through that we could all find useful in our bookmarks list. give it a whirl! http://www.hotdesign.com/seybold/ Joe On Feb 6 2008, at 02:10, Michael Horowitz wrote: I've noticed that my site is centered it ie 7.0 but left justified in firefox http://terrorfreeamerica.us/. What are the issues and workarounds to keep them in sync. In this case I would like it centered both ways but I would love to know how to do it either way. Thanks -- Michael Horowitz Your Computer Consultant http://yourcomputerconsultant.com 561-394-9079 *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** Joe Ortenzi [EMAIL PROTECTED] www.joiz.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] display differences firefox ie 7.0
On having Layout is a good article that gives good insight to most of IE's quirks: http://www.satzansatz.de/cssd/onhavinglayout.html - Original Message - From: Joe Ortenzi To: wsg@webstandardsgroup.org Sent: Thursday, February 07, 2008 8:14 AM Subject: Re: [WSG] display differences firefox ie 7.0 MH: Someone earlier this week sent a very good presentation that explained a lot of the problems you are facing. It is quite a long presentation (more of a lesson really!) but it answers a lot of the problems you are having. There are also a collection of great links sprinkled through that we could all find useful in our bookmarks list. give it a whirl! http://www.hotdesign.com/seybold/ Joe On Feb 6 2008, at 02:10, Michael Horowitz wrote: I've noticed that my site is centered it ie 7.0 but left justified in firefox http://terrorfreeamerica.us/. What are the issues and workarounds to keep them in sync. In this case I would like it centered both ways but I would love to know how to do it either way. Thanks -- Michael Horowitz Your Computer Consultant http://yourcomputerconsultant.com 561-394-9079 *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** Joe Ortenzi [EMAIL PROTECTED] www.joiz.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
[WSG] display differences firefox ie 7.0
I've noticed that my site is centered it ie 7.0 but left justified in firefox http://terrorfreeamerica.us/. What are the issues and workarounds to keep them in sync. In this case I would like it centered both ways but I would love to know how to do it either way. Thanks -- Michael Horowitz Your Computer Consultant http://yourcomputerconsultant.com 561-394-9079 *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] display differences firefox ie 7.0
#wrapper { margin: 0 auto; padding: 0; text-align: left; width: 950px; } Cheers Adam Michael Horowitz wrote: I've noticed that my site is centered it ie 7.0 but left justified in firefox http://terrorfreeamerica.us/. What are the issues and workarounds to keep them in sync. In this case I would like it centered both ways but I would love to know how to do it either way. Thanks *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] display differences firefox ie 7.0
In wrapper, change the margin to be: margin: 0 auto; To center block-level elements, you set margin-left: auto and margin-right: auto (margin: 0 auto is a shortcut for that). In IE, at least IE6, it wrongfully would let you use text-align: center to position block level elements. Not sure about IE7. FF only lets you use the margin method. Michael Horowitz wrote: I've noticed that my site is centered it ie 7.0 but left justified in firefox http://terrorfreeamerica.us/. What are the issues and workarounds to keep them in sync. In this case I would like it centered both ways but I would love to know how to do it either way. Thanks -- Christian Snodgrass Azure Ronin Web Design http://www.arwebdesign.net/ http://www.arwebdesign.net Phone: 859.816.7955 *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] display differences firefox ie 7.0
Hello again Michael; Same story different instance, in this case the wrapper needs to have them, ie. #wrapper { text-align: left; margin: 0 auto; padding: 0 auto; width: 950px; } HTH ~Veine snip On 5 Feb 2008 at 21:10, Michael Horowitz wrote: I've noticed that my site is centered it ie 7.0 but left justified in firefox http://terrorfreeamerica.us/. /snip This communication contains information from Vikberg.Net that may be confidential. Except for personal use by the intended recipient, or as expressly authorized by the sender, any person who receives this information is prohibited from disclosing, copying, distributing, and/or using it. If you have received this communication in error, please immediately delete it and all copies, and promptly notify the sender. Nothing in this communication is intended to operate as an electronic signature under applicable law. © 2008 Vikberg.Net. All rights reserved. *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] display differences firefox ie 7.0
Try #wrapper { margin: 0px auto; } On Feb 6, 2008 1:10 PM, Michael Horowitz [EMAIL PROTECTED] wrote: I've noticed that my site is centered it ie 7.0 but left justified in firefox http://terrorfreeamerica.us/. What are the issues and workarounds to keep them in sync. In this case I would like it centered both ways but I would love to know how to do it either way. Thanks -- Michael Horowitz Your Computer Consultant http://yourcomputerconsultant.com 561-394-9079 *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** -- Rohini Goyal. If you make a copy of your system configuration nine out of ten times, the tenth time is the only time you'll need it. *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***