Simple Machines Community Forum

General Community => Scripting Help => Topic started by: Mstcool on July 29, 2014, 07:38:01 AM

Title: Right column isn't positioned properly
Post by: Mstcool on July 29, 2014, 07:38:01 AM
Hey guys,

So I am a beginner at coding so this will be my first homepage I have ever coded. I know it doesn't look good but I will be improving it, so suggestions will be appreciated. :)

Anyways, the problem is that the right column isn't positioned properly, go to: http://hangtime101.x10.mx/index2.php to see what I am talking about. So, how would I fix this?



Codes removed since error was fixed. Thank You, gxm13, for helping me. :)
Title: Re: Right column isn't positioned properly
Post by: gxm13 on August 05, 2014, 08:22:02 PM
Hey ,

You have this code .

Quote#rightcolumn {
     width: 50%;
     background-color: #C0C0C0;
     display: block;
     float: right;
     border: 1px solid white;

Try replacing the Width with another one ,

For example try

Quote#rightcolumn {
    width: 49%;
     background-color: #C0C0C0;
     display: block;
     float: right;
     border: 1px solid white;

I edited that on my end and here's how it looks .

Attached a photo.

Hope it helps ,

Cheers .
Title: Re: Right column isn't positioned properly
Post by: Mstcool on August 05, 2014, 09:25:17 PM
Oh my god, I love you. Thank You So Much!!! :)

Thank You Thank You Thank You!!!!!!!!!!!! :)
Title: Re: Right column isn't positioned properly
Post by: gxm13 on August 05, 2014, 09:27:14 PM
Keep in mind wherever you see Height and Widht you can edit it to your liking , glad I could help you . ;)
Title: Re: Right column isn't positioned properly
Post by: Mstcool on August 05, 2014, 09:35:35 PM
I think I did edit it, but I never went less than 50% lol.
Title: Re: Right column isn't positioned properly
Post by: ARG01 on August 05, 2014, 10:57:24 PM
Also keep in mind to take borders (when/if using borders) into account when using percentages. In many cases borders may have an effect on percentage widths.

;)
Title: Re: Right column isn't positioned properly
Post by: Mstcool on August 06, 2014, 02:00:32 AM
Oh, ok. Thank You! :)