|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
hi, I made this website called www.illbeatz.com with dreamweaver 8 and i was trying S.E.O. my index page in this program called web ceo. the problem is that web ceo tells me that my web page has the same text color as my background. But my background is black and my text is white in my page properties. so what can i do to fix this problem? I heard google and Yahoo will kick me out if they find out about this. but im not hidding any text thanks everyone.
|
|
|||
|
Quote:
<style type="text/css"> <!-- body { background-color: #000000; } .style1 {color: #333333} #Layer1 { position:absolute; left:164px; top:179px; width:476px; height:169px; z-index:1; } #Layer2 { position:absolute; left:341px; top:103px; width:318px; height:16px; z-index:2; } #Layer3 { position:absolute; left:200px; top:1000px; width:473px; height:89px; z-index:3; } #Layer4 { position:absolute; left:176px; top:652px; width:93px; height:17px; z-index:4; } #Layer5 { position:absolute; left:154px; top:1139px; width:740px; height:76px; z-index:5; } .style23 {color: #FFFFFF} .style62 {color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; } .style63 {color: #FFFFFF; font-family: Geneva, Arial, Helvetica, sans-serif; } a:link { color: #00FF00; text-decoration: none; } .style68 {color: #FF0000} .style86 {color: #FFFF00; font-weight: bold; font-size: 30px; } .style88 {font-size: 14px} a:visited { color: #00FF00; text-decoration: none; } body,td,th { color: #FFFFFF; } a:hover { text-decoration: underline; } a:active { text-decoration: none; } .style66 {font-family: Verdana, Arial, Helvetica, sans-serif; color: #FFFFFF;} .style118 {font-family: Arial, Helvetica, sans-serif} .style120 {color: #FF0000; font-weight: bold;} .style121 {color: #FFFFFF} .style122 {font-size: 10px} .style123 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; } .style126 {color: #666666} .style127 {color: #ECE9D8} .style131 {font-size: 12px} .style132 {font-weight: bold} .style134 {color: #666666; font-weight: bold; } .style136 {color: #FFFFFF; font-weight: bold; } --> </style> |
|
|||
|
It is just one programs opinion :) but I too would be concerned that the SE's would come to the same (incorrect) opinion.
What does the program say if you make the default text color white by adding it to the body: Code:
body {
background-color: #000000;
color: #FFFFFF;
}
William. |
|
|||
|
He already has it in the body. What might be happening is the color at the time background is set is actually black (the system color). Try declaring the foreground before the background in the body:
Code:
body{color:white;background:black}
|
|
|||
|
Quote:
ya , i have tried that and it still says the same thing |
|
|||
|
Perhaps the program isn't smart enough to pick out the CSS?
Try specifying it in your body tag: Code:
<body bgcolor="#000000" text="#FFFFFF">
__________________
X-Cart Mods, X-Cart Addons, e-Commerce - WebsiteCM |
|
||||
|
body {color:#ffffff; background-color:#000000;} is the way to do it.
I would not put it into the <body> tag as that is just not proper coding.
__________________
Ron Boyd website consulting (design, optimization, marketing) :: Follow Me: @orionsweb |
|
|||
|
bgcolor is not an attribute of body in xhtml. This is what I believe Orion is pointing out.
The key is to declare the FG before the BG in your CSS. Stating the colors in html, body{} is a good place to start. Safe Practice: always specify both FG and BG together in your rules, for all instances, even if FG or BG are inherited. It won't make it any more valid, but it will keep all the color warnings at bay when you validate your CSS. The reasoning has been explained elsewhere in the forum, but the main reason is to ensure that the user sees the colors you specify, and not their default system colors. |
|
|||
|
If you use the W3C CSS Validation Service it always returns a warning if you you specify color without specifying background-color in any style definition.
Don't know of this has any bearing. |
|
|||
|
Software is just a tool and in this case it does not seem to be working. If you know you aren't hiding text on your site you should be safe. I'm only a bit of a search geek, but my understanding is you would not get banned by a bot. It is possible that a bot from a search engine would flag your site to be reviewed by a person. I think you are safe.
__________________
Marc Grobman quixo web + graphic design | natural soap and eco friendly gifts | top 10 toddler toys |
|
|||
|
Quote:
__________________
X-Cart Mods, X-Cart Addons, e-Commerce - WebsiteCM |
|
|||
|
Maybe the problem simply relates to this line, found at the top of your page:
Quote:
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |