From d8b3cd09363fbd7387eccf2a78ca90dc2d053763 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 18 Mar 2008 13:31:50 +0000 Subject: [PATCH] =?utf8?q?Bug=20365365:=20Fix=20various=20HTML=20and=20CSS?= =?utf8?q?=20validation=20errors=20when=20viewing=20attachments=20-=20Patc?= =?utf8?q?h=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r=3Djustdave=20a=3DLpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- skins/standard/global.css | 16 +++++++++++++ template/en/default/attachment/edit.html.tmpl | 23 ++++++++----------- .../attachment/show-multiple.html.tmpl | 4 ---- 3 files changed, 25 insertions(+), 18 deletions(-) diff --git a/skins/standard/global.css b/skins/standard/global.css index 423e398b46..08916d0388 100644 --- a/skins/standard/global.css +++ b/skins/standard/global.css @@ -334,6 +334,22 @@ dl dl > dt { padding-left: 1em; } +table.attachment_info th { + text-align: right; + vertical-align: top; +} + +table.attachment_info td { + text-align: left; + vertical-align: top; +} + +/* Text displayed when the attachment is not viewable by the web browser */ +#noview { + text-align: left; + vertical-align: middle; +} + /* For bug fields */ .uneditable_textarea { width: 30em; diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 3796b56505..a2c60ac252 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -36,11 +36,6 @@ header = header subheader = subheader doc_section = "attachments.html" - style = " - table.attachment_info th { text-align: right; vertical-align: top; } - table.attachment_info td { text-align: left; vertical-align: top; } - #noview { text-align: left; vertical-align: middle; } - " %] diff --git a/template/en/default/attachment/show-multiple.html.tmpl b/template/en/default/attachment/show-multiple.html.tmpl index 632a862712..36088c96cf 100644 --- a/template/en/default/attachment/show-multiple.html.tmpl +++ b/template/en/default/attachment/show-multiple.html.tmpl @@ -31,10 +31,6 @@ title = title header = header subheader = filtered_summary - style = " - table.attachment_info th { text-align: right; vertical-align: top; } - table.attachment_info td { text-align: left; vertical-align: top; } - " %]
-- 2.47.3