July 21, 2003

Weird webpages here...

I've been told (and then saw) that my /photos webpages were rendered in non Opera broswers with a blank section before the photos appeared. I traced it to two issues:
  • I had two <body> tags in the html page.
  • The Internal Frames were being rendered with the frame larger than I had specified. This was because Moveable Type specified the html header as:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">

         instead of
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

Not sure why this was, but changing the above seemed to fix everything.

Posted by Sam at July 21, 2003 05:53 PM
Comments
Post a comment









Remember personal info?