ooop
Junior Poster
Posts: 12
|
Post by ooop on Nov 14, 2010 21:09:18 GMT
Okay so I used a forum resize code I found on proboards support, when I changed the size, it all looks off-centered clpro.co.ccCan you help me making everything centered? I'm adding a bg soon, and I want it too fit in correctly.
|
|
russellr
Elite Level 1
[M:5000]
rCs?
Posts: 525
|
Post by russellr on Nov 14, 2010 21:27:49 GMT
How about you check the css has margin-left:auto; margin-right:auto; in there somewhere
|
|
ooop
Junior Poster
Posts: 12
|
Post by ooop on Nov 14, 2010 21:29:02 GMT
Okay wiat 1 sec russel ^_^
|
|
ooop
Junior Poster
Posts: 12
|
Post by ooop on Nov 14, 2010 21:30:46 GMT
<style type="text/CSS"> /* CSS Forum Resize */ body table tr td table.bordercolor, body table.bordercolor { width: 900px; } blockquote table.bordercolor, td.windowbg table tr td table.bordercolor, td.windowbg2 table tr td table.bordercolor { width: 500px !important; } </style> <div align="center" style="align: center;"><div style="width: 700px;" width="700">
?
|
|
russellr
Elite Level 1
[M:5000]
rCs?
Posts: 525
|
Post by russellr on Nov 14, 2010 21:32:27 GMT
<style type="text/CSS"> /* CSS Forum Resize */ body table tr td table.bordercolor, body table.bordercolor { width: 900px;margin-left:auto; margin-right:auto; } blockquote table.bordercolor, td.windowbg table tr td table.bordercolor, td.windowbg2 table tr td table.bordercolor { width: 500px !important;margin-left:auto; margin-right:auto; } </style> <div align="center" style="align: center;"><div style="width: 700px;margin-left:auto; margin-right:auto;" width="700">
see if thats fixes it
|
|
ooop
Junior Poster
Posts: 12
|
Post by ooop on Nov 14, 2010 21:34:35 GMT
Nope looks like it's to the right..
|
|
russellr
Elite Level 1
[M:5000]
rCs?
Posts: 525
|
Post by russellr on Nov 14, 2010 21:36:34 GMT
Have you got the footer part in there too?
|
|
ooop
Junior Poster
Posts: 12
|
Post by ooop on Nov 14, 2010 21:37:51 GMT
whats the footer supposed to be?
|
|
russellr
Elite Level 1
[M:5000]
rCs?
Posts: 525
|
Post by russellr on Nov 14, 2010 21:39:15 GMT
just a </div></div> at the top of the global footer.
also found another possible issue
change <div align="center" style="align: center;"><div style="width: 700px;margin-left:auto; margin-right:auto;" width="700">
to <div align="center" style="align: center;"><div style="width: 700px;margin-left:auto; margin-right:auto;" width="700px">
|
|
ooop
Junior Poster
Posts: 12
|
Post by ooop on Nov 14, 2010 21:40:52 GMT
Fixed! Thanks Russel you rock
|
|
ooop
Junior Poster
Posts: 12
|
Post by ooop on Nov 14, 2010 21:43:26 GMT
Omg, 1 problem, look at clpro.co.ccThe things like ClearLineProductions :: Forum :: etc. is to far to the left?
|
|
russellr
Elite Level 1
[M:5000]
rCs?
Posts: 525
|
Post by russellr on Nov 14, 2010 21:43:39 GMT
No problem, anytime
|
|
ooop
Junior Poster
Posts: 12
|
Post by ooop on Nov 14, 2010 21:45:54 GMT
Omg, 1 problem, look at clpro.co.ccThe things like ClearLineProductions :: Forum :: etc. is to far to the left?
|
|
russellr
Elite Level 1
[M:5000]
rCs?
Posts: 525
|
Post by russellr on Nov 14, 2010 21:50:12 GMT
hmm thats strange, 1 second why not just this? <script> // change board width borderWidth = document.getElementsByTagName('table'); for (bw=0;bw<borderWidth.length;bw++) { if (borderWidth[bw].width=='92%') { borderWidth[bw].width='700'; }} // --> </script> bottom global footers and remove all that resize code above and below.
|
|
ooop
Junior Poster
Posts: 12
|
Post by ooop on Nov 14, 2010 21:53:11 GMT
I love you >_>
|
|