Re: 'FAT' table rows
Clarence (Andreas M. Schneider) wrote: > Jason Fleshman wrote: > >>I have a similar problem, but it's not paragraph-related that I can see. >> The two pages below are exactly the same, with the exception that one >>explicitly uses the 4.01 Loose DTD. Notice the extra vertical spacing >>in the TDs, especially the ones I'm using as borders. (It's very >>noticeable in the menus at the top of the page.) Should I be using >> img {margin: 0px; padding: 0px;} in my style sheet as well? >> > > Looks like http://bugzilla.mozilla.org/show_bug.cgi?id=22274 > (resolved invalid). You may want to use img { display: block } > (maybe not for all images). > > Clarence Thanks, your suggestion worked perfectly -- didn't even break NN4! Of course, as several people pointed out in the bug, I should probably make a page that more closely follows the spirit of the HTML 4 spec, but that's a project for another day. --Jason
Re: 'FAT' table rows
Jason Fleshman wrote: > > I have a similar problem, but it's not paragraph-related that I can see. > The two pages below are exactly the same, with the exception that one > explicitly uses the 4.01 Loose DTD. Notice the extra vertical spacing > in the TDs, especially the ones I'm using as borders. (It's very > noticeable in the menus at the top of the page.) Should I be using > img {margin: 0px; padding: 0px;} in my style sheet as well? Looks like http://bugzilla.mozilla.org/show_bug.cgi?id=22274 (resolved invalid). You may want to use img { display: block } (maybe not for all images). Clarence
Re: 'FAT' table rows
Bill Lee wrote: > Hey all, > I've noticed in Moz a lot of tables have 'fat' rows. Could someone > clue me in as to what's going on? This page (for example) looks perfect > in IE and N4.7+, but in Moz, the rows are much too fat... > http://www.benway.com/firesign/ > > Is this a Moz problem or the site's? > > TIA! > bl I have a similar problem, but it's not paragraph-related that I can see. The two pages below are exactly the same, with the exception that one explicitly uses the 4.01 Loose DTD. Notice the extra vertical spacing in the TDs, especially the ones I'm using as borders. (It's very noticeable in the menus at the top of the page.) Should I be using img {margin: 0px; padding: 0px;} in my style sheet as well? Without 4.01 Loose DTD: http://www.jasonfleshman.org/random_stuff/ With 4.01 Loose DTD: http://www.jasonfleshman.org/random_stuff/index2.php3 Thanks in advance for any help! --Jason
Re: 'FAT' table rows
StOo wrote: > > just out of interest is there a recommended default margin setting for > browsers? i.e. is Mozilla "right" to do this and is IE "wrong"? The sample style sheet for HTML 4.0 in CSS2 has { margin: 1.33em 0 } (same as line-height) for most block elements. Mozilla has mostly { margin: 1em 0 } in html.css. The HTML spec recommends some basic settings. http://www.w3.org/TR/REC-CSS2/sample.html http://lxr.mozilla.org/seamonkey/source/layout/html/document/src/html.css http://www.w3.org/TR/html401/struct/text.html#h-9.3.5 Clarence
Re: 'FAT' table rows
On Sun, 3 Jun 2001, StOo wrote: > > just out of interest is there a recommended default margin setting for > browsers? No. > i.e. is Mozilla "right" to do this and is IE "wrong"? Not particularly. We try to emulate IE quite closely, unfortunately IE doesn't have a set of default margins that are easy to describe in CSS, so we have to approximate. (In quirks mode we try harder, the page you pointed out triggers standards mode.) -- Ian Hickson )\ _. - ._.) fL Netscape, Standards Compliance QA /. `- ' ( `--' +1 650 937 6593`- , ) - > ) \ irc.mozilla.org:Hixie _ (.' \) (.' -' __
Re: 'FAT' table rows
"Ian Hickson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Sun, 3 Jun 2001, Bill Lee wrote: > > > > Hey all, > > I've noticed in Moz a lot of tables have 'fat' rows. Could someone clue > > me in as to what's going on? This page (for example) looks perfect in > > IE and N4.7+, but in Moz, the rows are much too fat... > > http://www.benway.com/firesign/ > > > > Is this a Moz problem or the site's? > > Technically, neither. The problem is that the site is not being explicit > about its margins, and so Mozilla is using its defaults, which are > different from other browsers'. Saying something like: > >td p, td h1 { margin: 0; } > > ...in the stylesheet solves some of the problems. > > -- > Ian Hickson )\ _. - ._.) fL > Netscape, Standards Compliance QA /. `- ' ( `--' > +1 650 937 6593`- , ) - > ) \ > irc.mozilla.org:Hixie _ (.' \) (.' -' __ just out of interest is there a recommended default margin setting for browsers? i.e. is Mozilla "right" to do this and is IE "wrong"? stoo..
Re: 'FAT' table rows
On Sun, 3 Jun 2001, Bill Lee wrote: > > Hey all, > I've noticed in Moz a lot of tables have 'fat' rows. Could someone clue > me in as to what's going on? This page (for example) looks perfect in > IE and N4.7+, but in Moz, the rows are much too fat... > http://www.benway.com/firesign/ > > Is this a Moz problem or the site's? Technically, neither. The problem is that the site is not being explicit about its margins, and so Mozilla is using its defaults, which are different from other browsers'. Saying something like: td p, td h1 { margin: 0; } ...in the stylesheet solves some of the problems. -- Ian Hickson )\ _. - ._.) fL Netscape, Standards Compliance QA /. `- ' ( `--' +1 650 937 6593`- , ) - > ) \ irc.mozilla.org:Hixie _ (.' \) (.' -' __
'FAT' table rows
Hey all, I've noticed in Moz a lot of tables have 'fat' rows. Could someone clue me in as to what's going on? This page (for example) looks perfect in IE and N4.7+, but in Moz, the rows are much too fat... http://www.benway.com/firesign/ Is this a Moz problem or the site's? TIA! bl