Forums

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

Home Forums CSS Cross Browser Alignment issues using floats

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #39502
    hrechkaness
    Member

    I am having alignment issues between firefox and all other browsers(or vise versa). The alignment seems to be working as intended on my header but then when I check other browsers and the icons seem to be hanging down. I can go into the css and add margin-top: -70px; to the code but then the alignment will be funny in firefox. Is there something wrong with my code? I ask because I’ve been using the same principles with floats all across the site and am only having this issue with the header. Here is the website template: http://www.whinerbros.com (Please ignore text below, I didn’t feel like using lorem ipsum)

    #108416
    dfogge
    Participant

    looks like you have a case of “div-itis”

    try something more like




    youtubeicon

    twittericon

    vimeoicon

    newgroundsicon


    #108417
    hrechkaness
    Member

    Sure I can try that, but is there any way to specify the spacing between each icon? Or would they all be butted up together?

    #108418
    dfogge
    Participant

    yep, try something like:

    #icons a {
    padding-left: 9px;
    }
    #108420
    hrechkaness
    Member

    Thanks for your help, I will give that a try

    #108431
    hrechkaness
    Member

    I can’t thank you enough for the tips. Worked right away and it was such a simple fix. 5 Stars

    #108451
    dfogge
    Participant

    no trouble at all. glad i could help :)

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