diff --git a/net/index.cgi b/net/index.cgi
index 159e968dc..cd39b8c07 100755
--- a/net/index.cgi
+++ b/net/index.cgi
@@ -20,7 +20,7 @@ foreach $i ('ifcs', 'routes', 'dns', 'hosts',
if (defined(&apply_network) && $access{'apply'} && !$zone) {
# Allow the user to apply the network config
- print "
\n";
+ print &ui_hr();
print &ui_buttons_start();
print &ui_buttons_row("apply.cgi", $text{'index_apply'},
$text{'index_applydesc'});
diff --git a/net/list_routes.cgi b/net/list_routes.cgi
index 99fbffc4f..d3293c353 100755
--- a/net/list_routes.cgi
+++ b/net/list_routes.cgi
@@ -22,7 +22,7 @@ printf "\n",
print "\n";
# Show routes active now
-print "
\n";
+print &ui_hr();
if (defined(&list_routes)) {
if (defined(&delete_route)) {
# With deletion button