body background color is not showing mac pc

Discussion in 'PHP' started by arabindadashkulu, Mar 23, 2010.

  1. #1
    i have written css for body background color but body background is not showing (it's showing white color)

    i have writen some lines in css files
    1-body{
    background:#FFFFCC !important ;
    }
    2-.[mac].[gecko].body{ background:#FFFFcc !important ; }
    3-body{
    background-color:#FFFFCC !important ;
    }
    4-body{
    background-color:#FFFFCC ;
    }
    5-body{
    background:#FFFFCC ;
    }
    i have also writen in body of html files

    <body style="background:#FF0000">

    <body style="background-color:#FF0000 ;" >

    i have tried all these but background color is showing as white

    so any body can help me out please
     
    arabindadashkulu, Mar 23, 2010 IP
  2. superdav42

    superdav42 Active Member

    Messages:
    125
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #2
    What browser and version?

    It is also possible that the background is being overridden by some other element. A large div that has a white background for example.
     
    superdav42, Mar 23, 2010 IP
  3. arabindadashkulu

    arabindadashkulu Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    mozila firefox
     
    arabindadashkulu, Mar 23, 2010 IP
  4. arabindadashkulu

    arabindadashkulu Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    i am nopt sure about the vertion but there is no bigger div
     
    arabindadashkulu, Mar 23, 2010 IP