Forums

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

Home Forums CSS consistant / manage between FF and IE

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #31616
    realife
    Member

    Hello All, I hope you can help me:
    I’ve created a simple website working with CSS and it seems to work differently between FF and IE,
    So i remember i saw once you can control them separately by using before the CSS command * or /

    I’m trying to do a simple padding for example:


    .padding-R {
    padding-right:80px;

    }

    and i would like it to work only in IE, because in FF it’s working fine.

    #60615
    realife
    Member

    ohhh, i think i got it, it should be like that in IE7


    *.padding-L {
    background-color: #000000;

    }

    and for IE8 should be like that:

    *.padding-L {
    background-color: #000000/;

    }
    #60318
    realife
    Member

    Your advice didn’t work,
    This example, i checked it and that was my sulotion,
    Also, it’s just an example to change the background,
    what i find out is that u need to add this- / before closing the css ;
    so if it was padding only for IE (and not FF for example) it was like that,

     *.padding-L {
    padding-left: 30px/;

    }

    What do you think, did i do something wrong?

    #60312
    realife
    Member

    Btw, i really like this forum
    You answering quickly and if feels like a good community

    #60313
    jamygolden
    Member

    Add this to your HTML head

    #58767
    realife
    Member

    I don’t know, i guess nothing is working for me.
    Can you please give me an example of simple html file with css include
    for making padding (for example padding-left:40px; ) and make it work in
    Internet Explorer and also Firefox?

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