Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2006
    Posts
    41
    Plugin Contributions
    0

    Default Header and main nav looking strange in FF

    http://www.judysgems.com/ZenCart/

    If you check it out on IE first...
    it's almost looking the way I want it to - except for the white line above the main nav. (Help with that appreciated!!) Also IE won't show 2 images that show up fine in FF.

    Then check it out in FF...
    I'm getting white blotches in the header (tried making the sales message the same height as the logo but it didn't help).
    Then the nav bar goes too far down covering part of the sideboxes. It doesn't do this in IE.

    I tried using the validator for the CSS but it tells me I need to validate the html first and when I try that, it tells me I need to have end tags for the line breaks.

    Please.................. somebody................

    Judy (whose going to have nightmares about css )

  2. #2
    Join Date
    Jun 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: Header and main nav looking strange in FF

    Okay, I found fixes for these problems. However, one of them (ie whitespace) sort of moved the problem... now I have white space to the left of my main nav instead of above it. This shows up in FF and IE. Tried fixing this the same way (negative margin) but it just doesn't want to go away


    Any ideas??



    (The FF issue was easy to fix - adjusted the heights for my logo and sales message)
    Last edited by stjude; 15 Jul 2006 at 01:51 AM. Reason: add: This shows up in FF and IE.

  3. #3
    Join Date
    Jan 2006
    Posts
    66
    Plugin Contributions
    0

    Idea or Suggestion Re: Header and main nav looking strange in FF

    One quick bit of advice. NEVER use IE for your development browser....WAY too many bugs. Use FF for development and then figure out what you have to fix in IE. You usually will have to add several hacks to get IE to work correctly.

    Also, go out to Firefox and download the developer toolbar. It has SO many functions that help during development. One feature I would recommend is under the "Information" button. Select Display Anchors and it will show the CSS right on the web page! Invaluable!

    Give this a try and see if it helps you figure out what's going on.

    Patti

  4. #4
    Join Date
    Jun 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: Header and main nav looking strange in FF

    Thanks Patti, but I only tried it out in IE since it was looking so weird in FF. I also have and use the web dev toolbar (to the best of my somewhat lacking ability). Without it I wouldn't have gotten this far I haven't touched this stuff for several years and the combination of css and php is killing me.

    My "current" problem is is the nav bars (main and supp) are leaving a white space to the left and cutting off the far right. This problem occurred after correcting the white space above the nav main.

    Will someone please help me before I pull out the remaining hair on my aching head.

    Judy

  5. #5
    Join Date
    Dec 2005
    Posts
    60
    Plugin Contributions
    0

    Default Re: Header and main nav looking strange in FF

    Replace this area in your stylesheet:

    Code:
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    	margin: 0;
            margin-top: -1.5em;
    	left margin: 0;
    	float: left;
    	background-color: #9999cc;
    	font-weight: bold;
    	color: #000000;
    	height: 1.5em;
    	width: 100%;
    	}

    I'm not sure left margin is correct syntax. (margin-left:)

  6. #6
    Join Date
    Dec 2005
    Posts
    60
    Plugin Contributions
    0

    Default Re: Header and main nav looking strange in FF

    I've found it is best to use specific margin statements (margin-top, margin-bottom, etc.) instead of a generic margin: xx.

    It gives you a little more control and will help eliminate suprise layout changes, unless you want the same size margins on all sides.

  7. #7
    Join Date
    Jun 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: Header and main nav looking strange in FF

    Thanks onisama, I'll give that a try as soon as I overcome a worse problem.
    Judy

  8. #8
    Join Date
    Jun 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: Header and main nav looking strange in FF

    Finally fixed that little bugger. Thanks so much. I'll be sure to use more specific margins in the future.

    Judy
    Now, if I could only fix my DB problem...............

 

 

Similar Threads

  1. Adding Link to Main Header Nav w/RedPassion Theme
    By zacharyrs in forum Addon Templates
    Replies: 1
    Last Post: 8 Feb 2009, 11:17 PM
  2. Detaching header from main page - how to get main section and header size differently
    By guls_guys in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Apr 2008, 06:07 PM
  3. Combine main nav and EZ pages
    By LizzyB in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 8 Mar 2008, 05:14 AM
  4. Very strange Firefox glitch after moving header nav below logo
    By gingertea in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Aug 2007, 04:54 AM
  5. lined up languages/currency on the main nav header
    By leeyu01 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 28 Sep 2006, 08:03 PM

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