Topic: How to float a column on right side of viewtopic, viewforum, index

Can someone help me please?
I want to add a column for adverts on the right hand side of my forums.
Can someone help with this?
I have basic CSS knowledge but need some help.

Thanks
Mark

Re: How to float a column on right side of viewtopic, viewforum, index

Ideally I would like an overall 100% wide template, a 150px wide column on the right for my ads and then let the main column on the left be fluid. Is that possible?

Re: How to float a column on right side of viewtopic, viewforum, index

it would be very simple to do. if u would go to punres.org and go to there wiki and look at the mini portal mod.
http://wiki.punres.org/Miniportal

go to the main.tpl section
this is the code for creating a left side block area simple reverse the px and create a #right with float right
you will do the modifications to the main.tpl in the include/template folder.

I hope this helps!

Q

<style type="text/css">
    #left {
        width: 120px;
        float: left;
    }
    #main {
        margin-left: 130px;
    }
    #container {
        width: 100%;
        float: right;
        margin-left: -120px;
    }
</style>
My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Re: How to float a column on right side of viewtopic, viewforum, index

This came in handy mate! Cheers