vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Weird CSS Stuff in Breadcrumbs.. (https://vborg.vbsupport.ru/showthread.php?t=156991)

armatik 09-04-2007 05:31 AM

Weird CSS Stuff in Breadcrumbs..
 
Okay, check out the breadcrumb bit (the navigation kinda thing above the new thread button) here. http://forums.gamesinaction.com/showthread.php?t=32

I don't know why it would be black background for just those links. I removed every single class I could see besides inline img, here's my navbar code:

HTML Code:

<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr>
                <td class="alt1" width="100%">
                        <if condition="is_array($navbits)">
                                <table cellpadding="0" cellspacing="0" border="0">
                                <tr valign="bottom">
                                        <td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
                                        <td>&nbsp;</td>
                                        <td width="100%">
                                                <a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a>$navbits[breadcrumb]
                                        </td>
                                </tr>
                                <tr>
                                        <td style="font-size:10pt; padding-top:1px" colspan="3">
                                                <if condition="$_SERVER['REQUEST_METHOD'] == 'POST'">
                                                        <img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="" border="0" />
                                                <else />
                                                        <img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="$vbphrase[reload_this_page]" border="0" /><a style="text-decoration:none;" href="$scriptpath"><strong>$navbits[lastelement]</strong></a>
                                                </if>
                                        </td>
                                </tr>
                                </table>                       
                        <else />
                                <div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
                        </if>
                </td>
        </tr>
</table>

It's weird, someone help?

Princeton 09-04-2007 12:39 PM

you set a background image to the .navbar selector

HTML Code:

.navbar
{
    background: url('images/site/content_subheader.jpg') repeat-x;
    color: #aaa;
    font: 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}


armatik 09-04-2007 09:39 PM

Oh shit! Haha, thanks a lot mate. What I thought at first when I looked at that was that I thought that navbar thing was for that navbar at the very top, so I never thought of changing that.

Thanks again. :)


All times are GMT. The time now is 05:30 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01196 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete