RE: [WSG] [IE 6 Problem] -Container will not align centre to the page.
Thank you Hunt, I hadn't even noticed I included that xml tag. I was playing around with SVG shapes half of year ago and I grabbed the Doctype from that document without thought. Thank you for the reminder. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lachlan Hunt Sent: February 13, 2006 9:48 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] [IE 6 Problem] -Container will not align centre to the page. Omen King wrote: > I have gone about creating this site for a class I have. > I have been using in the past XHTML 1.0 strict but the doctype we must use > is XHTML 1.1 Strict and it is giving me trouble. Firstly, XHTML 1.1 Strict doesn't exist, it's just XHTML 1.1. Don't confuse it with XHTML 1.0 Strict/Transitional/Frameset, there are no such variants for XHTML 1.1. Secondly, is your teacher aware of the fact that real world browsers don't support XHTML 1.1 properly, and that some don't support it at all? Most notably, no version of IE supports it - anyone who says (or tries to show) otherwise is lying. Perhaps my recent article would be an enlightening read for both you and your teacher. http://lachy.id.au/log/2005/12/xhtml-beginners > I have already know the problem is some kind of rule issue. I am researching > the problem currently but if anyone already knows the anwser it would be > greatly appericated. > > Please view this page both in IE 6 and Firefox. > > http://www.monsterboxproductions.com/hwk/thedigitallibary/index.html It appears to work in Firefox, IE7 and Opera just fine (though, it really only "works" in IE thinks it's receiving HTML, not XHTML - it's a MIME type issue). I don't have IE6 available to test in without uninstalling IE7. However, you need to be aware that using the XML declaration triggers quirks mode in IE6 (they fixed that bug in IE7) and this may be the cause of your immediate problem. Remove this line: To fix any other problems correctly, it requires using the correct MIME type. The easiest way is to change the file extension to .xht or .xhtml and add this line to your .htaccess file on your server (create it if you don't have one, Google for ".htaccess files" for more info) AddType application/xhtml+xml .xht .xhtml (After doing this, you won't be able to view it in IE, only Firefox, Opera and other descent modern browsers, but you will learn a valuable lesson none-the-less) -- Lachlan Hunt http://lachy.id.au/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] [IE 6 Problem] -Container will not align centre to the page.
Omen King wrote: I have gone about creating this site for a class I have. I have been using in the past XHTML 1.0 strict but the doctype we must use is XHTML 1.1 Strict and it is giving me trouble. Firstly, XHTML 1.1 Strict doesn't exist, it's just XHTML 1.1. Don't confuse it with XHTML 1.0 Strict/Transitional/Frameset, there are no such variants for XHTML 1.1. Secondly, is your teacher aware of the fact that real world browsers don't support XHTML 1.1 properly, and that some don't support it at all? Most notably, no version of IE supports it - anyone who says (or tries to show) otherwise is lying. Perhaps my recent article would be an enlightening read for both you and your teacher. http://lachy.id.au/log/2005/12/xhtml-beginners I have already know the problem is some kind of rule issue. I am researching the problem currently but if anyone already knows the anwser it would be greatly appericated. Please view this page both in IE 6 and Firefox. http://www.monsterboxproductions.com/hwk/thedigitallibary/index.html It appears to work in Firefox, IE7 and Opera just fine (though, it really only "works" in IE thinks it's receiving HTML, not XHTML - it's a MIME type issue). I don't have IE6 available to test in without uninstalling IE7. However, you need to be aware that using the XML declaration triggers quirks mode in IE6 (they fixed that bug in IE7) and this may be the cause of your immediate problem. Remove this line: To fix any other problems correctly, it requires using the correct MIME type. The easiest way is to change the file extension to .xht or .xhtml and add this line to your .htaccess file on your server (create it if you don't have one, Google for ".htaccess files" for more info) AddType application/xhtml+xml .xht .xhtml (After doing this, you won't be able to view it in IE, only Firefox, Opera and other descent modern browsers, but you will learn a valuable lesson none-the-less) -- Lachlan Hunt http://lachy.id.au/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
RE: [WSG] IE 6 problem
> Now, can someone tell me why that > works? Doesn't > this entirely defeat the purpose of end tags? I thought spaces were > ignored. Simple answer: IE is a buggy browser. It tries, it's better than previous versions, but it's still plagued with annoying problems like this one. Yes, in theory the spaces should have no ill effect there, but IE disagrees... P Patrick H. Lauke Webmaster / University of Salford http://www.salford.ac.uk * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *
Re: [WSG] IE 6 problem
Holy Cow! it worked. Now, can someone tell me why that works? Doesn't this entirely defeat the purpose of end tags? I thought spaces were ignored. marco della pina wrote: Try to write your unsorted list in one single line: Revenue Per VisitFACF The must help! Greetz, Marco -- Barbara Dozetos [EMAIL PROTECTED] Physician's Computer CompanyMarketing Team 1 Main St., Ste 7 802-846-5532 Winooski, VT 05404 * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *
RE: [WSG] IE 6 problem
Barb, Make them block level elements with -- display: block; in your CSS. Mike Pepper http://seowebsitepromotion.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Barbara Dozetos Sent: 29 April 2004 16:05 To: [EMAIL PROTECTED] Subject: [WSG] IE 6 problem Hi again, I'm trying to figure out why IE 6 in XP is messing up my left hand navigation layout on this page: www.pcc.com/benchmark/ Seems to work fine in all other browsers, but in IE6 I get spaces between the 'buttons' that are not supposed to be there. Ideas, anyone? Thanks, Barb -- Barbara Dozetos [EMAIL PROTECTED] Physician's Computer CompanyMarketing Team 1 Main St., Ste 7 802-846-5532 Winooski, VT 05404 * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help * * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *
Re: [WSG] IE 6 problem
This is probably just IE6 and its treatment of whitespace and carriage returns. I haven't got time to look in detail now but two quick solutions to try: 1. run the entire list and all its contents as a single line of code with no whitespace - should immediately fix the bug. 2. create a new rule for your li element: li {display: inline} This works in specific instances but no time to check, explain or recommend it at present - but give it a go :) Russ > > Hi again, > > I'm trying to figure out why IE 6 in XP is messing up my left hand > navigation layout on this page: www.pcc.com/benchmark/ > > Seems to work fine in all other browsers, but in IE6 I get spaces > between the 'buttons' that are not supposed to be there. > > Ideas, anyone? > > Thanks, > > Barb > > -- > Barbara Dozetos[EMAIL PROTECTED] > Physician's Computer CompanyMarketing Team > 1 Main St., Ste 7802-846-5532 > Winooski, VT 05404 > > > * > The discussion list for http://webstandardsgroup.org/ > See http://webstandardsgroup.org/mail/guidelines.cfm > for some hints on posting to the list & getting help > * Thanks Russ --- Russ Weakley Max Design Phone: (02) 9410 2521 Mobile: 0403 433 980 Email: [EMAIL PROTECTED] http://www.maxdesign.com.au --- * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *
RE: [WSG] IE 6 problem
> Hi again, > > I'm trying to figure out why IE 6 in XP is messing up my left hand > navigation layout on this page: www.pcc.com/benchmark/ > > Seems to work fine in all other browsers, but in IE6 I get spaces > between the 'buttons' that are not supposed to be there. > > Ideas, anyone? Try to write your unsorted list in one single line: Revenue Per VisitFACF The must help! Greetz, Marco * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *