+ Reply to Thread
Results 1 to 7 of 7

Thread: a line between logo and forum

  1. #1
    Member CraiovaOnLine is on a distinguished road CraiovaOnLine's Avatar
    Join Date
    Feb 2007
    Location
    craiova
    Age
    22
    Posts
    39

    a line between logo and forum

    Hello,

    So I changed my header section in order to display diff. logos for diff. url's.
    But there is a line between logo and forum. (www.craiova-online.ro)
    I dont know how to remove that line.
    Oh..I forgot.. In firefox works fine!
    This is the code:
    Code:
    <!-- logo -->
    <a name="top"></a>
    <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
    <tr>
     <td align="$stylevar[left]">
     
     <img src="http://www.craiova-online.ro/images/misc/logo_forum.jpg" id="logoul" border="0"/>
    <script type="text/javascript">
    var imagine=document.getElementById('logoul');
    if(window.location.href.indexOf("craiova-online.ro") > -1) imagine.src="http://www.craiova-online.ro/images/misc/logo_forum.jpg";
    if(window.location.href.indexOf("e-students.ro") > -1) imagine.src="http://www.e-students.ro/forum/images/misc/estud.jpg";
    </script>
    </td>
     
    </tr>
    </table>
    <!-- /logo -->
    I hope you can help me.
    Thanks!
    Last edited by CraiovaOnLine; Mon 20th Aug '07 at 6:35pm.

  2. #2
    vBulletin Team Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke's Avatar
    Join Date
    Aug 2000
    Location
    So. California
    Age
    38
    Posts
    34,673
    Blog Entries
    1
    Remove the <br /> from whereever you added this code:
    HTML Code:
    <!-- USC header edit start -->
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td valign="top">
    <!-- USC header edit end -->
    <script type="text/javascript">
    <!--
    function log_out()
    {
     ht = document.getElementsByTagName("html");
     ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
     if (confirm('Are you sure you want to log out?'))
     {
      return true;
     }
     else
     {
      ht[0].style.filter = "";
      return false;
     }
    }
    //-->
    </script>
    <br />
    Looks like it is the navbar template.
    Wayne Luke
    Get started with your own social network.
    Purchase and download vBulletin today.
    vBCodex (Running vB 4.0 Suite) - Take your vBulletin Community to the next level. Modification tips, tricks and support.

  3. #3
    Member CraiovaOnLine is on a distinguished road CraiovaOnLine's Avatar
    Join Date
    Feb 2007
    Location
    craiova
    Age
    22
    Posts
    39
    This is the full header code
    Code:
    <!-- logo -->
    <a name="top"></a>
    <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
    <tr>
     <td align="$stylevar[left]">
     
     <img src="http://www.craiova-online.ro/images/misc/logo_forum.jpg" id="logoul" border="0"/>
    <script type="text/javascript">
    var imagine=document.getElementById('logoul');
    if(window.location.href.indexOf("craiova-online.ro") > -1) imagine.src="http://www.craiova-online.ro/images/misc/logo_forum.jpg";
    if(window.location.href.indexOf("e-students.ro") > -1) imagine.src="http://www.e-students.ro/forum/images/misc/estud.jpg";
    </script>
    </td>
    <td align="$stylevar[right]">
         <!-- vb add banner inceput -->
    <if condition="$foruminfo['banner'] AND $foruminfo['bannerlink']">
             <a href="$foruminfo[bannerlink]" target="_blank"><img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" /></a>
        <br />
    <else />
        <if condition="$foruminfo['banner']">
                <img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" />
            <br />
        <else />
            <if condition="$foruminfo['bannercode']">
                    $foruminfo[bannercode]
                <br />
         <else />
    <object>
    <embed src="http://www.craiova-online.ro/imgs/advs/aflux-it.swf" quality="high" bgcolor="#ffffff" width="700" height="90" type="application/x-shockwave-flash" />
    </object>
            </if>
        </if>
    </if>
    <!-- vb add banner sfarsit -->
     </td>
    
    </tr>
    </table>
    <!-- /logo -->
    <!-- content table -->
    $spacer_open
    $_phpinclude_output
    <!-- USC header edit start -->
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
    $usc_left
    <td valign="top">
    <!-- USC header edit end -->
    after removing that <br /> from navbar .. the page look like this ...
    Attached Images
    When I was going up to stairs, I met a man who wasn't there. He wasn't there again today..I wish..I wish he'd go away

  4. #4
    vBulletin Team Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke's Avatar
    Join Date
    Aug 2000
    Location
    So. California
    Age
    38
    Posts
    34,673
    Blog Entries
    1
    Isn't that how you wanted it to look like? It removed the white line between the logo and the navbar.
    Wayne Luke
    Get started with your own social network.
    Purchase and download vBulletin today.
    vBCodex (Running vB 4.0 Suite) - Take your vBulletin Community to the next level. Modification tips, tricks and support.

  5. #5
    vBulletin Team Andy Huang has a spectacular aura about Andy Huang has a spectacular aura about Andy Huang's Avatar
    Join Date
    Feb 2004
    Location
    Vancouver, British Columbia, Canada
    Age
    25
    Posts
    4,609
    Blog Entries
    1
    Try removing these <br />'s
    Code:
    <td align="$stylevar[right]">
         <!-- vb add banner inceput -->
    <if condition="$foruminfo['banner'] AND $foruminfo['bannerlink']">
             <a href="$foruminfo[bannerlink]" target="_blank"><img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" /></a>
        <br />
    <else />
        <if condition="$foruminfo['banner']">
                <img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" />
            <br />
        <else />
            <if condition="$foruminfo['bannercode']">
                    $foruminfo[bannercode]
                <br />
         <else />
    <object>
    <embed src="http://www.craiova-online.ro/imgs/advs/aflux-it.swf" quality="high" bgcolor="#ffffff" width="700" height="90" type="application/x-shockwave-flash" />
    </object>
            </if>
        </if>
    </if>
    <!-- vb add banner sfarsit -->
     </td>
    I don't know what they're for, but I'm guessing they might be your culprit.
    Best Regards,
    Andy Huang

    Please visit vBulletin-China for support in Chinese.

  6. #6
    Member CraiovaOnLine is on a distinguished road CraiovaOnLine's Avatar
    Join Date
    Feb 2007
    Location
    craiova
    Age
    22
    Posts
    39
    If i remove <br /> from navbar is not what i want. That space is still there.
    Only the position of navbar it's changed.
    "Try removing these <br />'s"
    It won't work.
    That td displays some ads in the right side of the logo.
    I tried to remove it but it wont change anything

    Is there another code to use it for displaying different logo for different URL's?
    Last edited by CraiovaOnLine; Mon 20th Aug '07 at 7:21pm.
    When I was going up to stairs, I met a man who wasn't there. He wasn't there again today..I wish..I wish he'd go away

  7. #7
    vBulletin Team Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke's Avatar
    Join Date
    Aug 2000
    Location
    So. California
    Age
    38
    Posts
    34,673
    Blog Entries
    1
    Quote Originally Posted by CraiovaOnLine View Post
    Is there another code to use if for displaying different logo for different URL's?
    No.. This isn't supported.
    Wayne Luke
    Get started with your own social network.
    Purchase and download vBulletin today.
    vBCodex (Running vB 4.0 Suite) - Take your vBulletin Community to the next level. Modification tips, tricks and support.

+ Reply to Thread

Similar Threads

  1. Make logo line up with navbar
    By MButler in forum vBulletin 3.6 Questions, Problems and Troubleshooting
    Replies: 3
    Last Post: Wed 25th Apr '07, 8:25pm
  2. Move Logo Over To Be In line With Table
    By SFC in forum vBulletin 3.6 Questions, Problems and Troubleshooting
    Replies: 1
    Last Post: Sun 12th Nov '06, 6:43pm
  3. How can I get rid of the line break below my logo?
    By confusion09 in forum vBulletin 3.5 'How Do I' Questions and Troubleshooting
    Replies: 1
    Last Post: Sat 17th Jun '06, 8:21pm
  4. Line up my logo with the board?
    By zach1288 in forum vBulletin 3.5 'How Do I' Questions and Troubleshooting
    Replies: 3
    Last Post: Wed 21st Dec '05, 12:05pm
  5. How to change Vbulletin logo to forum logo?
    By Illusions in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 3
    Last Post: Sun 3rd Apr '05, 12:35pm

Bookmarks

Posting Permissions

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts