Simple Machines Community Forum

General Community => Scripting Help => Aiheen aloitti: L.G.S - huhtikuu 14, 2007, 07:22:25 AP

Otsikko: What code am I doing wrong?
Kirjoitti: L.G.S - huhtikuu 14, 2007, 07:22:25 AP
I'm making a website, which is practically a portal but without the features.

It has a banner at the top, a little below that a menu (which is the same width), below that on the left is a small box, then in the middle is a large content box, and on the right another small box.

Then below that, is one more box on the left and one more on the right, for space in the middle for the content box to grow.

My problem is that when I try to add content to the left or right boxes, it forces the middle one to increase, which I  don't want to. Here is a better example

www.ruthlessintent.com/website
Otsikko: Re: What code am I doing wrong?
Kirjoitti: Elmacik - huhtikuu 14, 2007, 07:27:41 AP
It looks all right now yes; I think the codes you put lately violate the tag usage order.
Otsikko: Re: What code am I doing wrong?
Kirjoitti: L.G.S - huhtikuu 15, 2007, 07:44:22 AP
It may look alright but the problem is still there.

See navigation and content areas, if I increase the navigation area it forces the content area to increase also, i dont want that.
Otsikko: Re: What code am I doing wrong?
Kirjoitti: L.G.S - huhtikuu 22, 2007, 12:33:23 IP
Well I've sorted that, but I have another problem

How can I add cellpadding to the middle row of a 3 row table?

Here is what I mean:

http://www.ruthlessintent.com/website/

In the main content area, I want the writing to start after the silver bar on the left, but I've tried cellpadding and it doesnt work for a single row of a 3 row table :(

I did cellpadding to the entire table, but that moved my images as well.
Otsikko: Re: What code am I doing wrong?
Kirjoitti: Rudolf - huhtikuu 22, 2007, 05:40:08 IP
Use the css padding property on the cell you want

<td style="padding: 5px;"></td>

Otsikko: Re: What code am I doing wrong?
Kirjoitti: L.G.S - huhtikuu 23, 2007, 11:03:03 AP
Thanks,  although it semi worked:

http://www.ruthlessintent.com/website/index.php

It seems to have moved the content box over to the left for some reason

edit:

nevermind i sorted it, thanks
Otsikko: Re: What code am I doing wrong?
Kirjoitti: L.G.S - huhtikuu 23, 2007, 03:08:36 IP
sorry for another doublepost....

I used the code, but its affected all of the tables inside:

http://www.ruthlessintent.com/website/

All I want is padding for the inside of the area with my forums latest posts, unlike how it is now with the tables above and below it affected too.