The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Specific Width Code

Go down

Specific Width Code Empty Specific Width Code

Post by CatherinaAndrea December 26th 2010, 1:03 am

Forum: http://www.tartanarmy.forumotion.co.uk

I want to make all the forums pages, profile and post pages the same width so it looks tidy, but the code that works for the main forum pages width does not work on the posts page.

I tried to adjust the following code, but it affects multiple things so it does solve the width that i want, but at the same time it ruins the width of the login areas. Take a look at the pictures to see what i mean.

Code:
.post{
background-color: #222222;
border: 1px solid ;
border-color: #5b5b5b;
margin-left: 1px;
}

I tried to put
Code:
width: 986px;
in it, but as you can see it affects the login area.

Specific Width Code Question2

Specific Width Code Question2_2

So is there a way i can make the width of the posts pages and profile pages the way i want it to be??
CatherinaAndrea
CatherinaAndrea
Forumember

Female Posts : 230
Reputation : 19
Language : English, Russian, Dutch

http://www.nailphanatic.com/

Back to top Go down

Specific Width Code Empty Re: Specific Width Code

Post by Guest December 26th 2010, 3:41 am

I looked at your board, and the reason you're having problems with widths is because you have hardcoded widths for all sorts of things in your CSS. You should NEVER set full-page hardcoded widths (like your 986px example) if you want a good-looking design.

Go in your CSS and remove the ALL full-page hardcoded widths. I found several, so make sure to look thoroughly. After you remove them all, add this to your CSS:
Code:
#wrap {width: 98%; margin: 0px auto; padding: 0px;}
I'll bet all your pages line up PERFECTLY after you do these things.
avatar
Guest
Guest


Back to top Go down

Specific Width Code Empty Re: Specific Width Code

Post by CatherinaAndrea December 26th 2010, 2:19 pm

Yes i had that before, only the wrap had the width and controlled all, but the thing is ... the forum acts a little bit differently than the portal for some reason, i have this on every board i made even if they are defaulted. The forum will always be wider and the sides are sometimes more off to the other side. That is why i coded all the widths so i have control over it all, but unfortunately i can't seem to find that one code that solves the last bit.
Thank you for your input and time tho i appreciate it.
CatherinaAndrea
CatherinaAndrea
Forumember

Female Posts : 230
Reputation : 19
Language : English, Russian, Dutch

http://www.nailphanatic.com/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum