|
Page 1 of 2
|
ubahpenguin 
Joined: October 2009
Posts: 3
|
 Black Pearl Not Supporting Center Align?
Alright well, as the title says, Black pearl doesn't seem to be supporting my center align thing.
It works with left and right alignment but not center, it shows the bbcode and doesn't align it to the center.
demo
It seems to work with pro silver just fine but not Black Pearl, why is this and how do i fix this?
|
#1 Mon 19 Oct, 2009 21:35 |
|
Sponsors

|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: Black Pearl Not Supporting Center Align?
Did you properly edit styles/black_pearl/template/bbcode.html?
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#2 Wed 21 Oct, 2009 00:20 |
|
ubahpenguin 
Joined: October 2009
Posts: 3
|
 Re: Black Pearl Not Supporting Center Align?
Mighty Gorgon wrote: [View Post] Did you properly edit styles/black_pearl/template/bbcode.html?
what do I add precisely? It'd be the first time I've ever had to edit the bbcode.html.
|
#3 Wed 21 Oct, 2009 19:58 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: Black Pearl Not Supporting Center Align?
Which edits are required by that mod?
Can you post installing instructions please?
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#4 Wed 21 Oct, 2009 20:09 |
|
ubahpenguin 
Joined: October 2009
Posts: 3
|
 Re: Black Pearl Not Supporting Center Align?
Mighty Gorgon wrote: [View Post] Which edits are required by that mod?
Can you post installing instructions please?
Not a mod, just trying to make the BBCode for center alignment work but it doesn't.
|
#5 Wed 21 Oct, 2009 22:28 |
|
spydie 
Joined: December 2008
Posts: 1796
Location:  In the Boxes
|
 Re: Black Pearl Not Supporting Center Align?
if you´re trying to edit an block. make shure you have it switched to bbcode and not to html
____________ Out of Order
|
#6 Thu 22 Oct, 2009 00:18 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: Black Pearl Not Supporting Center Align?
Not a mod, just trying to make the BBCode for center alignment work but it doesn't.
Please post me the code you are using and the settings you are using in your ACP, so I can check.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#7 Thu 22 Oct, 2009 08:38 |
|
brewster 
Joined: October 2009
Posts: 24
Location:  New York
|
 Re: Black Pearl Not Supporting Center Align?
Meh ... I can't even get my sons forum aligned to the center of the screen! No matter what I do it's aligned to the right. Even the alignment of "sitelogo_small" - when set to align center in the header table, doesn't center properly - the header gradient still shows on the right side. Increasing the width of the image to 950 breaks the page entirely!
This style is nice and my son wants it, but it's making me crazy with these edits.
http://blueflamepress.com/forum
|
#8 Tue 03 Nov, 2009 22:27 |
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 Re: Black Pearl Not Supporting Center Align?
in overal header modify:
<td height="165" align="left" valign="middle"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
im now gonna stop chasing your posts ... LOL
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#9 Wed 04 Nov, 2009 00:51 |
|
brewster 
Joined: October 2009
Posts: 24
Location:  New York
|
 Re: Black Pearl Not Supporting Center Align?
