SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: Having a BG problem
-
Jul 4, 2007, 18:40 #1
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;}
}
-
Jul 4, 2007, 19:00 #2
- Join Date
- Nov 2005
- Location
- Trinidad
- Posts
- 3,746
- Mentioned
- 45 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.
-
Jul 4, 2007, 19:08 #3
- 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
-
Jul 4, 2007, 21:13 #4
- 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
-
Jul 5, 2007, 01:32 #5
- Join Date
- Aug 2004
- Location
- Manchester UK
- Posts
- 13,807
- Mentioned
- 158 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