| Safari Vs. Firefox/Camino/Etc.
|
ebteksystems

msg:1588937 | 11:18 am on Jun 25, 2004 (gmt 0) | Hello, At the site that I am putting together I have been using 1 celled tables inside of an inline frame to act as a title for each page. I have ran into a rather obnoxious problem with the difference between Safari and Firefox, loading tendencies. The cell height fluxuates in height between the 2, which makes it impossible to use, since I either have to deal with a horizontal scrollbar in Firefox or a small gab of white space in Safari. Help! Thanks. <Sorry, no personal URLs. See TOS [webmasterworld.com]> [edited by: tedster at 11:38 am (utc) on June 25, 2004]
|
tedster

msg:1588938 | 11:40 am on Jun 25, 2004 (gmt 0) | This sounds like it might be a question of quirks mode and standards mode - what DTD are you using? Another question might be why load a second document into an iframe when it just holds a title for the page? Maybe I missed something, but wouldn't you be better off bypassing the whole issue and just writing the title in the regular document?
|
ebteksystems

msg:1588939 | 11:53 am on Jun 25, 2004 (gmt 0) | I think that I am using... <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> As for writing the titles in the above frame, instead of the inline frame. I found the iframe a lot less messy. It just seems really weird to me that a 21 pixel height cell would be 2 times as big in Firefox then Safari.
|
MatthewHSE

msg:1588940 | 12:26 pm on Jun 25, 2004 (gmt 0) | You need to use a complete doctype, which includes a URL. Here's the one you're using: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| Source: [w3.org...] Failure to use the URL in your doctype will result in the page still being rendered in quirks mode. Why are you using a one-celled table for your title? Mightn't a <div> or, better, an Hx tag be more to the point and less code?
|
|
|