PDA

View Full Version : How to make my site 3 columns (css)


righthosts
10-22-2005, 04:07 AM
Hi, its very hard to work with the files but I'm trying to customize this layout to use 3 columns (thanks to kickass for the template) , you can see I have added a left column but that looks no good in firefox. I have yet to add a right column as I can't work out how to do that?

Here is this page im using: http://www.righthosts.com/test.php

I would really appreiate some help

kickass
10-25-2005, 01:39 AM
Inline style is a veryveryvery bad idea. It's difficult to see, when you use it, how things are interacting within the cascade, since inline will override the stylesheet.

And in your stylesheet you have clearA and cleara. You only need one clearer and clearA, the original, is the better of the two, since it also feeds some haslayout to the b*stard child IE.

The reason the column isn't working with the content column is because it doesn't take any of the rest of the elements into consideration, so they're all behaving exactly the way you told them to- which means they aren't.

I suggest you do some reading up here on positioning before you try to tackle this sort of thing.
http://kickasswebdesign.com/webgeekdir/CSS/Positioning/

And instead of trying to make a one-column layout into a two or three, maybe you'd be better off using vkaryl's two column layout (http://www.phplinkdirectory.com/forum/viewtopic.php?t=966).

vkaryl
10-25-2005, 01:58 AM
*shrug* Alternatively, heesh could simply pm me as I indicated a week ago, and I'd be happy to quote for a 3 column template....