Results 1 to 6 of 6

Thread: Firefox CSS Problems

  1. #1
    Join Date
    Mar 2010
    Location
    Florida
    Posts
    512
    Thanks
    9
    Thanked 61 Times in 59 Posts

    Default Firefox CSS Problems

    Ironically, I am having a problem in firefox alone (excluding opera). Anyways, when you load the home page: http://cgs.thebcelements.com/ you will see that the top nav bar has a space in before it. I do not know why this is happening because once you click on one of the other links there is no space. They have the same stylesheets and scripts (just not content). Works perfect if Chrome and IEL (Latest).

    Any help would be great.
    DW.

    I found the problem in css:
    #header_data { margin-top:5px; border-top:1px solid black; position:relative;}
    However, i am not sure why it is moving the other bar down when they aren't together.
    Last edited by Deadweight; 09-06-2014 at 10:49 PM.
    -DW [Deadweight]
    Resolving your thread: First Post: => EDIT => Lower right: => GO ADVANCED => Top Advance Editor drop down: => PREFIX:Resolved

  2. #2
    Join Date
    Jan 2011
    Location
    Southeastern CT
    Posts
    612
    Thanks
    46
    Thanked 32 Times in 32 Posts

    Default

    Sorry to hear of this issue.I am using firefox 32.0 and I see no space above any links on any page I went to
    Thanks,

    Bud

  3. #3
    Join Date
    Mar 2010
    Location
    Florida
    Posts
    512
    Thanks
    9
    Thanked 61 Times in 59 Posts

    Default

    Weird because look here:
    Click image for larger version. 

Name:	Shot153.jpg 
Views:	145 
Size:	19.9 KB 
ID:	5516
    Picture uploaded weird:
    http://cgs.thebcelements.com/images/Shot153.png
    Last edited by Deadweight; 09-06-2014 at 12:09 AM.
    -DW [Deadweight]
    Resolving your thread: First Post: => EDIT => Lower right: => GO ADVANCED => Top Advance Editor drop down: => PREFIX:Resolved

  4. #4
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Try
    Code:
    .outer_body { margin-top:0 !important; }
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Hmm, looks like something else is going on. I'd try instead:

    Code:
    #nav_main {min-height: 33px;}
    But I think that there's some cascading positioning issue that's not immediately clear. If that could be found and corrected, that would be better. The min-height set to it's computed height seems to fix it though.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Mar 2010
    Location
    Florida
    Posts
    512
    Thanks
    9
    Thanked 61 Times in 59 Posts

    Default

    Thanks for all your help; however, i kinda played around with it after Bev's suggestion and did something like this:
    Code:
    #nav_main { background-color:#000; position:relative; top:0;}
    #header_data { margin-top:0px; border-top:1px solid black; position:relative; top:5px;}
    .outer_body { width:80%; border:1px solid black; border-top:none; margin-top:5px;}
    -DW [Deadweight]
    Resolving your thread: First Post: => EDIT => Lower right: => GO ADVANCED => Top Advance Editor drop down: => PREFIX:Resolved

Similar Threads

  1. firefox and IE6 and IE7 problems
    By olsen in forum CSS
    Replies: 0
    Last Post: 08-26-2008, 03:50 AM
  2. css problems IE V Firefox
    By swissjohn in forum CSS
    Replies: 3
    Last Post: 06-04-2008, 02:47 PM
  3. CSS problems in firefox
    By rohis in forum CSS
    Replies: 1
    Last Post: 04-08-2008, 12:01 AM
  4. Replies: 3
    Last Post: 12-22-2007, 09:09 PM
  5. Firefox Flash problems
    By laurenz in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 11-16-2005, 11:03 AM

Bookmarks

Posting Permissions

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