diff --git a/hledger-web/Handler/JournalR.hs b/hledger-web/Handler/JournalR.hs
index a27b6d23e..2645997ee 100644
--- a/hledger-web/Handler/JournalR.hs
+++ b/hledger-web/Handler/JournalR.hs
@@ -60,25 +60,26 @@ journalTransactionsReportAsHtml _ vd (_,items) = [hamlet|
 -- .#{datetransition}
    itemAsHtml :: ViewData -> (Int, Bool, Bool, Bool, TransactionsReportItem) -> HtmlUrl AppRoute
    itemAsHtml VD{..} (n, _, _, _, (torig, _, split, _, amt, _)) = [hamlet|
-
- #{date}
- #{elideRight 60 desc}
- 
-  $if showamt
-   \#{mixedAmountAsHtml amt}
-$forall p' <- tpostings torig
- 
-  
-  
-  
-    
-   #{elideAccountName 40 $ paccount p'}
-  #{mixedAmountAsHtml $ pamount p'}
-
- | - | - | - | ++ | 
+   #{date}
+   #{elideRight 60 desc}
+   
+    $if showamt
+     \#{mixedAmountAsHtml amt}
+  $forall p' <- tpostings torig
+   
+    
+    
+    
+      
+     #{elideAccountName 40 $ paccount p'}
+    #{mixedAmountAsHtml $ pamount p'}
+  
+   | + | + | + | |]
      where
        acctlink a = (RegisterR, [("q", pack $ accountQuery a)])
diff --git a/hledger-web/static/hledger.css b/hledger-web/static/hledger.css
index 9b1d7708c..024bf6cce 100644
--- a/hledger-web/static/hledger.css
+++ b/hledger-web/static/hledger.css
@@ -25,6 +25,9 @@ a:link, a:visited { color:#00e; }
 #editform textarea                                                   { background-color:#eee; }
 .negative                                                            { color:#800; }
 .help                                                                {  }
+.highlighted {
+  background-color: #F4F466 !important;
+}
 
 #sidebar .hoverlinks { visibility:hidden; }
 /* #sidebar .mouseover { background-color:rgba(208,208,208,0.5); } */
@@ -119,7 +122,9 @@ body                        { margin:0; }
 .description                { padding-left:1em; white-space:normal; }
 .account                    { padding-left:1em; white-space:normal; }
 .amount                     { padding-left:1em; white-space:nowrap; }
-.balance                    { padding-left:1em; padding-right:0.3em; white-space:nowrap; }
+.balance                    { padding-left:1em; white-space:nowrap; }
+tr td:last-child { padding-right:0.3em; }
+tr td:first-child { padding-left:0.3em; }
 .amount, .balance { width:2em; }  /* minimise width */
 .positive                   { }
 
diff --git a/hledger-web/static/hledger.js b/hledger-web/static/hledger.js
index 43fd51674..8eba20e25 100644
--- a/hledger-web/static/hledger.js
+++ b/hledger-web/static/hledger.js
@@ -26,6 +26,11 @@ $(document).ready(function() {
   $('body, #addform input, #addform select').bind('keydown', 'ctrl+-',       addformDeletePosting);
   $('#addform tr.posting:last > td:first input').bind('keydown', 'tab', addformAddPostingWithTab);
 
+
+  // highlight the entry from the url hash
+  if (window.location.hash && $(window.location.hash)[0]) {
+    $(window.location.hash).addClass('highlighted');
+  }
 });
 
 //---------------------------------------------------------------------- |