View Full Version : question about width of two columns

07-14-2008, 08:55 PM

This is probably a very simple thing, but I can't seem to figure it out... (must be monday, huh?)

Please take a look at:




The first URL currently does not align the right column to the far right of the browser screen (noticable ONLY on widescreens), whereas the second URL does. The difference seems to be the presence and absence of those large white "comments" boxes in the middle column (NOTE: this also means that my example will be ruined when someones posts a comment to a news post on the first URL... but hey).

Anyway, what I want is that the right column is always aligned to the far right of the screen, regardless of comments and whatnot. How do I do this??

Many thanks!

07-14-2008, 09:13 PM
add this to your CSS

* {

worked for me.

07-15-2008, 08:40 AM
That's not exactly what I meant to say (I think).

I wasn't talking about a bit of space between the right column and the far right of the browser window, but more of a huge gap. Guess I should've made screenshots. On this monitor (1280x1024), the difference can't be spotted, but on my PC at home (with a 22" inch widescreen with 1680x1050 resolution), it can.

07-15-2008, 04:05 PM
can you post a screen shot for us to see that dont have that. Because i do have a (1280x1024) resolution.

07-15-2008, 05:21 PM
At the bottom of your css add:

table { width: 100%;}

to make all tables stretch out. Somethings stopping your .main but I can't seem to pinpoint it.

Ah, it's because on the home page there is actually text that is long enough to push the table wider. On the interior page there isn't. So yeah, just redifine all tables to be 100% and that solves it. It's not a CSS issue, it's more of an issue of the amount of content you have on an individual page mixed with the behavior of tables in general.

07-15-2008, 07:41 PM
Here are two screenshots:

http://www.xeno-canto.org/asia (where it goes wrong)



http://www.xeno-canto.org (how it should be)


07-15-2008, 07:43 PM
harbingerOTV - thanks! I'll try that after dinner. I thought I already messed around with the table widths, but I'll give it another shot.