Page is broken in Firefox ... but ok in Chrome/IE ... any ideas??

Discussion in 'HTML & Website Design' started by tonyfloyd, Jan 7, 2013.

  1. #1
    Solved! View solution.
    tonyfloyd, Jan 7, 2013 IP
  2. #2
    Open style.css from wp-content/themes/austerity/style.css

    Go to line: 261

    Find:


    
    .header {
            float: left;
            padding-top: 30px;
            width: 100%;
    }
    
    Code (markup):

    Remove float:left and you will get:

    
    .header {
            padding-top: 30px;
            width: 100%;
    }
    
    Code (markup):
    Looks ok in Firefox for me after this.
     
    Hefaistos, Jan 7, 2013 IP
  3. tonyfloyd

    tonyfloyd Well-Known Member

    Messages:
    1,230
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    140
    #3
    thanks!!! ... that did it! ... do you think this will affect other aspects of site?? ... why was that causing an issue in firefox and not in chrome/IE?.....
     
    tonyfloyd, Jan 7, 2013 IP
  4. Hefaistos

    Hefaistos Active Member

    Messages:
    194
    Likes Received:
    14
    Best Answers:
    9
    Trophy Points:
    63
    Digital Goods:
    1
    #4
    This shouldn't cause any other problems .The float attribute was just floating header over content.
    Sometime different browsers handle the code in different ways.
    I don't know exactly why that code works in other browsers and breaks header layout in Firefox.
     
    Last edited: Jan 7, 2013
    Hefaistos, Jan 7, 2013 IP
  5. tonyfloyd

    tonyfloyd Well-Known Member

    Messages:
    1,230
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    140
    #5
    OK ... thanks again Hefaistos!
     
    tonyfloyd, Jan 7, 2013 IP