From 2b109a703c14fc64ddfdddc262f7a296bad56c1f Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 12 Nov 2008 15:06:38 +0100 Subject: Ensure that news items don't run into each other (thanks Arne for noting this problem). Add some space between news items. Remove borders. --- local.css | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'local.css') diff --git a/local.css b/local.css index 032d7de5..043ead07 100644 --- a/local.css +++ b/local.css @@ -132,12 +132,11 @@ pre /* News items on the front page. */ .newsitem { - border: 1px solid black; + padding-top: 2px; } .newsitem + .newsitem { - /* TODO: Why doesn't this work as I want it to work? */ -// border-top-style: none; + clear: left; } .newsitemheader { @@ -159,6 +158,13 @@ pre { display: block; } +.newsitemcontent +{ + /* TODO. Why is this needed to make the floating text appear on the same + vertical height as is the item's title? */ + margin-top: -10px; +} + .table_style_1 { -- cgit v1.2.3