User:Woozle/blog/2014/06/16/2201/CSS Hates Me, episode whatever

From VbzWiki
< User:Woozle‎ | blog
Revision as of 09:43, 13 February 2018 by Woozle (talk | contribs) (new format)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<hide> <let save name=Title>CSS Hates Me, episode whatever</let> <let save name=User>Woozle</let> <let save name=TopicsUser></let> <let save name=TopicsGlobal>\CSS\graphic design\WTF</let> <let save name=TextAbove>This isn't really a show-stopper, but I keep coming back to the idea that I want to put things in a certain place, and CSS won't let me.</let> <let save name=TextBelow>The problem starts with a hierarchical list that won't indent:

2014-06-16--1402949478 748x261 scrot.png

See the list on the left, under "Admin home"? That one is displaying properly. I could do with a little less indent, actually, but it can wait.

The list to the right of that, however, is showing up as a single flat list, with only different-shaped bullets to indicate the levels of indentation. I tried all kinds of stuff with "margin:" and "padding:" -- nothing worked.


You can see how it's supposed to look here:

2014-06-16--1402968123 1022x211 scrot.png

I got this to happen by telling the outer <ul> pair, which already renders as a block, to float left. I don't know why that should be necessary.

Unfortunately, it has the very bad side-effect you can see of squishing the next header and table ("Stock items for order"), which is supposed to appear underneath (as it does in the first image), over to the right.

In order to prevent that, I've had to do a <br clear=left> before the Stock Items header -- which makes everything legible, but now the Stock Items header is scrolled way down, because of the left-hand Admin menu being so tall:

2014-06-16--1402968616 522x568 scrot.png

I suspect that the Admin menu is somehow pushing all of the indented stuff off to the right -- so if the right hand list had (say) 10 or more levels of indentation, the indentations might start to show up -- but even if that's true, I don't know how to fix it. It should be indenting relative to the enclosing box, which is quite clearly visible as a single-pixel black line.</let>

<let save name=TimeStamp>2014/06/16/2201</let> </hide><exec mod=blogging func=RenderFullPost />