Forums

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

Home Forums CSS firefox margin problem

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #40916
    havana7
    Member

    Can someone solve this problem:

    http://www.pietrocarlopellegrini.it/nuovo/index.php?option=com_k2&view=item&id=2&Itemid=241&lang=it

    on this page i have a perfect menu alignment in IE and Chrome but in firefox 17 two voices (studio and progetti) are a little over.

    i have found ,for other three voices, that if i put
    in css of theyr joomla module
    /* main UL container */
    {
    margin-top: -2px;

    }

    it’s ok for Firefox but now not for other browsers. is there a way to solve that?

    #115106
    Paulie_D
    Member

    If it’s only a couple of pixels then I wouldn’t worry about it.

    It’s very unlikely that users would use two browsers to visit a site and even if they did they aren’t likely to spot the difference AND even if they did see a difference…they wouldn’t care.

    However, if it means that much, I suggest using normalize.css or a reset.

    #115109
    havana7
    Member

    thnx i tried with normalized.css but didn’t work.

    I simply need that if browser is forefox margin-top: 2px; has to be written inside the code down here

    #containerinstanceid; ?> dl.level .inner{
    display: block;
    padding: get(‘level’.$i.’padding’),’ ‘) ?>;
    margin: 0 6px;}

    ok solved with a php statement where it recognises the browser

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