flamingchemist: a very small man in very large architecture (solitude)
Alex ([personal profile] flamingchemist) wrote in [site community profile] dreamscapes2012-01-10 05:35 pm
Entry tags:

Coding Help for Bases

I'm having an annoying little problem with a layout I'm working on for Bases. The problem is that the #content layer does not go down as long as it needs to, making the #primary layer longer and borking up the whole layout!

I've left one of the finished layouts on a side account here. As you can see, entries will cover up the nice bottom border I have set up and generally look sloppy in the process.

Any ideas?
branchandroot: oak against sky (Default)

[personal profile] branchandroot 2012-01-10 11:51 pm (UTC)(link)
The problem you're running into is that #content has no clearing element, in Bases. To add one, put this into your theme layers. The first function overrides the "print the page stuff in this order" to add a new div, just at the end of the #content. I named it #content-clear, but you can rename it if something else is easier to remember. The second adds a theme stylesheet assigning clear:both to that new div. That should do it.
Edited (okay, we'll try a textarea) 2012-01-10 23:52 (UTC)
branchandroot: oak against sky (Default)

[personal profile] branchandroot 2012-01-11 01:24 am (UTC)(link)
No, you've got it in there, and Firebug says the css is in effect. *frowns* Huh. That's exactly the code that Tabula Rasa uses for this problem, and I can see it working in some other themes. I am mightily puzzled! All I can suggest is playing around with things like "float:none" on #content-clear and maybe #content itself.
baggyeyes: Bugs Bunny and the Bull (Default)

[personal profile] baggyeyes 2012-01-11 03:49 pm (UTC)(link)
Do you have a screenshot of that problem? This is what I'm seeing in Firefox 9.0.1 (Mac 10.6.8) and Opera 11.60 (same OS)

Edited 2012-01-11 15:53 (UTC)
baggyeyes: Bugs Bunny and the Bull (DW-Weeping Angel)

[personal profile] baggyeyes 2012-01-12 05:21 pm (UTC)(link)
I put your style sheet on my account, and noticed that the reading page top looks fine, but the owned content, that is anything related to my entries are overlapping the main nav bar.

I compared your css to [personal profile] malionette original, and can't find where that problem cropped up.

Then there's the content border which I haven't gotten to. :-/
Edited 2012-01-12 17:26 (UTC)
baggyeyes: Bugs Bunny and the Bull (Default)

[personal profile] baggyeyes 2012-01-13 02:41 am (UTC)(link)
Firefox 9.0.1, and Opera 11.60 on Mac OS X (10.6.8).

I figured out that the reading pages do not use the subtitle. That's why the reading and network entries do not overlap the navigation, and the reading/archive/tags pages do.