Re: [css-d] How to validate quirky stuff
Jack Keller wrote: I followed the methodology from quirksmode.org on obtaining the centered layout, but my problem is this, with doctype it will validate but not display correctly, without doctype it displays excellent, but will not obviously validate. http://www.cell7.org/leadership/dev/template.htm - with doctype/tentatively validates (haven't added meta data) http://www.cell7.org/leadership/dev/test.htm - without doctype/no validation Jack, I can't tell you how to get it to work and validate, but I would definitely use a page that has a doctype. If you don't, you are virtually guaranteed that some of the content you add and layout down the road is going to display in unexpected and cross-browser-inconsistent ways, and it will be much harder to fix. Although having no doctype lets your page display fine now, once it becomes a fully fleshed out site, you will probably run into problems. So, keep looking for a solution that allows a doctype! Good luck, Zoe -- Zoe M. Gillenwater Design Specialist UNC Highway Safety Research Center http://www.hsrc.unc.edu __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] How to validate quirky stuff
The DocType will always be a problem when using the method you have chosen. Take a look at the last section of http://www.alistapart.com/articles/footers/ and the demo file at http://www.alistapart.com/d/footers/footer_variation1.html It uses a little javascript to ensure that the vertical centering happens (and it validates). Might be what you're after. Regards, Jachin Sheehy Senior Web Developer InternetFiji On 6/30/05, Jack Keller <[EMAIL PROTECTED]> wrote: > I followed the methodology from quirksmode.org on obtaining the > centered layout, but my problem is this, with doctype it will validate > but not display correctly, without doctype it displays excellent, but > will not obviously validate. __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] How to validate quirky stuff
Okay, this is actually separate from my earlier question, and yes I researched the wiki and google for answers but nothing really addresses a solution. I am wanting a vertical and horizontal centered content area for a site I'm working on, this is just roughly laid out right now but you'll see what I mean from the two examples. I followed the methodology from quirksmode.org on obtaining the centered layout, but my problem is this, with doctype it will validate but not display correctly, without doctype it displays excellent, but will not obviously validate. http://www.cell7.org/leadership/dev/template.htm - with doctype/tentatively validates (haven't added meta data) http://www.cell7.org/leadership/dev/test.htm - without doctype/no validation I'm sure someone knows how to get this type of layout to both work, and validate, both files are using the same css file http://www.cell7.org/leadership/dev/site.css Jack __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/