I’m baffled by what I’m doing wrong here, and would appreciate any help you can offer.
I have a sidebar that is supposed to appear on the right side of all my pages. (On the front page and on the articles page, it is supposed to appear one column to the left of the Google Adsense skyscraper ads which are supposed to be on the far right.)
I have two problems. The first is that although this format is working on most of my articles, there is one type of article that appears on the site weekly (and is one of the most popular in terms of hits) with which it doesn’t seem to work. On that column (here is the link: Top 25 ) instead of going to the right side of the page, the sidebar drops down beneath all of the other content on the page. Not only does this look just awful, and cause the log-in message to be lost at the bottom of the page, it also causes the calendar, which is included in the sidebar, to become distorted. It’s just a mess.
The template is the same, whether it is an ordinary text story (where the sidebar seems to be working just fine), or the Top 25 story, where it looks like the dog’s breakfast. The best I can figure out is that the Top 25 story involves a table, but I can’t figure out why that would matter, as the table width is set well within the limits of the content section, which in turn is supposed to determine where the sidebar floats.
The second problem is related, but applies to the front page and all the article view pages. I created a psuedo-four-column layout following instructions in a tutorial someone on this board linked me to. (Thanks). Basically, it involves two sections, one floating to the right of the other. Each section has two columns, one floating to the right of the other within the section. The main content takes up two of the columns in section one on the left, the sidebar and the Adsense skyscraper take up the two columns in section two on the right. The purpose of this was to get the Adsense ads to float as a fourth column—before I did this, it would not go to the right hand side of the page at all.
This works—almost, but not quite. Depending on how wide you open your browser window, the Adsense skyscraper overlaps part of the RSS feed link and/or part of the mini-calendar. No amount of tinkering with margins and padding has yet been able to resolve that issue. But the big problem came when I tried to add a second skyscraper beneath the first—it refuses to align itself beneath the first skyscraper and instead inserts itself beneath part of the sidebar. I can’t figure out why this should be, since it is all part of the same “embed” as the first skyscraper.
I’m happy to buy a beer for anyone who can help me sort this out and get it working properly.