Renderer glitches



I fixed some renderer glitches.

--lukas
--- WebLinkMatchRenderer.cs.~1.10.~	2004-03-07 17:17:54.000000000 +0100
+++ WebLinkMatchRenderer.cs	2004-03-07 17:17:54.000000000 +0100
@@ -28,12 +28,12 @@
 		{
 			string html = "";
 
-			html += "<u>Web Sites</u> <blockquote> <table border=0 cellpadding=0 cellspacing=0>";
+			html += "<u>Web Sites</u> <br><br> <table border=0 cellpadding=0 cellspacing=0>";
 
 			foreach (Match m in matches)
 				html += HTMLRenderSingleWebLink (m);
 
-			html += "</table> </blockquote>\n\n";
+			html += "</table>\n\n";
 
 			return html;
 		}
--- RSSMatchRenderer.cs.~1.6.~	2004-03-07 17:17:54.000000000 +0100
+++ RSSMatchRenderer.cs	2004-03-07 17:32:14.000000000 +0100
@@ -52,6 +52,9 @@
 			foreach (string title in Titles)
 				HTMLRenderSingleRSSTitle (title, matches, xw);
 
+			xw.WriteStartElement ("br");
+			xw.WriteEndElement ();	// br
+
 			xw.WriteEndElement ();	// End rss results block
 
 			xw.Close ();
@@ -74,11 +77,14 @@
 			xw.WriteElementString ("u", " Weblog: " + Title);
 			xw.WriteStartElement ("br");
 			xw.WriteEndElement ();	// br
+			xw.WriteStartElement ("br");
+			xw.WriteEndElement (); // br
 
 			xw.WriteStartElement ("table");
 			xw.WriteAttributeString ("border", "0");
 			xw.WriteAttributeString ("cellpadding", "0");
 			xw.WriteAttributeString ("cellspacing", "0");
+			xw.WriteAttributeString ("width", "100%");
 
 			MatchNumber = 0;
 			int NumEntries = 0;
@@ -123,7 +129,7 @@
 			xw.WriteStartElement ("tr");
 			xw.WriteStartElement ("td");
 			if (color_band)
-				xw.WriteAttributeString ("bgcolor", "#f6f2f6");
+				xw.WriteAttributeString ("bgcolor", "#eeeeee");
 
 			// xw.WriteString ("- ");
 			xw.WriteStartElement ("a");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]