Question:

What's the matter with my CSS coding? =/?

by  |  earlier

0 LIKES UnLike

Okay, Well I'm using the following CSS code for my website's stylesheet...everything works except the CSS for the input text area code...=( Can you take a look at my code and spot any errors there?

<style type="text/css">

A:link

{ text-decoration: none; color:#947cff; }

A:visited

{ text-decoration: line-through; color:#947cff; }

A:active

{ text-decoration: underline; color:#ffffff; }

A:hover

{ text-decoration: none; color:#94ffe6; }

background-color: #none;

cursor: crosshair;

}

h1 {font-family: Verdana;

color: 52487c;}

p {font-family: verdana;

color: bab7c9;}

body

{ background: #141313;

background-image: url(http://i289.photobucket.com/albums/ll206/Loved-By-Gaara/apple.png);

background-repeat: no-repeat;

background-position: bottom center;

background-attachment: fixed;

font-family: Verdana;

color: #bab7c9 ;

font-size: 12;

input, textarea

{ background: #b7c9b9;

font-family: arial;

color: #e3e3e3;

border-style: dotted;

border-color: #ffffff;

border-width: 2px; }

</style>

 Tags:

   Report

2 ANSWERS


  1. Here is your CSS code, corrected for you:

    &lt;style type=&quot;text/css&quot;&gt;

    A:link {

    text-decoration: none;

    color:#947cff;

    }

    A:visited {

    text-decoration: line-through;

    color:#947cff;

    }

    A:active {

    text-decoration: underline;

    color:#ffffff;

    }

    A:hover {

    text-decoration: none;

    color:#94ffe6;

    }

    h1 {

    font-family: Verdana;

    color: 52487c;

    }

    p {

    font-family: verdana;

    color: bab7c9;

    }

    body {

    background: #141313;

    background-image: url(http://i289.photobucket.com/albums/ll206...

    background-repeat: no-repeat;

    background-position: bottom center;

    background-attachment: fixed;

    font-family: Verdana;

    color: #bab7c9 ;

    font-size: 12;

    }

    input, textarea {

    background: #b7c9b9;

    font-family: arial;

    color: #e3e3e3;

    border-style: dotted;

    border-color: #ffffff;

    border-width: 2px;

    }

    &lt;/style&gt;


  2. There is no way to tell why it isn&#039;t working if we don&#039;t know what the HTML source is and what effect you want.

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.