View Single Post
  #1   Spotlight this post!  
Unread 15-02-2011, 20:23
Red One's Avatar
Red One Red One is offline
missed the site deadline.
AKA: Pete Almanza
FRC #2950 (The Devastators)
Team Role: Webmaster
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Waco
Posts: 17
Red One is an unknown quantity at this point
Style code trouble!

I have two pages that I recently validated through W3C and had the validator clean up the errors for me. Those two pages were uploaded again to the main site but the background color became black instead of the original color of purple. I tried inserting just regular bg color code but that didn't work.

<style type="text/css">
/*<![CDATA[*/
body.c8 {background-color:#37007b}
p.c7 {margin-left:-325px;}
div.c6 {margin-top:-50px; margin-left:-50px;}
img.c5 {margin-top:-301px; margin-right:15px;}
img.c4 {margin-left:-324px;}
p.c3 {float: right; width: 50%; text-align: center;}
p.c2 {float: left; width: 50%; text-align: center;}
img.c1 {margin-right:330px}
/*]]>*/
</style>

This is the style type that contains the error. Note that the bg color is set to the custom value. This is the other style for the other page I happened to correct( I attempted copy and paste but had no luck either):

<style type="text/css">
/*<![CDATA[*/
body {background-color:#37007b}
p.c5 {margin-left:-325px;}
div.c4 {margin-top:-50px; margin-left:-50px;}
div.c3 {text-align: center}
p.c2 {font-size: 144%}
img.c1 {margin-right:330px}
/*]]>*/
</style>

If anyone has an idea of what could be wrong, I would greatly apprecitate the help!
__________________


Sometimes we crash and burn. It's better to do it in private.

-Dean Kamen