Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2008
    Posts
    268
    Plugin Contributions
    0

    Default Extra Nav Bar That I don't Want - Help Please

    I have a problem that only seems to show in IE, for some reason there's an extra main nav bar above the original one but can't seem to work out why.

    Does anyone know why it's there?

    www.dpmperformance.co.uk

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Extra Nav Bar That I don't Want - Help Please

    Quote Originally Posted by DPM View Post
    I have a problem that only seems to show in IE, for some reason there's an extra main nav bar above the original one but can't seem to work out why.

    Does anyone know why it's there?

    www.dpmperformance.co.uk
    You have an empty table in your layout.

    FF doesn't show the empty table but IE does.

    This is from the view source of your site: The highlighted portion is the empty table.

    <div id="mainWrapper">

    <table width="100%" height="12px">
    <tr>
    <td>
    </td>
    </tr>
    </table>

    <img src="images/scrollspace.gif" height="1" width="4">
    <a href="http://www.dpmperformance.co.uk/"><img src="images/DPM2.jpg" alt="DPM Performance - 01207 561606" height="117" width="908">



    <br>
    <table width="100%" height="10px">
    <tr>
    <td>
    </td>
    </tr>
    </table>

    <!--bof-header logo and navigation display-->
    <!--[if IE]>
    <link href="includes/templates/future_zen/css_ie/style_ie.css" rel="stylesheet" type="text/css">
    <![endif]-->

    <div id="headerWrapper">

  3. #3
    Join Date
    Mar 2008
    Posts
    268
    Plugin Contributions
    0

    Default Re: Extra Nav Bar That I don't Want - Help Please

    Thank you so much, is that from my CSS Stylesheet?

  4. #4
    Join Date
    Mar 2008
    Posts
    268
    Plugin Contributions
    0

    Default Re: Extra Nav Bar That I don't Want - Help Please

    I've tried that and it just takes away the white gap which I want to keep, it's th actual blue bar above the nav bar that I want rid of. It's the one that seems to be linked to take you back to the homepage...



    It only seems to happen in IE8.

  5. #5
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Extra Nav Bar That I don't Want - Help Please

    Quote Originally Posted by DPM View Post
    I've tried that and it just takes away the white gap which I want to keep, it's th actual blue bar above the nav bar that I want rid of. It's the one that seems to be linked to take you back to the homepage...



    It only seems to happen in IE8.
    It could have something to do with the conditional call to an ie stylesheet.

    <br>
    <table width="100%" height="10px">
    <tr>
    <td>
    </td>
    </tr>
    </table>
    <!--bof-header logo and navigation display-->
    <!--[if IE]>
    <link href="includes/templates/future_zen/css_ie/style_ie.css" rel="stylesheet" type="text/css">
    <![endif]-->


    And something in that stylesheet is inserting the extra bar.

    I'd put that conditional statement in the head section of the page and not in the body of the main display.
    There is a contribution in the downloads section that does this. (I'm not sure of the name though)

  6. #6
    Join Date
    Mar 2008
    Posts
    268
    Plugin Contributions
    0

    Default Re: Extra Nav Bar That I don't Want - Help Please

    That statement is in the header, should I remove it?

    Is it a bad idea to have a different stylesheet for IE and FF?

    Does it make the site slower?

  7. #7
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Extra Nav Bar That I don't Want - Help Please

    Quote Originally Posted by DPM View Post
    That statement is in the header, should I remove it?

    Is it a bad idea to have a different stylesheet for IE and FF?

    Does it make the site slower?
    You should only need to use stylesheet.css (for FF)

    The stylesheet for IE should only contain information that affects the display in IE.

    You don't need 3 complete stylesheets.

    If I remember correctly you have stylesheet.css, stylesheet_moz.css and stylesheet_ie.css and they all contain the same information which causes conflicts.

  8. #8
    Join Date
    Mar 2008
    Posts
    268
    Plugin Contributions
    0

    Default Re: Extra Nav Bar That I don't Want - Help Please

    That's what I thought. Do I just delete the stylesheet_moz.css?

 

 

Similar Threads

  1. v137 Please Help w/ Customized nav bar!
    By capncrunch0 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Aug 2012, 09:57 PM
  2. I don't want to install a template, I just want my own header navigation bar...
    By xtina in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Aug 2009, 09:22 AM
  3. [HELP] Please tell me how to widen the top nav.bar
    By sinobeta in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Sep 2008, 11:01 AM
  4. help me with nav bar please
    By cla74 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 May 2008, 08:46 PM
  5. Please help me withe top nav bar
    By softget in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 11 Dec 2006, 01:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg