+ Reply to Thread
Results 1 to 14 of 14

Thread: Why won't vB allow to make my header flush with the page?

  1. #1
    Senior Member kau is on a distinguished road
    Join Date
    Jul 2002
    Posts
    719

    Why won't vB allow to make my header flush with the page?

    When I try to make a header be flush with the edge of my page vB adds an auto gap so it won't be flush up against the edges.

    How do I stop this? I want my header to be absolutely flush with the edges of the page and not have a small gap there.

  2. #2
    vBulletin Team Zachery has a spectacular aura about Zachery has a spectacular aura about Zachery's Avatar
    Join Date
    Jul 2002
    Location
    Cleveland, Ohio
    Age
    24
    Posts
    40,572
    Not sure what you are talking about specificly, can we see a link to your site ?
    Zachery Woods
    vBulletin Support Team
    Please do not PM me for support
    $this->hasFlavr() ? $nom->nom('nom') : $want->doNot()

  3. #3
    Senior Member Icheb is on a distinguished road Icheb's Avatar
    Join Date
    Nov 2002
    Age
    26
    Posts
    1,293
    Try to add something like margin:0px or margin-left:0px in the CSS definition for the body tag.

  4. #4
    vBulletin Team Zachery has a spectacular aura about Zachery has a spectacular aura about Zachery's Avatar
    Join Date
    Jul 2002
    Location
    Cleveland, Ohio
    Age
    24
    Posts
    40,572
    Actually Im guessing its that nastly little

      popping up again which is in my List of FAQs
    Zachery Woods
    vBulletin Support Team
    Please do not PM me for support
    $this->hasFlavr() ? $nom->nom('nom') : $want->doNot()

  5. #5
    Senior Member kau is on a distinguished road
    Join Date
    Jul 2002
    Posts
    719
    There is no CSS definition.

    I have the page working in textpad/IE however when I load the HTML into the vB header slot it makes the left and right margin gap a little.

  6. #6
    Senior Member Floris has disabled reputation
    Join Date
    Dec 2001
    Posts
    37,096
    Blog Entries
    13
    Without an example there isn't much we can do but guess.
    smaller than forward slash three.

  7. #7
    Senior Member kau is on a distinguished road
    Join Date
    Jul 2002
    Posts
    719

  8. #8
    Senior Member Floris has disabled reputation
    Join Date
    Dec 2001
    Posts
    37,096
    Blog Entries
    13
    I do not see the vBulletin copyright on your page, am I overlooking it or have you removed it?

    For $120 you are allowed to remove it, you can order it through the members area for each of your license. If you haven't paid for branding free please restore the copyright.
    smaller than forward slash three.

  9. #9
    Senior Member Icheb is on a distinguished road Icheb's Avatar
    Join Date
    Nov 2002
    Age
    26
    Posts
    1,293
    Quote Originally Posted by kau
    There is no CSS definition.
    Of course there is.
    Admin CP -> Style Manager -> (Choose your Style) -> Edit "Main CSS" -> Body.

  10. #10
    vBulletin Team Zachery has a spectacular aura about Zachery has a spectacular aura about Zachery's Avatar
    Join Date
    Jul 2002
    Location
    Cleveland, Ohio
    Age
    24
    Posts
    40,572
    You have quite abit of very malformed HTML in your header template. Which I am guessing is part of the Issue.
    Zachery Woods
    vBulletin Support Team
    Please do not PM me for support
    $this->hasFlavr() ? $nom->nom('nom') : $want->doNot()

  11. #11
    Senior Member kau is on a distinguished road
    Join Date
    Jul 2002
    Posts
    719
    Nope it was the CSS.

    Why is it malformed?

  12. #12
    Senior Member Icheb is on a distinguished road Icheb's Avatar
    Join Date
    Nov 2002
    Age
    26
    Posts
    1,293
    You want to have no border between the edge of the page and the logo? Do I understand that correctly? If there is no other code interfering, my code will solve your problem.

  13. #13
    vBulletin Team Zachery has a spectacular aura about Zachery has a spectacular aura about Zachery's Avatar
    Join Date
    Jul 2002
    Location
    Cleveland, Ohio
    Age
    24
    Posts
    40,572
    Code:
    <br />
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
    	<tbody>
    		<tr>
    			<td><img height="10" src="http://www.jeepforum.com/images/1pix.gif" width="1"></td>
    		</tr>
    	</tbody>
    </table>
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="1">
    	<tbody>
    		<tr>
        <td valign="bottom">
          <table align="center" border="0" cellpadding="0" cellspacing="0" width="1">
            <tbody>
            <tr>
              <td rowspan="2" valign="bottom">
                <table border="0" cellpadding="0" cellspacing="0" width="100">
                  <tbody>
                  <tr>
                    <td rowspan=3><img height=99 src="http://www.jeepforum.com/images/menu-left-end.gif" width="21"></td>
                    <td background="http://www.jeepforum.com/images/menu-right-topback.gif"><img height="4" src="http://www.jeepforum.com/images/menu-right-topback.gif" width="1"></td></tr>
                  <tr>
                    <td><a href="http://www.carpartstoyourdoor.com/"><img border="0" src="http://www.jeepforum.com/banners/junkyard.jpg" width="120" height="90"></a></td></tr>
                  <tr>
                    <td background="http://www.jeepforum.com/images/menu-right-botback.gif"><img border="0" height="5" src="http://www.jeepforum.com/images/menu-right-botback.gif" width="1"></td></tr></tbody></table></td>
              <td align="right" rowspan="2" valign="bottom"><img height="99" src="http://www.jeepforum.com/images/menu-bleft.gif" width="21"></td></tr>
            </tbody></table></td>
        <td>
          <table align="center" border="0" cellpadding="0" cellspacing="0" width="1">
            <tbody>
            <tr>
              <td align="middle" colspan="17"><a href="http://top4x4sites.com/cgi-bin/arp/rankem.cgi?id=kuoei" target="_blank"><font face="verdana, arial, helvetica, sans-serif" size="2"></a>
              <a href="http://www.jeepforum.com/forum/announcement.php?f=6"><font size="2" color="#003300">support the community!!</a>  -  <a href="_blank" target="a">live chat</a></font></td></tr>
            <tr>
              <td colspan="15">
                <table border="0" cellpadding="2" cellspacing="0" width="100%">
                  <tbody>
                  <tr>
                    <td>
                      <center>  
    
    <a href="http://www.jeepforum.com/ads/adclick.php?bannerid=4&amp;zoneid="0"&amp;source=&amp;dest=http%3a%2f%2fwww.redrock4x4.com%2f" target="_blank"><img src="http://www.jeepforum.com/ads/adimage.php?filename=redrock_web_banner.gif&amp;contenttype=gif" width="468" height="60" alt="" title="" border="0"></a><div id="beacon_4" style="position: absolute; left: 0px; top: 0px; visibility: hidden;"><img src="http://www.jeepforum.com/ads/adlog.php?bannerid=4&amp;clientid=7&amp;zoneid="0"&amp;source=&amp;block="0"&amp;capping="0"&amp;cb="0"ddc5200980a2f6313e6b933ae022774" width="0" height="0" alt=" style="width: 0px; height: 0px;"></div>
    
      <center></td></tr></tbody></table></td></tr>
            <tr>
              <td background="http://www.jeepforum.com/images/menu-backspace.gif">
                <div align="right"><img height="23" src="http://www.jeepforum.com/images/menu-rightspace.gif" width="4"></div></td>
    <td background="http://www.jeepforum.com/images/menu-back1.gif">
                <div align="center"><font face="verdana, arial, helvetica, sans-serif" size="2"><b><font size="1"><a href="http://www.jeepzine.com/">trail 
                reports</a></font></b></font></div></td>
              <td background="http://www.jeepforum.com/images/menu-backspace.gif"><img height="23" 
                src="http://www.jeepforum.com/images/menu-leftspace.gif" width="4"></td>
              <td background="http://www.jeepforum.com/images/menu-backspace.gif">
                <div align="right"><img height="23" src="http://www.jeepforum.com/images/menu-rightspace.gif" width="4"></div></td>
              <td background="http://www.jeepforum.com/images/menu-back2.gif">
                <div align="center"><font face="verdana, arial, helvetica, sans-serif" size="2"><b><font size="1"><a href="http://www.jeepzine.com/">reviews</a></font></b></font></div></td>
              <td background="http://www.jeepforum.com/images/menu-backspace.gif"><img height="23" src="http://www.jeepforum.com/images/menu-leftspace.gif" width="4"></td>
              <td background="http://www.jeepforum.com/images/menu-backspace.gif">
                <div align="right"><img height="23" src="http://www.jeepforum.com/images/menu-rightspace.gif" width="4"></div></td>
              <td background="http://www.jeepforum.com/images/menu-back1.gif">
                <div align="center"><font face="verdana, arial, helvetica, sans-serif" size="2"><b><font size=1><a href="http://www.jeepforum.com/forum/contact.php">contact us 
                </a></font></b></font></div></td>
              <td background="http://www.jeepforum.com/images/menu-backspace.gif"><img height="23" src="http://www.jeepforum.com/images/menu-leftspace.gif" width="4"></td>
              <td background="http://www.jeepforum.com/images/menu-backspace.gif">
                <div align="right"><img height="23" src="http://www.jeepforum.com/images/menu-rightspace.gif" width="4"></div></td>
              <td background="http://www.jeepforum.com/images/menu-back2.gif">
                <div align="center"><font face="verdana, arial, helvetica, sans-serif" 
                size="2"><b><font size="1"><a href="http://www.jeepforum.com/links.htm">links</a></font></b></font></div></td>
              <td background="http://www.jeepforum.com/images/menu-backspace.gif"><img height="23" src="http://www.jeepforum.com/images/menu-leftspace.gif" width="4"></td>
              <td background="http://www.jeepforum.com/images/menu-backspace.gif">            <div align="right"><img height=23 
                src="http://www.jeepforum.com/images/menu-rightspace.gif" width="4"></div></td>
              <td background="http://www.jeepforum.com/images/menu-back1.gif">
                <div align="center"><font face="verdana, arial, helvetica, sans-serif" size="2"><a href="http://www.jeepforum.com/forum/advertise.php">advertise</a></font></div></td>
              <td background="http://www.jeepforum.com/images/menu-backspace.gif"><img height="23" src="http://www.jeepforum.com/images/menu-leftspace.gif" width="8"></td></tr></tbody></table></td>
        <td valign=bottom>
    
    
    
    
          <table align="center" border="0" cellpadding="0" cellspacing="0" width="1">
            <tbody>
            <tr>
              <td rowspan="2" valign="bottom">
                <table border="0" cellpadding="0" cellspacing="0" width="100">
                  <tbody>
                  <tr>
                    <td rowspan=3><img height="99" src="http://www.jeepforum.com/images/menu-right.gif" width="21"></td>
                    <td background="http://www.jeepforum.com/images/menu-right-topback.gif"><img height="4" src="http://www.jeepforum.com/images/menu-right-topback.gif" width="1"></td></tr>
                  <tr>
                    <td><map name="fpmap0">
    <area href="http://www.partstrain.com/shopbyvehicle/jeep" shape="rect" coords="10, 2, 114, 17" />
    <area href="http://www.partstrain.com/shopbyvehicle/jeep" shape="rect" coords="13, 75, 110, 89" />
    <area href="http://www.partstrain.com/shopbydepartment/tail_light" shape="rect" coords="63, 18, 113, 47" />
    <area href="http://www.partstrain.com/shopbydepartment/mirror" shape="rect" coords="5, 19, 51, 48" />
    <area href="http://www.partstrain.com/shopbydepartment/wheels" shape="rect" coords="3, 50, 50, 76" />
    <area href="http://www.partstrain.com/shopbydepartment/headlight" shape="rect" coords="60, 48, 116, 75" /></map><img border="0" src="http://www.jeepforum.com/images/120x90ad.jpg" usemap="#fpmap0" width="120" height="90"></td></tr>
                  <tr>
                    <td background="http://www.jeepforum.com/images/menu-right-botback.gif"><img border="0" height="5" src="http://www.jeepforum.com/images/menu-right-botback.gif" width="1"></td></tr></tbody></table></td>
              <td align="right" rowspan=2 valign=bottom><img height=99 src="http://www.jeepforum.com/images/menu-right-end.gif" width="21"></td></tr>
            </tbody></table></td>
      </tr></tbody></table>
    <div></div>
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tbody>
      <tr>
        <td><img height="10" src="http://www.jeepforum.com/images/1pix.gif" width="1"></td></tr></tbody></table>
    <br />
    <!-- logo -->
    <a name="top"></a>
    <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
    <tr>
    	<td align="left"><a href="index.php?"><img src="../../ubb/tlogo.jpg" border="0" alt="jeepforum.com" /></a></td>
    	<td align="right">
    <center>
    <script type="text/javascript"><!--
    google_ad_client = "pub-3927874040083090";
    google_ad_width = 468;
    google_ad_height = 60;
    google_ad_format = "468x60_as";
    google_ad_channel ="0834002351";
    google_ad_type = "text";
    google_color_border = "354724";
    google_color_bg = "eeede3";
    google_color_link = "00008b";
    google_color_url = "00008b";
    google_color_text = "000000";
    //--></script>
    <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </center>
    </td>
    </tr>
    </table>
    <!-- /logo -->
    $spacer_open
    You had an ungodly ammount of malformed html, it took me 15 min to clean up your code.

    You had a superfluous ammount of whitespacing where there should not have been whitespacing, on one line you had all single quotes instead of double quotes (' instead of ")

    You had tags where you properly quoted attribute values and others where you did not.

    You had badly nested font tags and double nested tags which did not need to be there, or were repeated.

    You should take a look at w3schools.com for coding standards, vBulletin is done in all XHMLT 1.0 Tras.
    Zachery Woods
    vBulletin Support Team
    Please do not PM me for support
    $this->hasFlavr() ? $nom->nom('nom') : $want->doNot()

  14. #14
    Senior Member Floris has disabled reputation
    Join Date
    Dec 2001
    Posts
    37,096
    Blog Entries
    13
    Thank you for restoring the copyright on all your styles.
    smaller than forward slash three.

+ Reply to Thread

Similar Threads

  1. Quick Help: Flush Banner in Header
    By mudanoman in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 9
    Last Post: Sun 3rd Oct '04, 11:57pm
  2. Make a external web page appear as a internal php page?
    By silverstangs in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 3
    Last Post: Sun 29th Aug '04, 3:56am
  3. How Do I make the forum flush?
    By Fender963 in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 3
    Last Post: Tue 24th Aug '04, 5:20pm
  4. Header with perfect flush?
    By midnightz in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 1
    Last Post: Tue 1st Jun '04, 11:00am
  5. Header flush to top of Browser
    By bushvskerry04 in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 5
    Last Post: Wed 24th Mar '04, 3:29am

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