From 67f68abf0ee62e565188c31a0adeacfddc585337 Mon Sep 17 00:00:00 2001 From: "troy%netscape.com" Date: Wed, 2 Feb 2000 15:38:01 +0000 Subject: [PATCH] b=25617, r=buster@netscape.com r=karnaze@netscape.com Removed rules that specify margin-left for right floated table/image and margin-right for left floated table/image. This doesn't work when percentage based widths are involved --- layout/html/document/src/html.css | 13 ------------- layout/style/html.css | 13 ------------- 2 files changed, 26 deletions(-) diff --git a/layout/html/document/src/html.css b/layout/html/document/src/html.css index d68491b8d140..4298843244e6 100644 --- a/layout/html/document/src/html.css +++ b/layout/html/document/src/html.css @@ -151,12 +151,6 @@ table { margin-bottom: 0; box-sizing: border-box; } -table[align=left] { - margin-right: 4px; -} -table[align=right] { - margin-left: 4px; -} /* must never set padding in td, th */ td, th { @@ -417,13 +411,6 @@ br { img { display: inline; } -/* note: not exactly 4.x compatible; 4.x has 3px for *both* margins */ -img[align=left] { - margin-right: 4px; -} -img[align=right] { - margin-left: 4px; -} :link img, :visited img, :out-of-date img, :link:active img, :visited:active img, :out-of-date:active img, img[usemap], object[usemap] { diff --git a/layout/style/html.css b/layout/style/html.css index d68491b8d140..4298843244e6 100644 --- a/layout/style/html.css +++ b/layout/style/html.css @@ -151,12 +151,6 @@ table { margin-bottom: 0; box-sizing: border-box; } -table[align=left] { - margin-right: 4px; -} -table[align=right] { - margin-left: 4px; -} /* must never set padding in td, th */ td, th { @@ -417,13 +411,6 @@ br { img { display: inline; } -/* note: not exactly 4.x compatible; 4.x has 3px for *both* margins */ -img[align=left] { - margin-right: 4px; -} -img[align=right] { - margin-left: 4px; -} :link img, :visited img, :out-of-date img, :link:active img, :visited:active img, :out-of-date:active img, img[usemap], object[usemap] {