Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Back ground color in firefox not working?!

  • 28-07-2010 8:50pm
    #1
    Registered Users, Registered Users 2 Posts: 922 ✭✭✭


    EDIT: Found the problem, Firefox was reading the url part of the style sheet...

    www.ucd.ie/lnh

    When I visit the above site in IE7 and Chrome there is a white background where the main body of text is. This is what I want

    When I visit the above site in Firefox, the grey background also appears in the main body of text. This is what I don't want. Anyone know why this is?
    body
    {
    margin: 0;
    padding: 0;
    border: 0;
    text-align: center;
    background-color: silver;
    font: normal 12px Verdana, Arial, sans-serif;
    }
    
    #container 
    {
    width: 800px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    text-align: left;
    background: white url(/*watermark.jpg*/) no-repeat bottom left;
    color: #000;
    }
    

    The main body of text is within the container div. Any help?


Comments

  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    What's with the /* and */ on the background url ?
    background: white url(/*watermark.jpg*/) no-repeat bottom left;
    

    Shouldn't this just be
    background: white url(watermark.jpg) no-repeat bottom left;
    

    or
    background: white url('watermark.jpg') no-repeat bottom left;
    

    (although quotes not strictly required because there are no spaces in the filename).


  • Registered Users, Registered Users 2 Posts: 1,829 ✭✭✭lil_lisa


    Did you get this fixed? Seems fine to me.


  • Registered Users, Registered Users 2 Posts: 922 ✭✭✭IrishKnight


    Aye, tis fixed, I forgot I left the watermark.jpg so I just deleted the "url(/*watermark.jpg*/) no-repeat bottom left" part...


Advertisement