- This topic is empty.
-
AuthorPosts
-
April 4, 2014 at 3:52 pm #167630
kevteden
ParticipantHello .My name is Kevin and this my first time of being here.I am having problems with my css file.I am trying to validate it and is giving me a parse error.This is my css file.
@charset “utf-8”;
/* CSS Document */body
{
margin-bottom:0px;
margin-left:0px;
margin-right:0px;
margin-top:0px;
color:#FFFAFA ;
background:url(“images/footp.jpg”) fixed;}
table
{
background-color:#FFF;}
.menuback
{
background-color:#E73958;
color:#fff;
}.menutext
{
color:#FFF;
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:bold;
}.text
{
color:#0000FF;
font-family:Arial;
}
.menutext a:link
{
color:#FFF;
font-family:Arial, Helvetica, sans-serif;
font-size:13px;
font-weight:bold;
text-decoration:none;
}.menutext a:hover
{
color:#FFF;
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:bold;
text-decoration:underline;
}.menutext a:visited
{
color:#FFF;
font-family:Arial, Helvetica, sans-serif;
font-size:13px;
font-weight:bold;
}
.menutext a: active
{
color:#0000FF;
font-family:Arial, Helvetica, sans-serif;
font-size:13px;
font-weight:bold;
}.footer
{
color:#FFF;
font-family:Arial, Helvetica, sans-serif;
font-size:11px;
text-align:center;
background-color:#E73958;
}
.colorbck
{
background-color:#F8C8D1;
margin-left:15px;
}#text
{
border-radius:15px;
background-color:#F8C8D1;
height:500px;
width:450px;
margin-left:10px;
color:#0000FF;
line-height:25px;
font-family:Arial;
}#center{
width:900px;
margin:auto;}
Help me to solve the problem.April 4, 2014 at 10:09 pm #167646Paulie_D
MemberWhat was the parse error?
April 4, 2014 at 10:13 pm #167647Paulie_D
MemberNever mind..it’s the space after
:
.menutext a: active { color:#0000FF; font-family:Arial, Helvetica, sans-serif; font-size:13px; font-weight:bold; }
April 4, 2014 at 10:42 pm #167650kevteden
ParticipantThanks very much Paulie_D for the assistance.My css file is good to go but can I also chip in this.I am also having a problem tying to validate one of my html pages.This is the information I get when test it.
Warning Byte-Order Mark found in UTF-8 File.What is that and can you please help me to fix it.April 4, 2014 at 11:21 pm #167651 -
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.