summaryrefslogtreecommitdiffabout
authorLars Hjemli <hjemli@gmail.com>2007-11-16 09:28:29 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-11-16 09:28:29 (UTC)
commite8e6721817c983770fc0fdfbb26a17900e3c34ce (patch) (unidiff)
tree86dbc8acd0171bf5ab68fb71872f78465042f680
parent6ef637e0908ca5a14675b3513f48cd390d3757fe (diff)
downloadcgit-e8e6721817c983770fc0fdfbb26a17900e3c34ce.zip
cgit-e8e6721817c983770fc0fdfbb26a17900e3c34ce.tar.gz
cgit-e8e6721817c983770fc0fdfbb26a17900e3c34ce.tar.bz2
Add cell-spacing in html
There are some browsers which don't support the border-spacing property Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--ui-shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c
index 4c0613a..be2c75d 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -456,13 +456,13 @@ void cgit_print_pageheader(char *title, int show_search)
456{ 456{
457 static const char *default_info = "This is cgit, a fast webinterface for git repositories"; 457 static const char *default_info = "This is cgit, a fast webinterface for git repositories";
458 int header = 0; 458 int header = 0;
459 459
460 html("<table id='layout' summary=''>\n"); 460 html("<table id='layout' summary=''>\n");
461 html("<tr><td id='sidebar'>\n"); 461 html("<tr><td id='sidebar'>\n");
462 html("<table class='sidebar' summary=''>\n"); 462 html("<table class='sidebar' cellspacing='0' summary=''>\n");
463 html("<tr><td class='sidebar'>\n<a href='"); 463 html("<tr><td class='sidebar'>\n<a href='");
464 html_attr(cgit_rooturl()); 464 html_attr(cgit_rooturl());
465 htmlf("'><img src='%s' alt='cgit'/></a>\n", 465 htmlf("'><img src='%s' alt='cgit'/></a>\n",
466 cgit_logo); 466 cgit_logo);
467 html("</td></tr>\n<tr><td class='sidebar'>\n"); 467 html("</td></tr>\n<tr><td class='sidebar'>\n");
468 if (cgit_query_repo) { 468 if (cgit_query_repo) {