----- Original Message ----- From: "Doug Niven" <[EMAIL PROTECTED]> Sent: Sunday, February 10, 2008 11:58 AM Subject: [css-d] Image within DIV alignment problem
> Hi Folks, > > I've got a frustrating problem center-aligning images within a DIV, which > can be seen here: > > http://niven.gotodon.net/slideshow7.html > > Though this does display correctly on some Windows browsers, it breaks in > Firefox (Mac) and Safari (Mac). Here's a screen capture of what we're > seeing: > > http://www.douglasniven.com/fineprint_draft.html > > Any ideas or suggestions? I'm spent. > > Many thanks in advance. > > Doug > Doug: First, validate your mark up. Leaving aside the missing 'alt' attributes required by XHTML 1.0 Strict, you are missing the xmlns declaration; a link tag to your CSS needs to be (self) closed; and there is no <center> element. See where this gets you. Best Regards, Peter www.fatpawdesign.com ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
