Hello all!
I've installed Drupal 6 on my server and am developing a theme for it (a sub-theme of zen, if that's helpful), but I've run into a problem. It's more of a css problem than a drupal problem, but drupal includes a LOT of pre-prepared css to wade through...
My problem is that there is extra width added to something on my page causing a seemingly invisible element to push past the window, and the bottom scrollbar to appear. When I use firebug to track it down, it highlights the content div, but I can't see anything in my css that could be causing it.
I've been troubleshooting it for a couple of hours, but I'm hoping someone with a better eye for catching css errors can see what I just can't.
The site is at uptest3.info. The code that seems to be responsible for the content div is below, but my guess is that something else is causing it:
#content,
.no-sidebars #content
{
float: left;
width: 960px;
margin-left: 0;
margin-right: -960px; /* Negative value of #content's width + left margin. */
padding: 0; /* DO NOT CHANGE. Add padding or margin to #content-inner. */
}
.two-sidebars #content
{
width: 460px;
margin-left: 180px; /* The width of #sidebar-left */
margin-right: -640px; /* Negative value of #content's width + left margin. */
}
The negative margins thing is a tactic employed by drupal's zen theme; i'm not sure I completely understand why it's used, but I'm trusting it anyway.
Thanks for any help!