![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
But in Netscape/Firebird, there's 2em space before and after the table. |
#3
| |||
| |||
|
|
In article <83d55d8.0312081155.21655699 (AT) posting (DOT) google.com> in comp.infosystems.www.authoring.stylesheets, Michael Liu practicalvb (AT) hotmail (DOT) com> wrote: But in Netscape/Firebird, there's 2em space before and after the table. I haven't seen that in my own pages, and you didn't give us a URL. Perhaps you should try setting padding to 0? |
#4
| |||
| |||
|
|
Michael Liu <practicalvb (AT) hotmail (DOT) com> wrote: But in Netscape/Firebird, there's 2em space before and after the table. Here's a URL: http://home.pacbell.net/nexus/temp.html Setting padding to 0 (as done in this page) doesn't seem to help. I viewed this page in IE6 SP1 and Firebird 0.7 on Windows XP. I didn't try it with this particular page, but a similar problem occurred on another page with Netscape 7.1. |
#5
| |||
| |||
|
|
The problem vanishes if you set table to display: block, and appears between two adjacent paragraphs if p is set to display: table. I believe this is a bug in Gecko's handling of display: table as the CSS specs seem to be clear that display: table generates a block level box and that vertical margins of block level boxes should be collapsed. |
![]() |
| Thread Tools | |
| Display Modes | |
| |