diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-10-12 10:34:20 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-10-12 10:34:20 -0400 |
commit | 46485232482fdcb385f8dda5f01cad57f7add189 (patch) | |
tree | 47a8c7b064b1bde461587e0722bacd953012e7c1 /lib/sisu/v5/defaults.rb | |
parent | v5: html, reduce difference with v6 (removal of some trailing slashes <p> <br>) (diff) |
v5: html, reduce difference with v6 (mostly removal of bgcolor)
* note: html_format.rb has differences, else same
Diffstat (limited to 'lib/sisu/v5/defaults.rb')
-rw-r--r-- | lib/sisu/v5/defaults.rb | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/sisu/v5/defaults.rb b/lib/sisu/v5/defaults.rb index 0ea154b2..da8b13a2 100644 --- a/lib/sisu/v5/defaults.rb +++ b/lib/sisu/v5/defaults.rb @@ -268,7 +268,7 @@ module SiSU_Viz end #% path def path_stylesheet_home - %{ <link rel="stylesheet" href="./#{@dir.path.style}/homepage.css" type="text/css" />} + %{ <link href="./#{@dir.path.style}/homepage.css" rel="stylesheet">} end #% text #changed from txt to avoid naming conflicts #FOLLOW def txt_generator @@ -372,7 +372,7 @@ module SiSU_Viz end #% color def color_body - %{<body bgcolor="#ffffff" text="#000000" link="#003090" lang="en" xml:lang="en">} + %{<body lang="en" xml:lang="en">} end def color_white '"#ffffff"' @@ -450,7 +450,7 @@ module SiSU_Viz %{"#{color_white}"} end def color_body - %{<body bgcolor="#ffffff" text="#000000" link="#003090" lang="en" xml:lang="en">} + %{<body lang="en" xml:lang="en">} end def color_font_face #was font WATCH "#{color_black}" @@ -663,38 +663,38 @@ module SiSU_Viz <td width="2%" align="right" valign="top"> ' end def margin_txt_w1 - %{<table summary="" width=#{table_width_txt_r} border="0" bgcolor="white" cellpadding="2" align="center"> + %{<table summary="" width=#{table_width_txt_r} border="0" cellpadding="2" align="center"> <tr><td width="6%" align="right"> </td> <td width="90%" valign="top" align="justify">} end def margin_txt_w2 - %{<table summary="" width=#{table_width_txt_r} border="0" bgcolor="white" cellpadding="2" align="center"> + %{<table summary="" width=#{table_width_txt_r} border="0" cellpadding="2" align="center"> <tr><td width="10%" align="right"> </td> <td width="86%" valign="top" align="justify">} end def margin_txt_0 - %{<table summary="" width=#{table_width_txt} border="0" bgcolor="white" cellpadding="2" align="center"> + %{<table summary="" width=#{table_width_txt} border="0" cellpadding="2" align="center"> <tr><td width=#{indent_level_0} align="right"> </td><td valign="top" align="justify">} end def margin_txt_1 - %{<table summary="" width=#{table_width_txt} border="0" bgcolor="white" cellpadding="2" align="center"> + %{<table summary="" width=#{table_width_txt} border="0" cellpadding="2" align="center"> <tr><td width=#{indent_level_1} align="right"></td><td valign="top" align="justify">} end def margin_txt_2 - %{<table summary="" width=#{table_width_txt} border="0" bgcolor="white" cellpadding="2" align="center"> + %{<table summary="" width=#{table_width_txt} border="0" cellpadding="2" align="center"> <tr><td width=#{indent_level_2} align="right"> </td> <td valign="top" align="justify">} end def margin_txt_3 - %{<table summary="" width=#{table_width_txt} border="0" bgcolor="white" cellpadding="2" align="center"> + %{<table summary="" width=#{table_width_txt} border="0" cellpadding="2" align="center"> <tr><td width=#{indent_level_3} align="right"> </td> <td valign="top" align="justify">} end def margin_css - '<table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> + '<table summary="normal text css" width="100%" border="0" cellpadding="2" align="center"> <tr><td valign="top" align="justify"> ' end #% png @@ -790,8 +790,8 @@ module SiSU_Viz </a>} end def banner_band #yellow_dark now white - %{<table summary="home button" width="100%" border="0" cellpadding="3" bgcolor= "#ffffff" align="center"> -<tr><td align="left" valign="middle" bgcolor="#{color_white}"> + %{<table summary="home button" width="100%" border="0" cellpadding="3" align="center"> +<tr><td align="left" valign="middle"> <a href="#{url_site}/" target="_top"> #{png_home} </a> @@ -800,11 +800,11 @@ module SiSU_Viz #{table_close}} end def banner_instrument_cover_band_scr - '<table summary="scroll instrument cover band" width="100%" border="0" cellpadding="8" bgcolor="#ffffff" align="center"> + '<table summary="scroll instrument cover band" width="100%" border="0" cellpadding="8" align="center"> <tr><td align="center">' end def banner_instrument_cover_band_seg - '<table summary="segment instrument cover band, title, author, location" width="100%" border="0" cellpadding="8" bgcolor="#ffffff" align="center"> + '<table summary="segment instrument cover band, title, author, location" width="100%" border="0" cellpadding="8" align="center"> <tr><td align="center">' end #% widget @@ -813,7 +813,7 @@ module SiSU_Viz end def widgets_open <<WOK -<table summary="SiSU summary" bgcolor="#ffffff" cellpadding="4" border="0"> +<table summary="SiSU summary" cellpadding="4" border="0"> WOK end def widget_sisu_text @@ -941,7 +941,7 @@ WOK end def credits_sisu %{<div class="substance"> -<table summary="SiSU summary" bgcolor="#ffffff" cellpadding="4" border="0"> +<table summary="SiSU summary" cellpadding="4" border="0"> <tr><td> #{widget_sisu} </table></div>} @@ -993,7 +993,7 @@ WOK <link rel="shortcut icon" href="./_sisu/image/rb7.ico" /> </head> -<body bgcolor="#ffffff" text="#000000" link="#003090" lang="en" xml:lang="en"> +<body lang="en" xml:lang="en"> <a name="top" id="top"></a> <a name="up" id="up"></a> <a name="start" id="start"></a> |