View Single Post
  #47  
Old 11-10-2008, 02:57 PM
Super Jinni Super Jinni is offline
 
Join Date: Mar 2008
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by basskiller View Post
6.0

But I have found a way to fix it.. atleast on my end

whereas the original looks like this
Code:
<div  id="wrap">
<!-- logo -->
<a name="top"></a>
    <div id="logo_block">
     
        <div class="logo-l"></div>
        <div class="logo-m"><div style="text-align:center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />$ad_location[ad_header_logo]</a></div></div> 
        <div class="logo-r"></div></div>
and I moved the "div" closing tag (in red) to here

Code:
<div  id="wrap">
<!-- logo -->
<a name="top"></a>
    <div id="logo_block">
     
        <div class="logo-l"> 
        <div class="logo-m"><div style="text-align:center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />$ad_location[ad_header_logo]</a></div></div> </div>
        <div class="logo-r"></div></div>
which seems to make it work for me ..

again..Thanks for the skin..Probably the best I've seen in quite some time..Great work!!!

One other question
which font are you using for the logo? is there somewhere I can find that easily?
Thanks again
Quote:
Originally Posted by ChaosBurnt View Post
Okay, I think the problem is the use of the secondary div, which struck me as superfluous when I used it, but the day had been a long one, you know how it is. Finding the source of problems once the skin is finished is not so easy, but the secondary div still makes no sense to me, so let's try this.

Find this:
Code:
<div id="logo_block">
     
        <div class="logo-l"></div>
        <div class="logo-m"><div style="text-align:center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />$ad_location[ad_header_logo]</a></div></div>
        <div class="logo-r"></div>
    </div>
Replace with this:
Code:
<div id="logo_block">
     
        <div class="logo-l"></div>
        <div class="logo-m" style="text-align: center;"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />$ad_location[ad_header_logo]</a></div>
        <div class="logo-r"></div>
    </div>
Let me know how it goes
Quote:
Originally Posted by basskiller View Post
It seems to create the same problem as before
Quote:
Originally Posted by ChaosBurnt View Post
I have to say basskiller, I'm lost for an answer, there is no reason what so ever for the code not to work I can think of.
Placing the end div where you say you have it will result in the div content being completely out of alignment.
I have searched extensively on the net for any other people reporting similar problems to the one you suggest but have yet to find anything the same, and most certainly have not found a solution. I could understand if the code was bad but the code I have used is perfectly correct, I'm at a loss mate

Just so you can see what I mean, this is the result of your notion in FF:
I think this problem is for some reasons in some browsers which they read every <div> in it's own line.

you can try this to make the two div in the same line and i think this will fix the problem:

add style="float: left;" so your code will be like this:

Code:
<div  id="wrap">
<!-- logo -->
<a name="top"></a>
    <div id="logo_block">
     
        <div class="logo-l" style="float: left;"></div>
        <div class="logo-m"><div style="text-align:center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />$ad_location[ad_header_logo]</a></div></div> 
        <div class="logo-r"></div></div>

OR

Code:
<div id="logo_block">
     
        <div class="logo-l" style="float: left;"></div>
        <div class="logo-m" style="text-align: center;"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />$ad_location[ad_header_logo]</a></div>
        <div class="logo-r"></div>
    </div>
and of course you can set the float for each div there
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01290 seconds
  • Memory Usage 1,803KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete