Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Problem with firefox very easy help

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28820
    ylex1
    Participant

    HI im new this is my first post hope you can help me

    I have a problem, firefox shows a gap within my navigation and I dont know why (works in Chrome and Safari)
    here’s the code



    and the css


    #squares_f ul{
    margin-top: 13px;
    width: 900px;
    height: 221px;
    float:left;
    }

    #squares_f ul a.a{
    float: left;
    width: 300px;
    height: 221px;
    }

    The gap shows in the beginning of the navigation elements with 300px of width, when I turn on Firebug it tells me that the gap is the

    element but it cant be because there’s nothing there, the element

    is right on the right side of the gap.
    It’s like it separates the

    squares_f ul a.a

    from it’s content which is the

  • element

    #74912
    jamygolden
    Member

    Welcome :)

    Your html is invalid and you don’t seem to be targeting all of the list items.

    Have a look at this tutorial, hopefully it can help you.

    #74913
    ylex1
    Participant

    jeje…thanks man

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.