Forums

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

Home Forums CSS div problem in Firefox

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45006
    MBM
    Participant

    I have a figure class to align and display images 3 images horizontally. Underneath I have a div to display PayPal button generated code then the images and code start again on a second row. Everything aligns correctly in chrome (desktop display) and IE10 but the PayPal button code does not display correctly in Firefox.

    CSS :

    div.ppal {
    float:left;
    margin-left:-200px;
    margin-top:300px;
    margin-bottom:40px;
    }

    Chrome :

    ![chrome](http://mbmitservices.co.uk/pcommerce/div_chrome.png)

    Firefox – button code does not display correctly :

    ![firefox](http://mbmitservices.co.uk/pcommerce/div_firefox.png)

    #136751
    MBM
    Participant

    Going to use top and left instead of margin from now on;

    div.ppal {
    left:-40px;
    top:20px;
    margin-bottom:40px;
    position:relative;
    }

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