1

Topic: I need a 2 col css

Hi,

I use a css which allows me to have 3 col.
I want to have only 2 col for certain pages.
When I do not put a third col in my page, I always have the place. See here: http://www.oyre.net/test.php
I want the centered block to be 100%
What do I have to modify in my css?

#header {
    border: 1px solid #cecea5;
    background: #d7dabd;
}

#content {
    width: 100%;
    float: right;
    margin-left: -150px;
}
#container {
    width: 100%;
    float: left;
    margin-right: -200px;
}
#main {
    margin-left: 150px;
    margin-right: 200px;
}
#left {
    width: 140px;
    float: left;
}
#right {
    width: 190px;
    float: right;
}
#footer {
    border: 1px solid #cecea5;
    background: #d7dabd;
}
.clearing {
    height: 0;
    clear: both;
}
p.postedby {clear:both}

Ludo,

Re: I need a 2 col css

Try taking the margin-right out of #main .

3

Re: I need a 2 col css

that's good now. You were right.

Thank you,

Ludo,

Re: I need a 2 col css

Glad I could help. smile

5

Re: I need a 2 col css

second problem, always on http://www.oyre.net/test.php

You'll see that the default police color is not applied to the table. Have you an idea why? Also, the table is missing some border...

Ludo,

Re: I need a 2 col css

There don't seem to be any classes or ID's assigned to the table. Do you have any of the table elements define as a child of inbox or box?

7

Re: I need a 2 col css

I put <div class="box"><div class="inbox"> now but it has no effect.
It seems not to have effect on tables.


Ludo,