in overal header modify:
<td height="165" align="left" valign="middle"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
im now gonna stop chasing your posts ... LOL
Who ... ME? LOL!
Oh merde ...
I have this there:
- <td height="150" align="center" valign="middle"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
-
and that doesn't center the image. The "shadowright" (I think that's what it's called) still shows by about 10px. I've tried enlarging the image to 950 and that just breaks the table altogether, resulting in a scrollbar. Not good:( The image height of 150 fits the space perfectly, however.
I saw one forum based on BP that had an image measuring 950x200 and it fit perfectly. I tried viewing his source and found nothing different than mine - yet if I go larger in height than 150 the bottom of the image covers the upper blue border on the menu. I am beginning to talk to myself and scaring my wife. She says when I start answering .... she's leaving.
|
#10 Wed 04 Nov, 2009 01:27 |
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 Re: Black Pearl Not Supporting Center Align?
uuhm did you remove
<td align="center" valign="middle"><h1><font color="#AA0000" size="5px"><b><i><u>{SITENAME}</u></i></b></font></h1><span class="gen"><font color="lime"><b><i>{SITE_DESCRIPTION}</i></b></font></span></td>
<td align="right" valign="top"> </td>
? or something that looks like that
i'm walking away too hahaha
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#11 Wed 04 Nov, 2009 02:04 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: Black Pearl Not Supporting Center Align?
Best thing you can do is having a PNG logo which will fit any background. Alternatively you can design the logo to match the gradient, so you won't see mismatching when the logo ends.
There are many ways to align things, first you need to make sure that you have a proper container which is 100% width, otherwise your efforts will be useless.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#12 Wed 04 Nov, 2009 10:32 |
|
brewster 
Joined: October 2009
Posts: 24
Location:  New York
|
 Re: Black Pearl Not Supporting Center Align?
Best thing you can do is having a PNG logo which will fit any background. Alternatively you can design the logo to match the gradient, so you won't see mismatching when the logo ends.
There are many ways to align things, first you need to make sure that you have a proper container which is 100% width, otherwise your efforts will be useless.
The logo IS a PNG, Luca:) Doesn';t make any difference. I tried using the gradient as a BG but because it is only a slice could not expand it in PSP to take the dimension I wanted, so I used the standard #111 bg color. Because I use a dropshadow highlight fore the text I couldn't use a transparent PNG because I got a load of artifacts around the text.
I'm not sure what you mean about the 100% container width - I haven't changed any of the CSS relating to the size of the header container. All I did was make a new sitelogo_small.png to hopefully cover the original one. making it the same size as the original header container (950x165) breaks it entirely.
The only thing I've been able to come up with that cleans up the logo somewhat is to remove the following from the #top_logo container:
- background: url('./images/top_header.png') repeat;
-
which renders the whole container area as the standard #111 bg color. None of this has changed anything about the entire forum aligning itself to the tight - leaving a margin of appx 25px on the left. I haven't changed anything that should have effected that, and I haven't touched the PHP files at all to change this.
I'm just stumped. maybe if you looked at the forum? Firefox's Web Developer add-on doesn't give me any help at all.
|
#13 Wed 04 Nov, 2009 16:06 |
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 Re: Black Pearl Not Supporting Center Align?
well i had some time left today so since you did not answer my last question, i been looking for it:
did you remove the code mentioned above? : partly
i can only wonder why this is still in there:
<td align="center" valign="middle"><h1></h1><span class="gen"></span></td>
<td align="right" valign="top"> </td>
i could be wrong but i think that is the reason you re off centered
Edit: maybe that second line should stay i m not sure
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#14 Wed 04 Nov, 2009 21:55 |
|
brewster 
Joined: October 2009
Posts: 24
Location:  New York
|
 Re: Black Pearl Not Supporting Center Align?
well i had some time left today so since you did not answer my last question, i been looking for it:
did you remove the code mentioned above? : partly
i can only wonder why this is still in there:
<td align="center" valign="middle"><h1></h1><span class="gen"></span></td>
<td align="right" valign="top"> </td>
i could be wrong but i think that is the reason you re off centered
Edit: maybe that second line should stay i m not sure
No - haven't had a chance, Joshua - I was a bit confused by your question. That line - whatever it is - was always there, I didn't add it. I haven't yet learned PHP so I hesitate to get in there and mess around with things I don't understand.
Now this line above is from the stylesheet? It is curious that the H1 tag is blank, but I don't know what else it does. I just hesitate to remove stuff without knowing why its present and what it does. I see the line also has an open span class. I have NO idea what that's all about - but then there are a lot of things in this style that have me scratching my head.
|
#15 Thu 05 Nov, 2009 00:05 |
|
|
Page 1 of 2
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
Similar Topics
Similar Topics
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|