SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot WebFreakz's Avatar
    Join Date
    Dec 2006
    Posts
    126
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Having a BG problem

    I am having a problem with my CSS Style sheet body bg color working with FireFox browser. I know this is not the place to post this thread but I couldn't find a CSS category on here. I am hoping this will be a quick fix. My BG color on Firefox comes out white on ie the right color specified in my css style sheet.

    Here is my css Code.:
    body
    {
    background-color: #10151B;
    color: #FFFFFF;
    font: 10px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
    font-weight: bold;
    margin: 30px 0px 0px 0px;
    scrollbar-arrow-color: #FFFFFF;
    scrollbar-3dlight-color: #000000;
    scrollbar-highlight-color: #3D81AE;
    scrollbar-face-color: #073D6B;
    scrollbar-shadow-color: #FFFFFF;
    scrollbar-darkshadow-color: #182541;
    scrollbar-track-color: #0C253A;}
    }

  2. #2
    Keep Moving Forward gold trophysilver trophybronze trophy
    Shaun(OfTheDead)'s Avatar
    Join Date
    Nov 2005
    Location
    Trinidad
    Posts
    3,725
    Mentioned
    43 Post(s)
    Tagged
    0 Thread(s)
    You have no errors up there, so something else is throwing this off.

    Okay, first thing's first... Validate your HTML. If this doesn't solve your problem then post the rest of your style-sheet and also your HTML into this thread.

  3. #3
    SitePoint Evangelist optl's Avatar
    Join Date
    Oct 2004
    Location
    Washington DC
    Posts
    415
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Probably it is set manually. Look at the <body> tag in your HTML; it could have a style or bgcolor set. Or maybe in your css file you have another line setting body that you forgot about.
    For the phrase "Bethesda home architect", my clients
    websites occupy 6 of the first 8 results
    on the 1st page of Google. My Secret SEO Strategy Revealed

  4. #4
    rajug.replace('Raju Gautam'); bronze trophy Raju Gautam's Avatar
    Join Date
    Oct 2006
    Location
    Kathmandu, Nepal
    Posts
    4,013
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes me too when i tested the code in FF 2.0 and IE 7 it is working me fine with background color and font color and everything. There is an extra closing curly brash in your CSS, i don't know if that matters but for your information.
    Code:
    body{
    	background-color: #10151B;
    	color: #FFFFFF;
    	font: 10px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
    	font-weight: bold;
    	margin: 30px 0px 0px 0px;
    	scrollbar-arrow-color: #FFFFFF;
    	scrollbar-3dlight-color: #000000;
    	scrollbar-highlight-color: #3D81AE;
    	scrollbar-face-color: #073D6B;
    	scrollbar-shadow-color: #FFFFFF;
    	scrollbar-darkshadow-color: #182541;
    	scrollbar-track-color: #0C253A;
    }
    Mistakes are proof that you are trying.....
    ------------------------------------------------------------------------
    PSD to HTML - SlicingArt.com | Personal Blog | ZCE - PHP 5

  5. #5
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,788
    Mentioned
    151 Post(s)
    Tagged
    3 Thread(s)
    btw, CSS Forum
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •