im trying to add a column to a table to the right

oren99's picture

They have: 6 posts

Joined: Mar 2006

i've started my site with just 2 rows: left nav and center content.
now i want to add a column in the right . you can see a column now but its a layer and its "floating". it changes it place depend on the resulution of the screen.
how can i add the right navigation hard coded to my site?
my site is: http://www.webmasterspy.com/

thanks a lot in advance. Smiling

Busy's picture

He has: 6,151 posts

Joined: May 2001

you have a set width of 800px, with default margins (which vary browser to browser) and margin of 20px
work on 760 (or adjust/set your margins) for 800x600 screen size

oren99's picture

They have: 6 posts

Joined: Mar 2006

from looking on my page or css can you tell me what to do to correct this?

thanks a lot

Busy's picture

He has: 6,151 posts

Joined: May 2001

if you have 3 columns left aligned inside a set width and the widths are wider they usually go under one another. have you tried floating right?

oren99's picture

They have: 6 posts

Joined: Mar 2006

thanks again.

demonhale's picture

He has: 3,278 posts

Joined: May 2005

float everything left... this is applicable to css in three column layout... A width adjustment for the content or other column area might also help...

oren99's picture

They have: 6 posts

Joined: Mar 2006

i dont know what to do next
everything is align to the left.
the sum of all widths are exactly 800.
yet in Firefox the right column is ON the left.
i managed to fix this if i remove the "position: absolute;" from the right column but then in IE the right column is down below all else.

demonhale's picture

He has: 3,278 posts

Joined: May 2005

ok now it can be easily fixed, wait a minute...

demonhale's picture

He has: 3,278 posts

Joined: May 2005

Change this part with the new width... I told you it was all float left and make sure the width you assign are for the general total of the table width or lesser....

#textr {
float: left;
width: 150px;
}

oren99's picture

They have: 6 posts

Joined: Mar 2006

how many time people told you you are the king?
worked like a charm Smiling
tell me just this, i have google ads on the right and they are 160*600.
it doesnt look like they are affected with the fact i just changed their space to 150px.
how can it be?

demonhale's picture

He has: 3,278 posts

Joined: May 2005

because they (google ads) are already table based, it will force itself to show inside a table cell...

Glad I could help... Laughing out loud

oren99's picture

They have: 6 posts

Joined: Mar 2006

ok great.
thanks a lot for the great help.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.