]> scripts.mit.edu Git - www/ikiwiki.git/blob - doc/bugs/sidebar_is_obscured_by_recentchanges.mdwn
set background color of floating divs
[www/ikiwiki.git] / doc / bugs / sidebar_is_obscured_by_recentchanges.mdwn
1 I've set up a simple sidebar on an otherwise fairly default wiki.  The sidebar uses css float:right and sits above most pages quite nicely.
2
3 For example, my wiki's [front](http://www.cse.unsw.edu.au/~cs3431/wiki/) and [news](http://www.cse.unsw.edu.au/~cs3431/wiki/news/) pages show the sidebar nicely floating on top of the background.  (As a side note, I had to add:
4
5     #sidebar {
6         border: 1px solid;
7         background: white;
8     }   
9
10 to <code>local.css</code> to get the border and make sure that the RSS feed's grey title didn't show through on the news page.)
11
12 > Hmm the background color setting seems like a change it makes sense to make to
13 > style.css .. done.
14 > --[[Joey]]
15
16 Unfortunately, the [recentchanges](http://www.cse.unsw.edu.au/~cs3431/wiki/recentchanges/) page doesn't look so nice - the sidebar appears below the recentchanges list.
17
18 I don't understand why the sidebar is appearing below the recentchanges inline, but above the news inline.
19
20 > I don't see the problem here in firefox 3. The sidebar is at the top of
21 > both pages. However, it might have to do with the recentchanges page
22 > itself using floating elements to build up the table-like display. --[[Joey]]