Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Black Pearl - Overall_header Problem 
 
Hi there people!
im using Black Pearl template on my foruum, but with all modifications i have done in the past eyear, im now with the overall_footer file all messeed up.
Im having troubles in introducing an inamovible bar in the top of the forum.

I want to introduce this in my overall_header:
Code: [Download] [Hide] [Select]
    <table width="100%" align="center" cellspacing="0" cellpadding="0" border="0">
       <tr>
          <td class="leftshadow" width="9" valign="top"><img src="{T_THEME_PATH}/images/spacer.gif" alt="" width="9" height="1" /></td>
          <td class="np-body" width="100%" valign="top">

    <div id="top_logo">
    <table width="100%" cellspacing="0" cellpadding="0" border="0">
    <tr>

<a href="http://www.forumdiscutivel.com" target="_blank"><img src="http://img34.imageshack.us/img34/6461/bannerpub.png" alt="Forum de Futebol" title= "Fórum Discutível" width='100%' height='100%'></a>

    </tr>
    </table>
    </div>


The problem is that it doesnt appear where it should. It should appear as a Inamovible bar in the top of the forum , and instead the upper part remains everytime in the upper side but when the page opens, the forum logo should be above that bar and not as is background.

Can someone give an eye on my forum (www.forumdiscutivel.com) overall_header and tell me whats up with that?
Notice that the code for the bar is in linked with the code <!-- INCLUDE atalhos/tabela_superior.html -->

Best regards
 



 
Last edited by unknown2 on Tue 09 Mar, 2010 19:29; edited 1 time in total 
unknown2Send private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Black Pearl - Overall_header Problem 
 
try putting the html code in publicity/adds, position : global top

if you could post the complete code of that facebook add here would be nice, cause there´s something in there, that makes it floating, and we want it static. so it stays in it´s place.
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Black Pearl - Overall_header Problem 
 
forget the precious code. Was my mistake to post it. here is the code that i wanted to show:
Code: [Download] [Hide] [Select]
        <body class="ltr">
        <div id="mydiv">

            <table style="width:100%;">
            <tr align="center">
        <td align="center"><b>Site optimizado para 1024x768 @ Mozilla Firefox</b>
            <br /><b>Bem-vindo ao Fórum Discutível</b>
        </td></tr>
        </table>
        <table style="width:100%;">

        <tr>
            <td align="left" width="25%"><a href="javascript:bookmarksite('Fórum Discutível','http://www.forumdiscutivel.com')"><img src="http://www.forumdiscutivel.com/styles/black_pearl/imageset/favoritos.png" title="Adicionar Fórum Discutível aos Favoritos" alt="Forum de Futebol"</img></a></td>
            <td align="center" width="50%"><a href="http://www.facebook.com/profile.php?ref=profile&id=100000543131535" onclick="window.open (this.href, 'child'); return false"><img src="http://www.forumdiscutivel.com/styles/black_pearl/imageset/facebook.png" width="32" height="32" alt="Forum de Futebol" title="Fórum Discutível no Facebook" border="2"/></a>
                <a href="http://www.youtube.com/user/ForumDiscutivel" onclick="window.open (this.href, 'child'); return false"><img src="http://www.forumdiscutivel.com/styles/black_pearl/imageset/youtube.png" width="32" height="32" alt="Forum de Futebol" title="Fórum Discutível no YouTube" border="2"/></a>
                <a href="http://discutivel.hi5.com" onclick="window.open (this.href, 'child'); return false"><img src="http://www.forumdiscutivel.com/styles/black_pearl/imageset/hi5.png" width="32" height="32" alt="Forum de Futebol" title="Fórum Discutível no Hi5" border="2"/></a>
                <a href="http://forumdiscutivel.blogspot.com/" onclick="window.open (this.href, 'child'); return false"><img src="http://www.forumdiscutivel.com/styles/black_pearl/imageset/blog.png" width="32" height="32" title="Blog Fórum Discutível" border="2"/></a></td>
            <td align="left">
        Radio Renascenca <a href="http://www.rr.pt/live/stream_rr_new.asx" onclick="window.open (this.href, 'child'); return false"><img src="http://esoterica.fm/wm_small.png" width="16" height="16" title="Radio Renascenca" border="2"/></a>
        <br />

        Radio TSF <a href="http://www.tsf.pt/tsfdirecto.asx" onclick="window.open (this.href, 'child'); return false"><img src="http://esoterica.fm/wm_small.png" width="16" height="16" title="Radio TSF" border="2"/></a>
        </td>
        <td align="right"><a href="mailto:forumdiscutivel@gmail.com?subject=" target="_blank"><img src="http://www.forumdiscutivel.com/styles/black_pearl/imageset/email.png" width="32" height="32" alt="Forum de Futebol" title="Clique para nos enviar um e-mail " border="2"/></a></td>

            </tr>
            </table>

        </div>


Notice that for this issue im using two "includes":
           <!-- INCLUDE atalhos/barra2.html -->  wich have the previous code
        <!-- INCLUDE atalhos/barra1.html --> wich have the following code:

Code: [Download] [Hide] [Select]
<style type="text/css">
#mydiv{
position: fixed;
left: 0px;
top: 0px;
width:100%; margin-left:auto; margin-right:auto; text-align:center;
}
</style>


The bar in the upper part remains everytime in the upper side but when the page opens, the forum logo should be above that bar and not as is background
 



 
unknown2Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Black Pearl - Overall_header Problem 
 
And here is your problem:
Code: [Download] [Hide] [Select]
<style type="text/css">
#mydiv{
position: fixed;
left: 0px;
top: 0px;
width:100%; margin-left:auto; margin-right:auto; text-align:center;
}
</style>


Position: fixed;

change it to

position: relative;

for example, or don´t use position at all.

the fixed means, that the div stays in top of screen all the time, even if you scroll page down. It all time keeps beeing in the top row of the screen.
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Black Pearl - Overall_header Problem 
 
But i want him to be in the top of the page everytime. The issue its that the forum logo should be above that bar and not as is background.

Regards
 



 
unknown2Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Black Pearl - Overall_header Problem 
 
topic moved to phpBB 3 MODS And Styles
 




____________
TheSteffen
Often SEARCH is the quickest way to get support.
IcyPhoenix German Support
 
TheSteffenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Black Pearl - Overall_header Problem 
 
Can someone give me help on this one?
 



 
unknown2Send private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron