You are hereBlogs / Dark Siren Sally's blog / More reason to hate CSS!
More reason to hate CSS!
I've been working on a layout -- and I mean a very SIMPLE layout -- for the new Caduceus site. I had everything done, more or less, but then discovered that the top banner (which was a centered image) was always shifting a few pixels to the left compared to the splash page.
Yeah, so it's just a few pixels, who cares, right? ... I do! D:
So I raged for a while (all last night, in fact) trying to figure out the issue, when it finally struck me just a few minutes ago. It's the *scrollbar*. The scrollbar was messing up the centering for short pages. x.x So I followed the advice I found here and put in a
html { overflow-y: scroll; }
in the CSS to force a scrollbar all the time. Gah~ I really do hate CSS, have I said that before? n.n
- Dark Siren Sally's blog
- Login or register to post comments