Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS css problems

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #167630
    kevteden
    Participant

    Hello .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.

    #167646
    Paulie_D
    Member

    What was the parse error?

    #167647
    Paulie_D
    Member

    Never mind..it’s the space after :

    .menutext a: active
    {
    color:#0000FF;
    font-family:Arial, Helvetica, sans-serif;
    font-size:13px;
    font-weight:bold;
    }
    
    #167650
    kevteden
    Participant

    Thanks 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.

    #167651
    Paulie_D
    Member
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.