Take a look at the CSS code and my explanation below and tell me if this will result in a Google penalty: body {background-color: #000000;} div.contentbox {color: #000000; background-color: #FFFFFF;} Code (markup): This is a simplified version of my CSS on many websites that are not ranking well. Basically, the div.contentbox is like a white box with black text in it, but the body background is also black. I also didn't put any text color in the body CSS code, meaning the default body text is also black. I originally thought everything was safe because my black text was appearing on a white background, which is inside a table. Now I'm thinking Google might automatically see the body text and background color both being black and getting an automatic penalty. I'm really hoping this is the case because I've done so much work writing content, redesigning the page and everything to no increased rankings (pretty much no visitors at all). This CSS part of the design is the only thing I haven't changed. I'm hoping someone with experience with this problem can give me a clear answer. Thanks Best Regards
That's how most sites would be styled, I imagine – I wouldn't worry about it. Change them a little if you are concerned – make your background #000011 or something.
No. I don't think that should cause any problems in Google Search. Its pretty basic, body background is black, div.content background is white, and the div.content color is black. In my personal opinion i don't think it should cause problems with the search engines. Its probably just a new site, get some links.
usually Google checks if a text is hidden by making it same color as background, according to the docs. If you would put the text inside a block element, with a different background color that probably would solve it. Does your design permit this? Good thing here is you are not doing anything illegal. If they put a penalty on you you have stuffs to prove you didnt do anything wrong. So I would not worry much on this.
Its pretty basic as long as you not using both black background and black text or white background and white text which may be intended to cheat the search engines by adding hidden text readable by search engines but not by human visitors.
yes you are right this is the reason that you have same background color with text...........................google doesn't crawl your div tags to index........................
Can you clarify this? Google doesn't crawl div tags the same way as it does with table tags? This is something I am not fully understanding. Does Google just ignore the background color of a div tag and crawls my black text with the black body background by default?
A color of a text that is the same with the background color is considered as black hat. So be careful.
i think you need a web developer expert to help you with the css codes. i have also heard a CSS validator software maybe this will help you too. goodluck mate.
I dont know much about CSS. But I can suggest something. If you can remove the "background-color" code from this: body {background-color: #000000;} just add <body bgcolor> tag in html and put bgcolor="black" instead of #FFFFFF