Works in msn but not firefox

Discussion in 'HTML & Website Design' started by suze, Jan 15, 2008.

  1. #1
    Hi

    In msn I get a light colored margin frame all the way around, which is what I want. In Firefox the margins only show on the sides. If I had no margins at all I would think that I was completely out to lunch, but the sides do work.

    I've enclosed both my html and css.

    Does anyone have ideas?

    Thanks

    Suze


    <div id="allcontent">


    <div id="centre">

    <p class="c">
    <a href="articles/contact.html">CONTACT </a>
    </p>

    <p class="a">
    <a href="articles/about.html">ABOUT </a>
    </p>

    <p class="b">
    <a href="index.html">HOME </a>
    </p>


    <p class="bold">
    SJM Design <br>
    phone: 250.869.6763 <br>
    email: susan@sjmdesign.ca<br>
    </p>


    <p class="logo">
    <img src="images/logo.gif" alt="Logo" />
    </p>


    </div>

    </div>


    #allcontent {
    width: 800px;
    background-color: #e2e2e2;
    margin-top: 50px;
    margin-right: auto;
    margin-left: auto;
    }



    #centre {
    background-color: #c0c0c0;
    padding: 20px;
    margin: 20px;
    }
     
    suze, Jan 15, 2008 IP
  2. suze

    suze Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Instead of using margins to get my color change, I used a wide border, much simpler.
     
    suze, Jan 16, 2008 IP