Baxil (baxil) wrote,

  • Mood:
  • Music:

aaaaaaaaagggh (but a good aaaaaaagh)

Dear gods. The CSS solution I've been seeking for the new Tomorrowlands layout for WEEKS now ... and it even seems to work on every major browser the same way! No more crazy futzing around with multiple style sheets for different browsers (I hope)!

Why don't they document this shit? Anywhere?

For some reason, the best way to get a fixed-width sidebar that doesn't break on at least one common browser (*cough* IE) is to use negative margins and floats. Strangely, positive margins break things in some browsers but negative margins don't!

Why? Negative margins allow overlap into that element's space. And I'm damned if I know why that solves the problem, but it seems to, and hopefully I can fix all my style woes this way, since horizontal positioning and margins are pretty much the only major issues I've got.

I ... just ... can't ... believe ... it's ... that ... simple. But I bloody well hope it is. It's been three weeks since the launch and my site still looks badly broken in half the browsers I test it in.

Props to the cssDiscuss wiki, the most awesome CSS reference ever. I spent an hour today RTFMing and the wiki still helped me more, and more quickly.
Tags: geekery

  • One final trail fling

    Not often I get to write a post from inside a sleeping bag at the top of a mountain. But lupagreenwolf convinced me to hit the trail one…

  • Epiphany

    While going back through my journal to add tags to my most memorable posts, I ran across a tidbit that made me realize something. I walked 916…

  • Trail namedropping

    This post is mostly a note to self, though I figured I'd share it in case anyone's interested ... Did a little bit of websearching today to see how…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded