From: lpsolit%gmail.com <> Date: Tue, 18 Mar 2008 13:31:50 +0000 (+0000) Subject: Bug 365365: Fix various HTML and CSS validation errors when viewing attachments ... X-Git-Tag: bugzilla-3.1.3~277 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8b3cd09363fbd7387eccf2a78ca90dc2d053763;p=thirdparty%2Fbugzilla.git Bug 365365: Fix various HTML and CSS validation errors when viewing attachments - Patch by Frédéric Buclin r=justdave a=LpSolit --- 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; } - " %]