From 142d868ba104f72c3cc009f031f1ddcb37fe6163 Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Fri, 19 Aug 2011 19:10:49 +0000 Subject: [PATCH] 4305: p element in W3 compliance svn: r18048 --- src/plugins/webreport/NarrativeWeb.py | 3 ++- src/plugins/webstuff/css/Web_Basic-Ash.css | 2 +- src/plugins/webstuff/css/Web_Basic-Blue.css | 2 +- src/plugins/webstuff/css/Web_Basic-Cypress.css | 2 +- src/plugins/webstuff/css/Web_Basic-Lilac.css | 2 +- src/plugins/webstuff/css/Web_Basic-Peach.css | 2 +- src/plugins/webstuff/css/Web_Basic-Spruce.css | 2 +- src/plugins/webstuff/css/Web_Mainz.css | 2 +- src/plugins/webstuff/css/Web_Nebraska.css | 4 ++-- src/plugins/webstuff/css/Web_Print-Default.css | 2 +- src/plugins/webstuff/css/Web_Visually.css | 2 +- 11 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index df7dc24a8..93d32ac24 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -1862,7 +1862,8 @@ class BasePage(object): thumbnail += hyper if usedescr: - hyper += Html("p", name, inline = True) + hyper += Html('br') + hyper += Html("span", name, inline = True) # return thumbnail division to its callers return thumbnail diff --git a/src/plugins/webstuff/css/Web_Basic-Ash.css b/src/plugins/webstuff/css/Web_Basic-Ash.css index ce4c5871f..b0a328d76 100644 --- a/src/plugins/webstuff/css/Web_Basic-Ash.css +++ b/src/plugins/webstuff/css/Web_Basic-Ash.css @@ -878,7 +878,7 @@ div#addresses table.infolist tbody tr td.ColumnValue { padding:0; border:solid 1px #999; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { /* ## remove this line and the comment markers from the line below to hide the description in Individual Gallery display: none; */ diff --git a/src/plugins/webstuff/css/Web_Basic-Blue.css b/src/plugins/webstuff/css/Web_Basic-Blue.css index 9c1984a68..bab10340f 100644 --- a/src/plugins/webstuff/css/Web_Basic-Blue.css +++ b/src/plugins/webstuff/css/Web_Basic-Blue.css @@ -1243,7 +1243,7 @@ div#Residence table.infolist tr td { border: solid 1px #000; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { /* ## remove this line and the comment markers from the line below to hide the description in Individual Gallery display: none; */ font: normal .7em/1.4em sans-serif; diff --git a/src/plugins/webstuff/css/Web_Basic-Cypress.css b/src/plugins/webstuff/css/Web_Basic-Cypress.css index 5672ebf8b..8574da6fd 100644 --- a/src/plugins/webstuff/css/Web_Basic-Cypress.css +++ b/src/plugins/webstuff/css/Web_Basic-Cypress.css @@ -875,7 +875,7 @@ div#addresses table.infolist tbody tr td.ColumnValue { padding:0; border:solid 1px #7C8F7C; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { /* ## remove this line and the comment markers from the line below to hide the description in Individual Gallery display: none; */ diff --git a/src/plugins/webstuff/css/Web_Basic-Lilac.css b/src/plugins/webstuff/css/Web_Basic-Lilac.css index 5caf558b4..192828fe6 100644 --- a/src/plugins/webstuff/css/Web_Basic-Lilac.css +++ b/src/plugins/webstuff/css/Web_Basic-Lilac.css @@ -876,7 +876,7 @@ div#addresses table.infolist tbody tr td.ColumnValue { padding:0; border:solid 1px #669; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { /* ## remove this line and the comment markers from the line below to hide the description in Individual Gallery display: none; */ diff --git a/src/plugins/webstuff/css/Web_Basic-Peach.css b/src/plugins/webstuff/css/Web_Basic-Peach.css index b012cb317..0e85b3ab3 100644 --- a/src/plugins/webstuff/css/Web_Basic-Peach.css +++ b/src/plugins/webstuff/css/Web_Basic-Peach.css @@ -877,7 +877,7 @@ div#addresses table.infolist tbody tr td.ColumnValue { padding:0; border:solid 1px #8C581C; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { /* ## remove this line and the comment markers from the line below to hide the description in Individual Gallery display: none; */ diff --git a/src/plugins/webstuff/css/Web_Basic-Spruce.css b/src/plugins/webstuff/css/Web_Basic-Spruce.css index 94969f1c9..a321ad045 100644 --- a/src/plugins/webstuff/css/Web_Basic-Spruce.css +++ b/src/plugins/webstuff/css/Web_Basic-Spruce.css @@ -877,7 +877,7 @@ div#addresses table.infolist tbody tr td.ColumnValue { padding:0; border:solid 1px #7CA3DD; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { /* ## remove this line and the comment markers from the line below to hide the description in Individual Gallery display: none; */ diff --git a/src/plugins/webstuff/css/Web_Mainz.css b/src/plugins/webstuff/css/Web_Mainz.css index 8682cb3d2..7853af937 100644 --- a/src/plugins/webstuff/css/Web_Mainz.css +++ b/src/plugins/webstuff/css/Web_Mainz.css @@ -879,7 +879,7 @@ div#addresses table.infolist tbody tr td.ColumnValue { padding:0; border:solid 1px #7D5925; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { /* ## remove this line and the comment markers from the line below to hide the description in Individual Gallery display: none; */ diff --git a/src/plugins/webstuff/css/Web_Nebraska.css b/src/plugins/webstuff/css/Web_Nebraska.css index 4b54298b2..ea35c0bb2 100644 --- a/src/plugins/webstuff/css/Web_Nebraska.css +++ b/src/plugins/webstuff/css/Web_Nebraska.css @@ -98,7 +98,7 @@ img { padding:0; background:none; } -.content div.snapshot div.thumbnail p { +.content div.snapshot div.thumbnail span { display:none; } .fullclear { @@ -864,7 +864,7 @@ div#addresses table.infolist tbody tr td.ColumnValue { padding:0; border:solid 1px #542; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { /* ## remove this line and the comment markers from the line below to hide the description in Individual Gallery display: none; */ diff --git a/src/plugins/webstuff/css/Web_Print-Default.css b/src/plugins/webstuff/css/Web_Print-Default.css index 5a2a953c6..3d9b4f90e 100644 --- a/src/plugins/webstuff/css/Web_Print-Default.css +++ b/src/plugins/webstuff/css/Web_Print-Default.css @@ -439,7 +439,7 @@ table.relationships tbody tr td.ColumnRowLabel a { padding:0; border:solid .5pt #000; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { font:normal 7pt/9pt sans-serif; text-align:center; width:80%; diff --git a/src/plugins/webstuff/css/Web_Visually.css b/src/plugins/webstuff/css/Web_Visually.css index be466c056..cba4ae8fb 100644 --- a/src/plugins/webstuff/css/Web_Visually.css +++ b/src/plugins/webstuff/css/Web_Visually.css @@ -1220,7 +1220,7 @@ div#Addresses table.infolist tbody tr td.ColumnPhone { padding:0; border: solid 1px #5D835F; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { /* ## remove this line and the comment markers from the line below to hide the description in Individual Gallery display: none; */