erinptah: (winding road)
humorist + humanist ([personal profile] erinptah) wrote in [community profile] style_system2012-02-17 10:32 pm

Layout help, fixed & fluid (Tabula Rasa)

I'm working on two Tabula Rasa layouts -- one fixed, one fluid, with matching graphics -- and starting to hit the limit of what my understanding of CSS can handle. Help?

Here's the current state of the fixed-width layout, currently enabled at [community profile] punditfic:




And here's the fluid version, visible in action at [community profile] andthatstheword:




Issues in the fixed-width layout:

  • When the page isn't tall enough, module-content and module-powered show up in the middle of the sidebar. Avoided!

  • In the main entry view, how can I get usernames to display reliably under the userpic? The best I got (through messing with margins) was "it'll appear there, but entry text will overlap it." (Also a problem in the fluid version.) Solved in both!

  • New issue...when #primary is shorter than #secondary, the page only scrolls down as far as #primary.



  • Things in the fluid layout that I can't get to match the fixed-width layout:

  • On the calendar-by-month view, the entry information isn't indented with respect to the date. Prettied up!

  • Similarly, the bulleted list on the tags page isn't indented. Solved!

  • Information in the entries on the main page is all squished together (title overlapping with date/time, tags overlapping with entry tools). Solved!

  • Everything to do with comment display just isn't happening. The tools won't display inline, there's no space around comment-content, the header has no background... Solved!



  • Other issues with the fluid layout:

  • Can I make the #primary and #secondary divs extend to the bottom of the page (to extend the background) without covering the header?

  • Looks like I need to do something with module-content and module-powered here too. When the sidebar is on the left, they try to squeeze into the gap between #secondary and #primary. This isn't a problem when the sidebar is on the right (or at least, it hasn't been at my resolution). Solved!


  • Anyone who can point me in the right direction on any of these points would be greatly appreciated!
    marahmarie: (M In M Forever) (Default)

    Re: New issue...when #primary is shorter than #secondary, the page only scrolls down as far as #prim

    [personal profile] marahmarie 2012-02-23 05:42 am (UTC)(link)
    I was trying to edit again when you replied...when I said, "Setting a mi(n)-width on a main body element of no more than 730-740px" I actually meant max-width...I always get dyslexia writing that out, sorry. Also, With overflow:hidden turned on, the bottom of #secondary gets cut off for me on every page where #primary is too short wasn't happening for me on any page views I checked except for Archive by month, but I have to admit I wasn't exhaustive in my search for that problem, so I might have missed something else (or a bunch of something elses). I'll have to add #canvas{overflow:hidden;} back in and look again, but I'm also out of time so I probably won't have an answer until maybe tomorrow night or later (someone called in sick so I actually have to be back to work soon, and I probably won't get online again until much later).
    Edited (html/typo) 2012-02-23 05:44 (UTC)
    marahmarie: (M In M Forever) (Default)

    Re: New issue...when #primary is shorter than #secondary, the page only scrolls down as far as #prim

    [personal profile] marahmarie 2012-02-23 06:08 am (UTC)(link)
    In the meantime (after taking one last look for tonight) I have to concur with [personal profile] facetofcathy that setting a max-width on body might help by killing that scrollbar you've got on all resolutions now, at least until you find a more flexible answer. You can set a max-width of up to 1285px (I tested it at that width on a 1440 x 900 screen) with no horizontal scrollbars.