kyra_ojosverdes ([personal profile] kyra_ojosverdes) wrote2006-04-12 04:57 pm
Entry tags:

Attn: CSS-lovin' Webgeeks

http://www.montanawomenvote.org/

Okay, I'm trying to figure out this "Using CSS instead of tables for site design" thing, and it's quite nifty.

How do I make the side borders always go all the way to the bottom div, no matter how long the content in the main div or the size/shape of the window? I tried setting body, sidebar, and content divs to height:100%, but that made the page scroll past the bottom of the screen. That's not what I'm wanting.

Ideas?

ETA: (4-13-06) Got it. Woo. CSS is cool. It does put a bit more padding at the bottom of the main area than I want when there's lots of content there, but that's acceptable. (Also, I can solve it by splitting the long content into other pages.)

[identity profile] dimfuture.livejournal.com 2006-04-12 11:06 pm (UTC)(link)
Oh, does CSS-P work now? Amazing. I tried it years ago and man, what a nightmare.

I knew how to do that once upon a time, but have since forgotten how.

[identity profile] kyra-ojosverdes.livejournal.com 2006-04-13 01:17 am (UTC)(link)
I started reading up in it years ago, when I was at the SoE. It seemed nifty and wonderful (I'm a wee bit obsessive about accessibility) and I couldn't wait until it actually worked with the majority of browsers in use.

Hurrah! The day has come! And such. Now I need to learn how to make it work! I haven't started messing with absolute and relative positioning yet. The reason I'm starting with www.montanawomenvote.org instead of www.wordinc.org is that the MWV site has a drastically simpler layout. It'll be my practice, then I'll start futzing with the WORD site.